Hetzner - DokuWiki

Cloud ISO Installation Gateway/en
K (update translation)
(Ubuntu/Debian)
 
(5 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 7: Zeile 7:
 
== Installation ==
 
== Installation ==
  
If you use an OS newer like Ubuntu 16:04 or Debian 9, then the interface name is called ens3.
+
If Ubuntu 16.04 (or newer) or Debian 9 is used, the interface name is ens3. If Ubuntu 14.04 or Debian 8 is used, the interface name is eth0.
  
 
To switch in a console, you'll have to press '''ALT''' + '''Right arrow'''.
 
To switch in a console, you'll have to press '''ALT''' + '''Right arrow'''.
<pre>$ ip a
+
<pre>$ ip address
$ ip r ad 172.31.1.1 dev ens3 # eth0 on Debian 8 or Ubuntu 14.04
+
$ ip route add 172.31.1.1 dev ens3 # eth0 on Debian 8 or Ubuntu 14.04
$ ip r ad default via 172.31.1.1
+
$ ip route add default via 172.31.1.1
 
</pre>
 
</pre>
  
Zeile 20: Zeile 20:
  
 
=== Ubuntu/Debian ===
 
=== Ubuntu/Debian ===
 +
====Ubuntu 18.04====
 +
Ubuntu 18.04 use netplan which is different to the older configurations of Ubuntu.
 +
Edit the .yml file in the folder /etc/netplan/ :
 +
 +
network:
 +
  version: 2
 +
  renderer: networkd
 +
  ethernets:
 +
    ens3:
 +
      addresses:
 +
        - <IPv6-Adresse>::1/64
 +
      dhcp4: true
 +
      gateway6: fe80::1
  
 
==== 16.04 and newer ====
 
==== 16.04 and newer ====
Zeile 27: Zeile 40:
 
iface ens3 inet dhcp
 
iface ens3 inet dhcp
 
iface ens3 inet6 static
 
iface ens3 inet6 static
     address
+
     address {{ your IPv6 address }}
 
     netmask 64
 
     netmask 64
 
     gateway fe80::1
 
     gateway fe80::1
 
</pre>
 
</pre>
 +
 
==== 14.04 ====
 
==== 14.04 ====
  
Zeile 37: Zeile 51:
 
iface eth0 inet dhcp
 
iface eth0 inet dhcp
 
iface eth0 inet6 static
 
iface eth0 inet6 static
     address
+
     address {{ your IPv6 address }}
 
     netmask 64
 
     netmask 64
 
     gateway fe80::1
 
     gateway fe80::1

Aktuelle Version vom 3. Dezember 2018, 08:49 Uhr

Inhaltsverzeichnis

Cloud-ISO installation - configure gateway

The manual installation via ISO, will make some trouble with the automatic configuration via DHCP. A manual configuration via installer is not possible.

Installation

If Ubuntu 16.04 (or newer) or Debian 9 is used, the interface name is ens3. If Ubuntu 14.04 or Debian 8 is used, the interface name is eth0.

To switch in a console, you'll have to press ALT + Right arrow.

$ ip address
$ ip route add 172.31.1.1 dev ens3 # eth0 on Debian 8 or Ubuntu 14.04
$ ip route add default via 172.31.1.1

When the commands are executed, you can switch back to the installation with ALT + Left arrow.

After the Installation

Ubuntu/Debian

Ubuntu 18.04

Ubuntu 18.04 use netplan which is different to the older configurations of Ubuntu. Edit the .yml file in the folder /etc/netplan/ :

network:
  version: 2
  renderer: networkd
  ethernets:
    ens3:
      addresses:
        - <IPv6-Adresse>::1/64
      dhcp4: true
      gateway6: fe80::1

16.04 and newer

edit of /etc/network/interfaces

auto ens3
iface ens3 inet dhcp
iface ens3 inet6 static
    address {{ your IPv6 address }}
    netmask 64
    gateway fe80::1

14.04

edit of /etc/network/interfaces

auto eth0
iface eth0 inet dhcp
iface eth0 inet6 static
    address {{ your IPv6 address }}
    netmask 64
    gateway fe80::1


© 2020. Hetzner Online GmbH. Alle Rechte vorbehalten.