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

    Setting up ipv6 with one /64 allocation

    Scheduled Pinned Locked Moved IPv6
    ipv6
    5 Posts 2 Posters 929 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.
    • T
      tmoore
      last edited by

      I am trying to get IPv6 going on my lan for the first time. What I want to do is have my client machines on the lan side be able to seamlessly use ipv6, including dnsv6 lookups.

      My situation is

      • my isp has allocated me one /64 address
      • I have a dsl modem/router (smartrg515ac) that seems to be getting provided properly. I have enabled the dhcpv6 on the router and it is providing addresses to clients on the wan side of things.
      • I have set the ipv6 configuration type WAN interface to use dhcpv6, with a prefix delegation size of 64
      • I have set the ipv6 configuration type on the LAN interface to use "Track Interface" with an IPv6 prefix id of 0

      When I look at the "Status Interfaces" page I can see that the WAN interface correctly gets assigned an ipv6 address from the assigned prefix. However, the LAN interface only has an ipv6 link local address.

      f325a10c-2531-4167-b0fe-eb2a6c526924-image.png

      I thought that I would set up an dhcpv6 relay on the LAN side to provide address to the LAN clients. However, when I go to the DHCPV6 Relay services page the LAN interface does not show up as available (it says only interfaces with an IPv6 address are shown).

      Can you suggest what I am doing wrong here? Do I need a bigger delegation from my ISP? The next size up for them is /56.

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

        @tmoore

        Does your ISP only provide a single /64? Or is that what you get with the modem in gateway mode? With my ISP and gateway mode I also get a single /64, but in bridge mode I get a /56 prefix, which is 256 /64s.

        BTW, it helps to mention who your ISP is, as there may be someone here with experience with them.

        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
        • T
          tmoore
          last edited by tmoore

          For what it's worth my ISP is Teksavvy. I phoned in to them this morning and asked them to give me a /56 address delegation which they have done. So now I have a /56.

          Like I said the ipv6 seems to be set up properly on the modem/router side. When I connect a windows 11 machine to the wifi access point it takes several minutes (like 10 minutes) to get provisioned with ipv6 from my delegated range (ipv4 dhcp is instant). Eventually the command 'ipconfig /all' shows the ipv6 address is from my assigned range. At that point I get a 10/10 score from https://test-ipv6.com.

          Now on to the firewall box, which is netgate hardware. The WAN port is connected via ethernet to a port on the smartrg515ac modem/router.

          First setting the WAN interface:

          • under the general configuration I have set the ipv6 configuration type to be dhcpv6
          • under "DHCP6 Client Configuration" I have set the dhcpv6 prefix delegation size to be 56

          Saving and applying changes to this configuration, and then waiting about 10 minutes I get a ipv6 address allocated from my delegation:
          f3baf44d-13e2-488c-a927-7908e58410f1-image.png

          I then try to set the LAN interface to track the ipv6 on the WAN:

          • "IPv6 Configuration Type" = Track Interface
          • "IPv6 Interface" = WAN_TEKSAVVY
          • Selects the dynamic IPv6 WAN interface to track for configuration.
          • "IPv6 Prefix ID" = 2

          This doesn't seem to do much, here is what the interface looks like:
          f4438447-f38c-4321-8079-4cdf294805f8-image.png
          As you can see the interface is not getting a ipv6 address from my delegated range.

          Any suggestions?

          JKnottJ 1 Reply Last reply Reply Quote 0
          • T
            tmoore
            last edited by

            The other relevant detail might be the gateway:

            85240928-9bf6-44a3-a763-25dd4ae5dc7c-image.png

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

              @tmoore said in Setting up ipv6 with one /64 allocation:

              For what it's worth my ISP is Teksavvy. I phoned in to them this morning and asked them to give me a /56 address delegation which they have done. So now I have a /56.

              Are you connected via Bell or Rogers? If Rogers, you might want to check the Rogers config. A friend of mine is with Teksavvy on Rogers. Another friend used be be with them on Bell.

              As for that pending gateway, you have to provide a monitor address that responds to pings. For mine, I ran traceroute to Google and picked the first address that responded. That address is 2607:f798:10:10d2:0:241:5615:217. It might be different for you, depending on where you are.

              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.