Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Ubuntu doesn't pick up ipv6 config
So I’m trying to setup ipv6 for my droplet following this instruction.
I’ve enabled ipv6 in DO panel after the creation and added following lines to the
# The primary network interface auto eth0 iface eth0 inet static address Y.Y.Y.Y netmask 255.255.224.0 gateway Y.Y.Y.1 up ip addr add 10.18.0.5/16 dev eth0 dns-nameservers 126.96.36.199 188.8.131.52 iface eth0 inet6 static address 2a03:XXX:XXX:XXX:XXX:XXX:2001 netmask 64 gateway 2a03:XXX:XXX:XXX:XXX:1 autoconf 0 dns-nameservers 2001:4860:4860::8844 2001:4860:4860::8888 184.108.40.206
But after reboot system picks up only ipv4 settings and link-local ipv6 address
root@XXX:~# ip -6 a show dev eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000 inet6 fe80::8080:e2ff:fedb:ae11/64 scope link valid_lft forever preferred_lft forever
At the same time, I can set up ipv6 manually using, say,
Can you please point what do I missing?