Multiple ipv6 in eth0
I'm using Ubuntu 18.04
When I run ip -6 address show eth0 I get 2 different ipv6 addresses
3: eth0: <broadcast,multicast,up,lower_up> mtu 1500 state UP qlen 1000
inet6 xxxx:xxxx::xxxx:92ff:xxxx:xxxx/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 2592000sec preferred_lft 604800sec
inet6 xxxx:xxxx::xxxx:91ff:xxxx:xxxx/64 scope global
valid_lft forever preferred_lft forever
inet6 xxxx::xxxx:92ff:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever</broadcast,multicast,up,lower_up>
xxxx:xxxx::xxxx:91ff:xxxx:xxxx is the ipv6 my linode dashboard specify.
When I turn on network helper it only assigns this ip xxxx:xxxx::xxxx:92ff:xxxx:xxxx
following this guide static-ip-configuration I was able to add xxxx:xxxx::xxxx:91ff:xxxx:xxxx but the xxxx:xxxx::xxxx:92ff:xxxx:xxx ip is not removed.
How can check from which setting this ip xxxx:xxxx::xxxx:92ff:xxxx:xxxx is assigned?
3 Replies
Hi @kusal! It's possible that the additional IP address is being assigned via SLAAC/DHCP6. If you're using netplan you can set dhcp6: no
to prevent it from adding in any IPv6 addresses you don't set up manually.
That being said it's a bit unusual that your Linode would get assigned an IP address via SLAAC/DHCP6 that's not showing up in it's Networking tab in the Cloud Manager. If you're not sure where the other IP address is coming from, feel free to open a ticket and myself or another member of the Support team will be happy to take a look on our end.
Hi Thank you for the reply.
I opened a ticket (14921952) please look into this if you can.
I have set dhcp6: no in the 01-eth0.yaml as specified in the guide.
Hello @kusal,
Take a look at your following entry, and you will note that this is a temporary IPV6 address, assigned via private IPV6 address extensions.
inet6 xxxx:xxxx::xxxx:92ff:xxxx:xxxx/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 2592000sec preferred_lft 604800sec
This can be determined by the mngtmpaddr in the scope section of this IP's information.
Here is a question that may help you to disable temporary private IPV6 addresses. Hopefully that is helpful for you, good luck!
Blake