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

    DHCPv6 Possible? [SOLVED]

    Scheduled Pinned Locked Moved IPv6
    9 Posts 4 Posters 3.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.
    • M
      meluvalli
      last edited by

      If you are running IPv6 on LAN as TRACK INTERFACE, is it possible to setup DHCPv6 still?

      I ask, because I have tried enabling DHCPv6 and none of the clients obtain an IP within the range I'm specifying on the DHCP server.  I am wanting to do this to give my clients a "static" ip address so it never changes on me.

      1 Reply Last reply Reply Quote 0
      • B
        bimmerdriver
        last edited by

        Yes, it's possible. That's how it works. Are you getting a prefix from the edge router?

        1 Reply Last reply Reply Quote 0
        • M
          meluvalli
          last edited by

          Yes.  I get IP addresses from the Clients and everything works, but it just ignores the DHCPv6 services.  It obtains an IP outside the range I give it for the DHCP and it doesn't show the client in the DHCPv6 Leases table.

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

            Make sure that your router advertisement is something that will tell your devices to attempt DHCPv6… otherwise they'll just use SLAAC for addressing. Assisted (Prefer SLAAC, but DHCP is allowed) and Managed (DHCPv6 only, no SLAAC) are the two RA settings that allow DHCPv6. Do note that Android devices don't support DHCPv6, so a Managed RA will result in Android devices not getting IPv6 addresses.

            The S in IOT stands for Security

            1 Reply Last reply Reply Quote 0
            • B
              bimmerdriver
              last edited by

              Can you post your gateway and interface statuses?

              1 Reply Last reply Reply Quote 0
              • M
                meluvalli
                last edited by

                @virgiliomi:

                Make sure that your router advertisement is something that will tell your devices to attempt DHCPv6… otherwise they'll just use SLAAC for addressing. Assisted (Prefer SLAAC, but DHCP is allowed) and Managed (DHCPv6 only, no SLAAC) are the two RA settings that allow DHCPv6. Do note that Android devices don't support DHCPv6, so a Managed RA will result in Android devices not getting IPv6 addresses.

                Thank you!  I had it configured for Assisted mode.  This kept giving addresses not in the DHCP Scope.  I changed it to Managed, and bingo!  That did it!  All set now :)

                Now two more question….

                When it was under Assisted, I was playing around with a windows client to check if it was working...  I noticed it was getting IP's that weren't in my DHCPv6, but if I ran "ipconfig /renew6", then it would pull the DHCPv6 IP correctly, but still leave the SLAAC IP's in there as well...  Is this a normal reaction?

                And, since Android doesn't work with Assisted mode....  Is there ANYTHING I can do to get best of both worlds???  Get DHCPv6 for everything that supports it, but use SLAAC for everything else?  We need an opposite of Assisted (Prefer SLAAC, but DHCP is allowed)...  I would like Non-Assisted (Prefer DHCP, but SLAAC allowed) LOL :)

                UPDATE: Ok, so I'm on Managed, I'm still having an issue where the Windows Clients don't get the IPv6 from the DHCP server unless I issue the "ipconfig /renew6"....  Why would this be?  Why wouldn't it obtain the IP after a reboot?

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

                  Depends on what kind or windows client. There are diffrences between diffrent windows clients. See the following draft: https://tools.ietf.org/html/draft-ietf-v6ops-dhcpv6-slaac-problem-07

                  Also, you can try this dhcpv6 client for android (root required): http://forum.xda-developers.com/general/networking/port-dhcpv6-client-android-t3135606

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

                  1 Reply Last reply Reply Quote 0
                  • B
                    bimmerdriver
                    last edited by

                    @meluvalli:

                    @virgiliomi:

                    Make sure that your router advertisement is something that will tell your devices to attempt DHCPv6… otherwise they'll just use SLAAC for addressing. Assisted (Prefer SLAAC, but DHCP is allowed) and Managed (DHCPv6 only, no SLAAC) are the two RA settings that allow DHCPv6. Do note that Android devices don't support DHCPv6, so a Managed RA will result in Android devices not getting IPv6 addresses.

                    Thank you!  I had it configured for Assisted mode.  This kept giving addresses not in the DHCP Scope.  I changed it to Managed, and bingo!  That did it!  All set now :)

                    Now two more question….

                    When it was under Assisted, I was playing around with a windows client to check if it was working...  I noticed it was getting IP's that weren't in my DHCPv6, but if I ran "ipconfig /renew6", then it would pull the DHCPv6 IP correctly, but still leave the SLAAC IP's in there as well...  Is this a normal reaction?

                    And, since Android doesn't work with Assisted mode....  Is there ANYTHING I can do to get best of both worlds???  Get DHCPv6 for everything that supports it, but use SLAAC for everything else?  We need an opposite of Assisted (Prefer SLAAC, but DHCP is allowed)...  I would like Non-Assisted (Prefer DHCP, but SLAAC allowed) LOL :)

                    UPDATE: Ok, so I'm on Managed, I'm still having an issue where the Windows Clients don't get the IPv6 from the DHCP server unless I issue the "ipconfig /renew6"....  Why would this be?  Why wouldn't it obtain the IP after a reboot?

                    The nomenclature for "assisted", "managed", etc. is convoluted and should be overhauled. Why not just have settings to enable dhcp and SLAAC separately so devices can use them as required? If neither is enabled, there must be some other server on the network.

                    You should not have to reboot your pc to get addresses, however, ipconfig doesn't always work as it should. I've found the best way to force all addresses to be renewed is to disable and enable the network adapter. You will find that there will be dhcp and SLAAC addresses, at least I'm finding that on Windows 10 clients.

                    1 Reply Last reply Reply Quote 0
                    • M
                      meluvalli
                      last edited by

                      Ok, so changing RA to Managed appears to have fixed all my issues.  Marking topic as SOLVED.  Thank you everyone for your help!

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