Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Where to find WAN interface's DUID ?

    Scheduled Pinned Locked Moved IPv6
    9 Posts 5 Posters 3.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gjanssens
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • H
        hda
        last edited by

        /var/db/dhcp6c_duid ?

        1 Reply Last reply Reply Quote 0
        • G
          gjanssens
          last edited by

          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 ?

          1 Reply Last reply Reply Quote 0
          • H
            hda
            last edited by

            HEX mode. With Vi ?

            1 Reply Last reply Reply Quote 0
            • G
              gjanssens
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • H
                hda
                last edited by

                Byteswap in words.

                There are 3 types, see https://tools.ietf.org/html/rfc3315#section-9.1

                1 Reply Last reply Reply Quote 0
                • C
                  Cybdex
                  last edited by

                  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

                  1 Reply Last reply Reply Quote 0
                  • T
                    timotl
                    last edited by

                    Is there a reason that the DUID is neither persistent across restarts nor stored in config.xml?

                    1 Reply Last reply Reply Quote 0
                    • I
                      Inq
                      last edited by

                      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

                      The problem with making something idiot proof is that the world keeps making better idiots.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.