Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Save DUID with backup

    Scheduled Pinned Locked Moved IPv6
    4 Posts 4 Posters 1.7k 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
      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
        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
          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
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy