Hetzner - DokuWiki

Cloud ISO Installation Gateway/en

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


© 2019. Hetzner Online GmbH. Alle Rechte vorbehalten.