Hallo,
mein Ubuntu 18.04 Server (KVM) bekommt beim (Neu)start seine IPv6 Adresse nicht. Habe alles statisch in die /etc/network/interfaces eingetragen. Offenbar nutzt die neue Ubuntu Version wohl cloud-init zum Konfigurieren des Netzwerks. Also habe ich auch dort meine Einträge vorgenommen. Trotzdem erhält der Server seine Adresse nicht. Manuelles Hinzufügen mit ip -6 addr add ... funktioniert immerhin bis zum nächsten Neustart.
Im Control Panel ist die IPv6 Adresse natürlich auch eingetragen.
Hier meine Konfigurationen:
# ip a
Code
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 185.183.158.xxx/22 brd 185.183.159.255 scope global dynamic ens3
valid_lft 86338sec preferred_lft 86338sec
inet6 fe80::141a:6cff:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever
Display More
# /etc/network/interfaces
Code
auto lo
iface lo inet loopback
auto ens3
iface ens3 inet4 static
address 185.183.158.xxx
netmask 255.255.252.0
broadcast 185.183.158.255
gateway 185.183.156.1
dns-nameservers 46.38.225.230 46.38.252.230
iface ens3 inet6 static
address 2a03:4000:1d:xxxx::1
netmask 64
gateway fe80::1
Display More
# /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg
# /etc/cloud/cloud.cfg.d/49-custom-networking.cfg
# /var/log/cloud-init-output.log
Code
ci-info: +++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
ci-info: | ens3 | True | 185.183.158.xxx | 255.255.252.0 | global | xx:xx:xx:xx:xx:xx |
ci-info: | ens3 | True | fe80::141a:6cff:xxxx:xxxx/64 | . | link | xx:xx:xx:xx:xx:xx |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
ci-info: | lo | True | ::1/128 | . | host | . |
ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
ci-info: ++++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++++
ci-info: +-------+---------------+---------------+-----------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+---------------+---------------+-----------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 185.183.156.1 | 0.0.0.0 | ens3 | UG |
ci-info: | 1 | 185.183.156.0 | 0.0.0.0 | 255.255.252.0 | ens3 | U |
ci-info: | 2 | 185.183.156.1 | 0.0.0.0 | 255.255.255.255 | ens3 | UH |
ci-info: +-------+---------------+---------------+-----------------+-----------+-------+
ci-info: ++++++++++++++++++++++++++++Route IPv6 info++++++++++++++++++++++++++++
ci-info: +-------+-------------+---------------------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Interface | Flags |
ci-info: +-------+-------------+---------------------------+-----------+-------+
ci-info: | 1 | fe80::/64 | :: | ens3 | U |
ci-info: | 2 | ::/0 | fe80::120e:7e00:xxxx:xxxx | ens3 | UG |
ci-info: | 4 | local | :: | ens3 | U |
ci-info: | 5 | ff00::/8 | :: | ens3 | U |
ci-info: +-------+-------------+---------------------------+-----------+-------+
Display More