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

    Show dhcp6c status for ISP prefix

    Scheduled Pinned Locked Moved IPv6
    16 Posts 3 Posters 1.4k 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.
    • K
      KluthR
      last edited by

      Hey!

      I set up my first pfsense and I search some detailed info about IPv6 DP.

      I have 2.7.2-RELEASE installed.
      My ISP is german Telekom

      WAN-IPv4: PPPoE
      WAN-IPv6: DHCP6
      WAN: Request over v4
      WAN: Only request an IPv6 prefix
      WAN: Prefix size: 56
      WAN. Send prefix hint

      Everything is working with that.

      I come from an Fritz!Box and since thise IPvx values are temporary, I searched for some time values for the v6 prefix like the Fritz!Box do. The FritzBox shows things like:

      32032d29-49c6-4dfd-89e1-b0641b77b873-grafik.png

      It shows validity timers for the v6 address itself and the prefix.

      Is there any informational page which shows detailed info over the assigned prefix from ISP and its lifetime?

      JKnottJ 1 Reply Last reply Reply Quote 1
      • JKnottJ
        JKnott @KluthR
        last edited by

        @KluthR

        I'm not quite sure what you're asking. Are you referring to getting temporary prefixes? If so, there is one option to check. It's System / Advanced / Networking / Do not allow PD/Address release. You want to select that. However, not all ISPs respect that setting.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        K 1 Reply Last reply Reply Quote 0
        • K
          KluthR @JKnott
          last edited by

          @JKnott said in Show dhcp6c status for ISP prefix:

          Are you referring to getting temporary prefixes?

          Yes! German Telekom does not assign anything fixed and Iam not sure if they would respect your mentioned setting. I read of that setting a few times but Iam unsure. However, the Fritz!Box shows some lifetime info for my current assigned prefix. And I wonder how it manage to do that and if pfSense could show such information as well.

          JKnottJ 1 Reply Last reply Reply Quote 0
          • K
            KluthR
            last edited by

            In addition: I know, that Telekom gives an /56 prefix. The Fritz!Box also shows that part but I dont see this information anywhere inside pfsense. Even the dhcp6c logs does not mention anything about a /56 prefix or if my "wish" for an 56 prefix was respected.

            GertjanG 1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @KluthR
              last edited by

              @KluthR said in Show dhcp6c status for ISP prefix:

              Even the dhcp6c logs does not mention anything about a /56 prefix or if my "wish" for an 56 prefix was respected.

              Activate this one :

              9022a90a-6fb7-4639-a726-b8d6f7a495dd-image.png

              Now the Status System Logs DHCP will contain extra info.
              Like :

              b349df20-5042-4fcc-bed2-05f4d7c8c624-image.png

              I presume pltime is 10 minutes = the lease time. Pretty short if you asked me, but the prefix and upper IPv6 address didn't change for me the last 14 months.

              When you ask for a /56 this doesn't mean the dhcp6c client is going to ask ask 256 * /64 = /56 = 256 prefixes from upstream.

              It asks (only) a /64 prefix for every LAN interface where you've set :

              1145a3fd-3ebb-4b6c-8683-98dd4d7b528b-image.png

              You can see such a prefix here :

              d5976aa6-1e9d-470f-9cff-02898ba1ef05-image.png

              I know, not really "all the info in one nice place".

              And oops : forgot about

              5217039e-726c-4aae-84c2-03f34755d5d5-image.png

              Btw : These DHCP6 leases should may last 10 minutes or one hour or even more. This doesn't matter.
              What matters is : that your ISP (or the ISP box, just 2 feet away from me) gives always the same prefix(s) and that the upper part of your IPv6 /56 stays the same also. If not, your devices can/will change their GUA regularly , and that pretty broken.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              K 1 Reply Last reply Reply Quote 1
              • K
                KluthR @Gertjan
                last edited by

                @Gertjan said in Show dhcp6c status for ISP prefix:

                Pretty short if you asked me, but the prefix and upper IPv6 address didn't change for me the last 14 months

                Do you have the "Do not allow PD/Address release" enabled?

                GertjanG 1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @KluthR
                  last edited by

                  @KluthR

                  Noop.
                  See image posted above.

                  I don't 'need' that I guess, as it is my 'ISP Box' that handles the prefixes, and it it allocate to the same device = pfSense, as it is using the same DUID, the same prefixes over and over.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    KluthR @Gertjan
                    last edited by

                    @Gertjan said in Show dhcp6c status for ISP prefix:

                    Noop.
                    See image posted above.

                    Sorry, missed that.

                    1 Reply Last reply Reply Quote 0
                    • JKnottJ
                      JKnott @KluthR
                      last edited by

                      @KluthR said in Show dhcp6c status for ISP prefix:

                      Yes! German Telekom does not assign anything fixed and Iam not sure if they would respect your mentioned setting.

                      Well, there's one way to find out. Enable it and see what happens.

                      PfSense running on Qotom mini PC
                      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                      UniFi AC-Lite access point

                      I haven't lost my mind. It's around here...somewhere...

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        KluthR
                        last edited by

                        How have I to imagine this function? If the PPPoE disconnects for whatever reason, dhcp6c does NOT send a PD release. So after PPPoE reconnect, I get the same prefix? Does my ISP takes note what prefix I had?

                        GertjanG 1 Reply Last reply Reply Quote 0
                        • GertjanG
                          Gertjan @KluthR
                          last edited by Gertjan

                          @KluthR

                          None of use are working for your ISP ^^, and I'm not aware of any FAQs, documentation, but you could find it out.
                          See my post above : set dhcp6c debugging mode on, and check the logs.
                          Answer can be found in the logs.
                          Like : did I get the same prefix ?

                          No "help me" PM's please. Use the forum, the community will thank you.
                          Edit : and where are the logs ??

                          1 Reply Last reply Reply Quote 1
                          • K
                            KluthR @JKnott
                            last edited by KluthR

                            @JKnott said in Show dhcp6c status for ISP prefix:

                            Well, there's one way to find out. Enable it and see what happens.

                            For the record: My ISP (German Telekom) does NOT respect the Do not allow PD/Address release. I enabled it, saved, rebooted pfSense and I got another prefix.

                            If this was the right way to test it.

                            GertjanG JKnottJ 2 Replies Last reply Reply Quote 0
                            • GertjanG
                              Gertjan @KluthR
                              last edited by

                              @KluthR

                              Hate to advocate for an ISP, or worse, an unknown ISP, but to their defense : if you (they) use PPPOE, and all traffic - IPv4 and IPv6 goes over this PPPOE Tunnel, and this pppoe tunnel gets shut down before any "hey, please, Do not allow PD/Address release" can get send : it will never reach them.

                              Also : I can image that ISPs treat "IPV6 addresses" as "IPv4 WAN addresses" : on any connect, you get another one. Many clienst just love that. Others hate it. And for xx ^$ a month you get a semi static IPv4 .... maybe this will also be the case for your IPv6 needs.
                              AFAIK : this shouldn't be done like that by your (my) ISP : they are breaking some IPv6 RFCs for sure.

                              Actually, me just thinking out-loud here : is pppoe still a thing these days ?

                              No "help me" PM's please. Use the forum, the community will thank you.
                              Edit : and where are the logs ??

                              K 1 Reply Last reply Reply Quote 0
                              • K
                                KluthR @Gertjan
                                last edited by KluthR

                                @Gertjan said in Show dhcp6c status for ISP prefix:

                                "hey, please, Do not allow PD/Address release" can get send : it will never reach them

                                Its the other way round: dhcpv6c sends an "Hey, please release PD" when it exits. The mentioned setting is avoiding it, so my ISP does not get any info to release it which should result in a "static" prefix.

                                @Gertjan said in Show dhcp6c status for ISP prefix:

                                is pppoe still a thing these days ?

                                Seems so. (VDSL2).

                                GertjanG 1 Reply Last reply Reply Quote 0
                                • GertjanG
                                  Gertjan @KluthR
                                  last edited by

                                  @KluthR said in Show dhcp6c status for ISP prefix:

                                  Its the other way round: dhcpv6c sends an "Hey, please release PD" when it exits. The mentioned setting is avoiding it, so my ISP does not get any info to release it which should result in a "static" prefix.

                                  👍 for this - what I meant to say.
                                  The release doesn't get send .... or is discarded by the ISP anyway.

                                  No "help me" PM's please. Use the forum, the community will thank you.
                                  Edit : and where are the logs ??

                                  1 Reply Last reply Reply Quote 0
                                  • JKnottJ
                                    JKnott @KluthR
                                    last edited by

                                    @KluthR said in Show dhcp6c status for ISP prefix:

                                    If this was the right way to test it.

                                    I suspect it might take another reboot. However, the way I found out about the problem was just disconnecting & reconnecting the Ethernet cable to the cable modem was enough to cause the prefix to change.

                                    PfSense running on Qotom mini PC
                                    i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                                    UniFi AC-Lite access point

                                    I haven't lost my mind. It's around here...somewhere...

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