Hetzner - DokuWiki

Cloud ISO Installation Gateway/en
K
K (16.04 and newer)
Zeile 27: Zeile 27:
 
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 ====
  

Version vom 27. November 2018, 07:40 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

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
    netmask 64
    gateway fe80::1


© 2020. Hetzner Online GmbH. Alle Rechte vorbehalten.