DHCPv6 client configuration

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
vseta
Level 1
Level 1
Posts: 1
Joined: Fri Nov 03, 2017 8:58 am

DHCPv6 client configuration

Postby vseta » Wed Nov 08, 2017 7:43 am

Hi all,

I looked into this for quite some time, found a couple of advices but they either didn't work or they suggested the necessity to install extra packages (which I don't believe is true).
So here I go: how do I make use of my computer's DUID? :D

My computer is a part of network that uses DHCP. The DHCPv6 uses DUID as unique identificator but my computer gets different IPv6 address than what it should (v4 works without problems).
First thing I set is in Network manager under the tab IPv6 field "Addresses" to "Automatic, DHCP only". However, often I got an IPv6 address that the DHCP server didn't issue. When I received address from the dynamic pool of DHCP, we got the DUID of my computer from the server and assigned it a "static" IPv6 address. Unfortunately, almost always I still get a "mysterious" generic IPv6 (starting fe80::) that obviously doesn't come from DHCP. Eventually I found a hint of DUID located at /var/lib/NetworkManager/dhclient6-MANYCHARS.lease, where the first line says default-duid "\000\004z?...";. When translated to hexadecimal, it corresponds to what the DHCP server is set to use. The DHCP client is configured correctly and other computers do work, whether Windows, Mac or other Linux distros. Any ideas why it doesn't get the IPv6 from DHCP server?

PS: I would like to suggest adding the ability to get DUID from simple command like ifconfig and display it in the Network Manager too.


Last bumped by vseta on Wed Nov 08, 2017 7:43 am.

Return to “Newbie Questions”