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

Where in the interface is an interface's IPv6 prefix delegation (PD) shown

IPv6
dhcpv6
5
16
749
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.
  • N
    NickyDoes
    last edited by Jul 29, 2024, 4:12 PM

    I'm aware that the PD is shown in the DHCP logs, and can be found by filtering process to dhcp6c, or even better by filtering the message with IA_PD prefix:.

    Seems the PD would be interesting and important. Is it shown somewhere in the interface status?

    Side note: I tagged this as DHCPv6 because Router Advertisement is not a tag.

    G J 2 Replies Last reply Jul 29, 2024, 4:15 PM Reply Quote 0
    • G
      Gertjan @NickyDoes
      last edited by Gertjan Jul 29, 2024, 4:15 PM Jul 29, 2024, 4:15 PM

      @NickyDoes

      Couldn't find anything better as this answer : It's a prefix, so check out the one who's using it :

      login-to-view

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

      N 1 Reply Last reply Jul 29, 2024, 4:49 PM Reply Quote 1
      • N
        NickyDoes @Gertjan
        last edited by NickyDoes Jul 29, 2024, 4:55 PM Jul 29, 2024, 4:49 PM

        @Gertjan That works. Somehow, I completely missed that.

        And what about the PD size? For me, DHCPv6 Primary Address Pool shows a /64 for this LAN, but the logs show a /56 from the ISP/tunnel broker.

        J G 2 Replies Last reply Jul 29, 2024, 8:42 PM Reply Quote 0
        • T
          the other
          last edited by Jul 29, 2024, 5:04 PM

          hey there,
          you can see it...
          ...where @Gertjan pointed at
          ...also on your dashboard > interfaces
          ...as well as on status > interfaces
          ...and (with prefix size) under Diagnostics > command prompt > ifconfig -a
          :)

          the other

          pure amateur home user, no business or professional background
          please excuse poor english skills and typpoz :)

          1 Reply Last reply Reply Quote 0
          • N NickyDoes referenced this topic on Jul 29, 2024, 5:17 PM
          • J
            JKnott @NickyDoes
            last edited by Jul 29, 2024, 8:33 PM

            @NickyDoes said in Where in the interface is an interface's IPv6 prefix delegation (PD) shown:

            Seems the PD would be interesting and important. Is it shown somewhere in the interface status?

            It's included in the address. The first 64 bits of the address are the prefix for that address. If you mean the /56 prefix, it's in the DPCPv6-PD sequence, as shown here:

            login-to-view

            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
            • J
              johnpoz LAYER 8 Global Moderator @NickyDoes
              last edited by Jul 29, 2024, 8:42 PM

              @NickyDoes said in Where in the interface is an interface's IPv6 prefix delegation (PD) shown:

              but the logs show a /56 from the ISP/tunnel broker.

              yeah they delegated a /56 for you to use /64s out of.

              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.7.2, 24.11

              1 Reply Last reply Reply Quote 0
              • G
                Gertjan @NickyDoes
                last edited by Jul 30, 2024, 7:19 AM

                @NickyDoes said in Where in the interface is an interface's IPv6 prefix delegation (PD) shown:

                And what about the PD size? For me, DHCPv6 Primary Address Pool shows a /64 for this LAN, but the logs show a /56 from the ISP/tunnel broker.

                The prefix size / (should be) Always a /64

                login-to-view

                @NickyDoes said in Where in the interface is an interface's IPv6 prefix delegation (PD) shown:

                but the logs show a /56 from the ISP/tunnel broker.

                That means that /64-/56=/8 or 256 so you could, in theory, have your pfSense, or other routers, ask for 255 prefixes, which mans you can have 256 LANs with 18 446 744 073 709 551 616 IP addresses.

                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
                • N
                  NickyDoes
                  last edited by Jul 30, 2024, 10:43 AM

                  I understand; The ISP allocated IPv6/56, allowing 64-56 subnets, usable as their own networks (i.e. subnets).

                  From a usability perspective, for those who are taking on IPv6: I should be able to see the number of subnets allocated without diving into the logs.

                  J G J 3 Replies Last reply Jul 30, 2024, 11:03 AM Reply Quote 0
                  • J
                    johnpoz LAYER 8 Global Moderator @NickyDoes
                    last edited by Jul 30, 2024, 11:03 AM

                    @NickyDoes said in Where in the interface is an interface's IPv6 prefix delegation (PD) shown:

                    I should be able to see the number of subnets allocated without diving into the logs.

                    Why? Are you not getting the number you asked for or larger? And you can't assign the number of prefixes you need via tracking? This info isn't something you would normally have to even care about - unless something was wrong..

                    I mean why should I care if they give me a /60 or /56 or /48 even if I only need say 5 or 6.. I mean a /60 is what 16 /64s..

                    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.7.2, 24.11

                    N 1 Reply Last reply Aug 8, 2024, 2:03 AM Reply Quote 0
                    • G
                      Gertjan @NickyDoes
                      last edited by Jul 30, 2024, 12:15 PM

                      @NickyDoes said in Where in the interface is an interface's IPv6 prefix delegation (PD) shown:

                      The ISP allocated IPv6/56, allowing 64-56 subnets, usable as their own networks (i.e. subnets).

                      The IS give you a /56.
                      For me, it's my ISP router showing this, and I can see :

                      login-to-view

                      So, pfSense has take the 'random' "eb" hex. It could have given anything from '01' to 'ff'.
                      The '00' is reserved by the ISP router for it's own LAN, and the pfSense WAN interface has an IPv6 using that prefix '00'

                      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
                      • J
                        JKnott @NickyDoes
                        last edited by Jul 30, 2024, 1:12 PM

                        @NickyDoes said in Where in the interface is an interface's IPv6 prefix delegation (PD) shown:

                        allowing 64-56 subnets

                        Actually, 256 /64 subnets.

                        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 1
                        • N
                          NickyDoes @johnpoz
                          last edited by Aug 8, 2024, 2:03 AM

                          @johnpoz my perspective is someone who is figuring out IPv6. There's tons of Reddit and other FUD on whether [insert ISP here] delegates /64 or some other prefix.

                          MAny of these posts/recipes/tutorials lead someone new to think a /64 cannot readily be divided into subnets. By 'readily', I mean divide and still firewall effectively. People (including me) are already nervous giving up our IPv4 NAT inherent security blanket. Yes, I've read that the security afforded by NAT is not security per se. It's still scary to start learning about IPv6 and be sure you're not inadvertently exposing machines to the public net.

                          From your comment ("why should I care.../60 is what 16 64s"), I presume someone can readily divide their /64 and effectively control access. That's beyond what most tutorial/recipes explain. I've RTM, and am still confused, so I've resorted to searching for more tutorials. I'll try posting more questions here.

                          Thanks for the help, as always.

                          J 1 Reply Last reply Aug 8, 2024, 2:40 AM Reply Quote 0
                          • J
                            johnpoz LAYER 8 Global Moderator @NickyDoes
                            last edited by johnpoz Aug 8, 2024, 2:44 AM Aug 8, 2024, 2:40 AM

                            @NickyDoes said in Where in the interface is an interface's IPv6 prefix delegation (PD) shown:

                            presume someone can readily divide their /64 and effectively control access

                            No not really - some shit not going to work if you break down a /64, pretty sure slaac min size is a /64 for it to work correctly

                            Why would you need to break down a /64? While technically you can do it, pretty sure it will break parts of IPv6..

                            How many local networks do you have? A /56 is 256 /64s you could have - do you need more than that? I think I have a lot for home - 8.. Which some I could prob get rid of really.. Or I could maybe make a few more if I wanted to segment some stuff even further.. I currently lump a lot of different types iot into same network.. But that is a long freaking way from 256 networks..

                            Get with your ISP then, or use a HE tunnel they give you a /48 which is 65k /64s

                            If you are a decent sized company, not some ma and pa shop - you should prob just get direct from arin for example - /32 is like the min size they give out..

                            Do you have some large campus network where you need more than say a /56 would give you?

                            Even if your isp was being stingy and only gave you a /60, that is 16 /64s - which is quite a lot really for some residential customer.. I mean I have my network pretty freaking segmented and I have 8, and couple of those are just test networks, etc.

                            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.7.2, 24.11

                            N 1 Reply Last reply Aug 8, 2024, 1:45 PM Reply Quote 0
                            • N
                              NickyDoes @johnpoz
                              last edited by Aug 8, 2024, 1:45 PM

                              @johnpoz ok, I'm making this more confusing because I'm working to learn IPv6 practices thoroughly, but not professionally. I was attempting to share points of confusion as I learn and implement IPv6.

                              My situation: I'm primarily a homelab, with a minor professional component. Google Fi residential is the ISP, providing one dynamic IPv4 and a /56 PD. I have internal IPv4-only networks for home and for work. A 3rd net is for IPv6 testing. I have now verified that my ISP is granting a /56 PD, which is plenty large.

                              J J 2 Replies Last reply Aug 8, 2024, 1:47 PM Reply Quote 0
                              • J
                                JKnott @NickyDoes
                                last edited by Aug 8, 2024, 1:47 PM

                                @NickyDoes said in Where in the interface is an interface's IPv6 prefix delegation (PD) shown:

                                I have now verified that my ISP is granting a /56 PD, which is plenty large.

                                Some provide a /48, which is huge!

                                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 1
                                • J
                                  johnpoz LAYER 8 Global Moderator @NickyDoes
                                  last edited by Aug 8, 2024, 1:51 PM

                                  @NickyDoes yeah a /56 is lot of /64s for testing and playing with ;)

                                  Best practice is /64 for any segment you want to break out.. Even if it only has a couple of devices on it.. It seems insane when you first start playing with Ipv6 to be honest.. Since a /64 is so freaking huge when it comes to how many IPs..

                                  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.7.2, 24.11

                                  1 Reply Last reply Reply Quote 1
                                  • J johnpoz referenced this topic on Sep 27, 2024, 8:54 PM
                                  • First post
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.