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

WAN IPv6 prefix delegation to LAN interface

Scheduled Pinned Locked Moved IPv6
18 Posts 5 Posters 3.2k 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.
  • J
    JKnott @Derelict
    last edited by Jan 5, 2022, 7:07 PM

    @derelict said in WAN IPv6 prefix delegation to LAN interface:

    And, if it changes, it needs to be updated manually. It cannot be updated dynamically.

    This applies whether you use PD or not. My prefix is consistent but I understand not everyone is so fortunate.

    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...

    D 2 Replies Last reply Jan 5, 2022, 7:11 PM Reply Quote 0
    • D
      Derelict LAYER 8 Netgate @JKnott
      last edited by Jan 5, 2022, 7:11 PM

      @jknott Why would it change if it is not a DHCP6 PD?

      Chattanooga, Tennessee, USA
      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
      Do Not Chat For Help! NO_WAN_EGRESS(TM)

      J 1 Reply Last reply Jan 5, 2022, 9:14 PM Reply Quote 0
      • J
        JKnott @Derelict
        last edited by Jan 5, 2022, 9:14 PM

        @derelict

        If the prefix from the ISP changes, then everything behind pfsense gets a new prefix. When you route to additional routers, they have to have addresses within what you get from the ISP. It doesn't matter how you provide IPv6 to those routers.

        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...

        D 1 Reply Last reply Jan 5, 2022, 10:00 PM Reply Quote 0
        • D
          Derelict LAYER 8 Netgate @JKnott
          last edited by Jan 5, 2022, 10:00 PM

          @jknott It's either static or dynamic. An ISP changing a static routed prefix is a different problem.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          J 1 Reply Last reply Jan 5, 2022, 10:34 PM Reply Quote 0
          • J
            JKnott @Derelict
            last edited by Jan 5, 2022, 10:34 PM

            @derelict

            Did the OP say they had static addresses? Or DHCPv6-PD? If his ISP is like mine, even with DHCPv6-PD, the addresses are virtually static. Mine even survived replacing the computer I run pfsense on, complete with new NICs. On the other hand, with IPv4, the new hardware caused my host name to change, as well as the address.

            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
            • D
              Derelict LAYER 8 Netgate @JKnott
              last edited by Derelict Jan 6, 2022, 2:58 AM Jan 6, 2022, 2:57 AM

              @jknott said in WAN IPv6 prefix delegation to LAN interface:

              This applies whether you use PD or not.

              @jknott said in WAN IPv6 prefix delegation to LAN interface:

              @derelict

              Did the OP say they had static addresses? Or DHCPv6-PD?

              Right. So why bring something other than PD up in the first place? It's either a PD or it's static.

              A PD that rarely changes is still a PD.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              J 1 Reply Last reply Jan 6, 2022, 7:44 PM Reply Quote 0
              • J
                JKnott @Derelict
                last edited by Jan 6, 2022, 7:44 PM

                @derelict said in WAN IPv6 prefix delegation to LAN interface:

                Right. So why bring something other than PD up in the first place? It's either a PD or it's static.
                A PD that rarely changes is still a PD.

                I thought we were talking about distributing a prefix to another router behind pfsense and the OP wanted to use PD for that. Then you mentioned the upstream prefix changing.

                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
                • A
                  asdjklfjkdslfdsaklj @Derelict
                  last edited by asdjklfjkdslfdsaklj Jan 6, 2022, 8:45 PM Jan 6, 2022, 8:30 PM

                  @derelict after thinking about this for a bit, I could have phrased my intent better.

                  I had made a leap that after sorting out WAN dhcp6.conf I'd be able to "apply" the PD to the LAN interface's DHCPv6 config in such a way that the "Prefix Delegation Range" could be automatically derived and populated.

                  Get /56 from ISP, make it available to the LAN DHCPv6 config, assign something from that as southbound PD, albeit partially automatically.

                  I learned you need to specify the entire address in the PD range, and couldn't populate any part of it automatically. Here I've taken a /57 range from aforementioned /56, for southbound PD:

                  Screen Shot 2022-01-06 at 12.25.59 PM.png

                  A way to say "provide a PD on the interface, of /x size, from WAN PD space" would be a nice feature.

                  J 1 Reply Last reply Jan 6, 2022, 10:28 PM Reply Quote 0
                  • J
                    JKnott @asdjklfjkdslfdsaklj
                    last edited by Jan 6, 2022, 10:28 PM

                    @asdjklfjkdslfdsaklj said in WAN IPv6 prefix delegation to LAN interface:

                    A way to say "provide a PD on the interface, of /x size, from WAN PD space" would be a nice feature.

                    Does your prefix change? If not, then it's not an issue.

                    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...

                    4 1 Reply Last reply Mar 22, 2022, 3:16 PM Reply Quote 0
                    • 4
                      4920441 0 @JKnott
                      last edited by Mar 22, 2022, 3:16 PM

                      @jknott
                      That's problem... in good olde yurop many ISPs privide also a dynamic IPv6 prefix.... and not a small one either, many a /56 or /48 - but dynamically assigned....

                      D 1 Reply Last reply Mar 23, 2022, 12:34 PM Reply Quote 0
                      • D
                        Derelict LAYER 8 Netgate @4920441 0
                        last edited by Mar 23, 2022, 12:34 PM

                        @4920441-0 But if they honor the DUID and give you the same prefix every time it should change very rarely, but I agree some tracking of the dynamically-assigned prefix would be nice.

                        It would also be nice if ISPs would give static IPv6 addressing, /48s, etc.

                        Chattanooga, Tennessee, USA
                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                        4 A 2 Replies Last reply Mar 23, 2022, 4:20 PM Reply Quote 1
                        • 4
                          4920441 0 @Derelict
                          last edited by Mar 23, 2022, 4:20 PM

                          @derelict

                          No they don't - the prefix changes every reconnect and nothing can be kept as it was - not even coincidentially....

                          Some want to sell the more expensive business accounts, others are simlply ingnorant:-)

                          Cheers

                          4920441

                          1 Reply Last reply Reply Quote 0
                          • A
                            asdjklfjkdslfdsaklj @Derelict
                            last edited by Mar 23, 2022, 5:06 PM

                            @derelict well said, and sums up my thoughts.

                            Respective DUID state is nice, and it would be even nicer to track and adjust relatively on the pfSense side.

                            Thanks for your time.

                            1 Reply Last reply Reply Quote 0
                            • O oliver.netgate referenced this topic on Jul 7, 2022, 3:42 PM
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                              This community forum collects and processes your personal information.
                              consent.not_received