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

    Syncing hostnames from dhcpv4

    Scheduled Pinned Locked Moved IPv6
    10 Posts 3 Posters 1.5k 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
      ghulands
      last edited by

      Hi,
      The majority of the devices on my network were originally ipv4 and I had set up static ip's/hostnames in the ipv4 DHCP server. Now that most of them also support IPv6 and I have DHCPv6 running on pfsense, it would be good to sync the mac address and hostname from the DHCPv4 static list to the DHCPv6 leases page if there is not a specific setup for that host in the DHCPv6 static list.

      Is this possible with a setting or should i file an enhancement request on redmine?

      1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad
        last edited by

        I did a redmine for the DNS Resolver over a year ago, not much has happened with it.

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

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

          bummer.  :(

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            Why would you need this?  dhcpv6 doesn't use mac..  It uses the DUID to assign an IP.

            NogBadTheBad your talking about unbound host override.  Not at all what ghuland is asking about.. Host overrides have nothing to do with mac address.

            As to creating hosts with ipv4 and ipv6 at the same time - if you have a lot of hosts to import.  You can just do it via a file, or pasting into the custom box.. Not sure why gui would need to do both.. You can do either or in the gui… Host overrides are really meant as 1 offs..

            What exactly are you trying to accomplish ghulands?

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • NogBadTheBadN
              NogBadTheBad
              last edited by

              @johnpoz:

              NogBadTheBad your talking about unbound host override.  Not at all what ghuland is asking about.. Host overrides have nothing to do with mac address.

              Yup I know, what I was trying to get across was my redmine hasn't really been seen as a priority so the OPs redmine if he was to create one would be treated in the same.

              Andy

              1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                Your request is pretty low priority stuff ;)  I mean really… To be honest adding box to be able to add IPv6 and IPv4 at the same time more than likely just confuse the user and cause more grief then the 1 person that would want the feature (you).

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • NogBadTheBadN
                  NogBadTheBad
                  last edited by

                  :)

                  Andy

                  1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

                    I was hoping to be able to easily identify the hosts. Since IPv6 doesn't use the MAC I guess I'm SOL.

                    I ended up just sshing into all the machines to find their dhcpv6 address and then created a static for them. I just did it for consistency in identify traffic through the firewall. eg. a machine with a static IPv4 192.168.1.12 would have a dhcpv6 static as ::0012.

                    1 Reply Last reply Reply Quote 0
                    • NogBadTheBadN
                      NogBadTheBad
                      last edited by

                      You'll see the MACs in the NDP table

                      Diagnostics -> NDP Table

                      Andy

                      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        it doesn't use mac for dhcp statics.  But sure still using mac to talk on the wire.

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

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