Cloud-ISO installation - configure gateway

Last change on 2021-03-12 • Created on 2020-07-02

Cloud-ISO installation - configure gateway

Doing a manual installation via ISO will cause some trouble with the automatic configuration via DHCP. It is not possible to do a manual configuration via an installer.

Installation

If you're using Ubuntu 16.04 (or newer) or Debian 9 (or newer), the interface name is ens3.

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

$ ip address
$ ip route add 172.31.1.1 dev ens3
$ 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 and newer

Ubuntu 18.04 uses 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:
         - <your IPv6 address>::1/64
       dhcp4: true
       gateway6: fe80::1
Ubuntu 16.04 / Debian 9 or newer

Edit /etc/network/interfaces

auto ens3
iface ens3 inet dhcp
iface ens3 inet6 static
    address {{ IPv6 Adresse des Servers }}
    netmask 64
    gateway fe80::1
Table of Contents