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

    Save DUID with backup

    Scheduled Pinned Locked Moved IPv6
    4 Posts 4 Posters 1.2k 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 Offline
      grumpel
      last edited by

      Hi,

      My ISP is assigning me a static IPv6 subnet with DHCP based on my DUID. If I backup my configuration and restore it on a new machine, is my DUID also transferred to the new host?

      -Grumpel

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

        No. The DUID is stored in /var/db/dhcp6c_duid. Just copy that file on the new machine in the same location.

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

        1 Reply Last reply Reply Quote 0
        • N Offline
          neonknight
          last edited by

          Does not work for me. The DUID gets reset to the hardware dependent (MAC address based?) default value after every reboot.
          I'm using a vanilla pfSense 2.3.1 without any 3rd party patches.

          1 Reply Last reply Reply Quote 0
          • MikeV7896M Offline
            MikeV7896
            last edited by

            Just thought that I'd mention a feature request asking for the DUID to be part of the config file, allowing it to be backed up/restored.

            https://redmine.pfsense.org/issues/3971

            I think there's actually a field for it in the config file, but it's probably not used for anything at this point in time as it's blank.

            As for persistence across reboots, if you're running the nano version or have RAM disk storage enabled, those might be reasons why it's not persistent. Because it's definitely persistent for my pfSense box, and I'm not using RAM disk storage.

            The S in IOT stands for Security

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