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

    Prefix delegation to multiple interfaces

    Scheduled Pinned Locked Moved IPv6
    7 Posts 3 Posters 2.1k 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.
    • E
      elscorcho
      last edited by elscorcho

      I have service with Mediacom. My WAN interface configured for DHCP6 and my LAN interface configuration set to Track Interface using the IPv6 interface WAN and IPv6 Prefix ID of 0. This works fine and my LAN interface status page reports an IPv6 address with a /56 subnet mask.

      My question is how to delegate an IPv6 to a second interface. I tried selecting Track Interface on WAN and choosing an IPv6 Prefix ID of 1, but I get the following error:
      The specified IPv6 Prefix ID is out of range. (wan) - (0) - (0)

      Setting Prefix ID back to 0 results in:
      This track6 prefix ID is already being used in LAN.

      It's as if the entire /56 is currently assigned to the LAN interface under Prefix ID 0, leaving none available for other interfaces to use. So how can I split the /56 and use it on my second interface?

      MrPeteM JKnottJ 2 Replies Last reply Reply Quote 0
      • MrPeteM
        MrPete @elscorcho
        last edited by MrPete

        @elscorcho Something is strange. Subnets are /64 each, so you should have 256 (00-ff) available with /56 allocated to you.

        I assume you rebooted after the initial setup?

        Oh... try setting the LAN to 1 instead of 0... I think 0 is special.

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

          @elscorcho

          Each interface requires a unique prefix ID. With a /56 your choices are 0 to ff.

          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
          • E
            elscorcho @MrPete
            last edited by elscorcho

            @mrpete I cannot set LAN prefix to anything other than 0 or I get:

            The specified IPv6 Prefix ID is out of range. (wan) - (0) - (0)

            My clients on the LAN interface are also reporting a prefix len of /56 so I think LAN prefix is using the entire /56 and I don't know how to split it into /64's for use on other interfaces.

            I also tried rebooting my router. I received a new PD with len /56 but still the same issues as described above.

            Here's software version info if that helps:
            2.5.2-RELEASE (amd64)
            built on Fri Jul 02 15:33:00 EDT 2021
            FreeBSD 12.2-STABLE

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

              @elscorcho

              What do you have for DHCPv6 Prefix Delegation size on the WAN page? With a /56, it should be 56.

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

              E 1 Reply Last reply Reply Quote 1
              • E
                elscorcho @JKnott
                last edited by

                @jknott That was it, thanks! I had it set to /64 so I changed to /56 and the second interface allowed me to set the prefix ID.

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

                  @elscorcho

                  Good. That setting allows you to choose whatever size prefix you want, up to whatever your ISP provides. So, if you choose 64, then you only get a single /64.

                  I also have a /56, with a /64 assigned to my main LAN, guest WiFi, test LAN, a downstream Cisco router and I can then route another /64 to the Cisco router.

                  With IPv6, you get gazillions of addresses, so no need to worry about how many you use.

                  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.