Where to find WAN interface's DUID ?
-
I am looking for the DUID for my WAN interface. I expected this to be easy to find,but unfortunately haven't found it so far in the pfSense web interface.
My ISP asks me this to assign a fixed IPv6 address to my router.
So where is it ?
Thanks.
-
/var/db/dhcp6c_duid ?
-
Thanks for the pointer.
That file does exist. However it only contains some unreadable characters, while I was expecting something in the form xx:yy:zz:…. from other examples in the various other topics I read on this forum.
Is there a way to convert this value ? Or to generate one in readable format ?
-
HEX mode. With Vi ?
-
Oh. That should have been fairly obvious :-[
I didn't find a hex mode in vi, but hexdump is installed on the psSense system. This allowed me to convert the duid.
Right now my ISP's configuration page is acting up so I still don't know yet if it will work… But that's a different issue, unrelated to pfSense.
Thanks for your prompt and helpful replies.
-
Byteswap in words.
There are 3 types, see https://tools.ietf.org/html/rfc3315#section-9.1
-
Can you eg. write protect that file to make the DUID permanent? It seem to change every time you reboot and/or release WAN interface..
C
-
Is there a reason that the DUID is neither persistent across restarts nor stored in config.xml?
-
Strange, my DUID is persistent across reboots and reconnects. It could have something to do with David_W patch https://forum.pfsense.org/index.php?topic=105002.0