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

    WAN with /64 Delegation

    Scheduled Pinned Locked Moved IPv6
    33 Posts 4 Posters 2.7k 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.
    • JKnottJ
      JKnott @meluvalli
      last edited by

      @meluvalli said in WAN with /64 Delegation:

      Unfortunately, IPv6 has very limited configuration in the gateway itself.

      Is it in bridge or gateway mode? You need bridge mode. ISPs use DHCPv6 to provide a prefix to a router, such as pfSense. However, gateway mode will not pass it. Your ISP should have a /64 on the WAN and hand out a prefix.

      I've been using pfSense for about 8 years and it works fine with IPv6. In fact, IPv6 was the reason I switched to it, as the Linux based firewall I had been using wouldn't work with DHCPv6.

      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
      • JKnottJ
        JKnott @meluvalli
        last edited by

        @meluvalli said in WAN with /64 Delegation:

        I got it working! It was my Linux server didn't have the gateway set :)

        The gateway should be provided automagically by pfSense, using router advertisements.

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

        Bob.DigB 1 Reply Last reply Reply Quote 1
        • Bob.DigB
          Bob.Dig LAYER 8 @JKnott
          last edited by Bob.Dig

          @JKnott said in WAN with /64 Delegation:

          The gateway should be provided automagically by pfSense, using router advertisements.

          That is true, you should activate Services>Router Advertisement on all interfaces with IPv6. Unmanaged probably will do.

          M 1 Reply Last reply Reply Quote 0
          • M
            meluvalli @Bob.Dig
            last edited by meluvalli

            @Bob-Dig
            I'm using RA in Managed mode. I also have enabled DHCPv6 Relay. I have a DHCP server that hands out IPv6 addresses because I prefer to have managed IPv6 addresses so I know the IPv6 address of each client statically. I then assign IPv6 addresses based on UUID.

            My servers I have set for STATIC IPv6 addresses instead of DHCP.

            Only problem I have seen with this setup is some devices (Like Google Display Hub) do not get an IPv6 address. I am not really sure as to why though since all my Windows/Linux devices can get an IP via my IPv6 DHCP Server.

            Bob.DigB JKnottJ 2 Replies Last reply Reply Quote 0
            • Bob.DigB
              Bob.Dig LAYER 8 @meluvalli
              last edited by

              @meluvalli said in WAN with /64 Delegation:

              I have a DHCP server that hands out IPv6 addresses because I prefer to have managed IPv6 addresses so I know the IPv6 address of each client statically.

              I only do that for my servers. But in a NAT scenario I wouldn't care.

              Thanks to @JKnott everyone around here knows that Android is not supporting DHCPv6.

              M 1 Reply Last reply Reply Quote 0
              • M
                meluvalli @Bob.Dig
                last edited by meluvalli

                @Bob-Dig

                Yah. I think I remember reading that somewhere :) But, my AppleTV doesn't either (Odd considering my Macbook and iPhone both do though.). So... Google isn't alone...

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

                  @meluvalli said in WAN with /64 Delegation:

                  I have a DHCP server that hands out IPv6 addresses because I prefer to have managed IPv6 addresses so I know the IPv6 address of each client statically.

                  Use SLAAC. It just works. Thanks to some genius at Google, Android doesn't support DHCPv6. Also, with SLAAC, you get 1 consistent address, which can be based on the MAC address or a random number. You also get up to 7 privacy addresses, with a new one every day. The most recent is used for outgoing connections. Use the consistent address as static, as it is, unless you change the prefix.

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

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    meluvalli @JKnott
                    last edited by

                    @JKnott
                    On my network I am using dnsdist and use specific DNS servers based on source Address (local client). If I use SLAAC and the IPv6 address changes on the client, then dnsdist wouldn't be able to determine the client and would use the wrong DNS server for that client. That's why I am using DHCPv6 with assigned IPv6 addresses based on UUID.

                    JKnottJ 1 Reply Last reply Reply Quote 0
                    • Bob.DigB
                      Bob.Dig LAYER 8
                      last edited by Bob.Dig

                      OT: Maybe you don't want IPv6...
                      https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-38063

                      M JKnottJ 2 Replies Last reply Reply Quote 0
                      • M
                        meluvalli @Bob.Dig
                        last edited by

                        @Bob-Dig
                        Why not? They apparently fixed it! ROFL :)

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

                          @meluvalli said in WAN with /64 Delegation:

                          If I use SLAAC and the IPv6 address changes on the client, then dnsdist wouldn't be able to determine the client and would use the wrong DNS server for that client.

                          Make sure Advanced / Networking / Do not allow PD/Address release is selected. Otherwise your prefix will change. If your prefix is changing, it makes no difference whether you're using SLAAC or DHCPv6. As I mentioned, with SLAAC, you get a consistent address, which is what you point your DNS to. If your prefix still changes, despite that setting, then you may want to consider Unique Local Address, as they won't change unless you change them. You can have both global and ULA addresses on the same interface.

                          BTW, I've had the same prefix for around 5.5 years. It has survived changing, at different times, both my pfSense computer and modem.

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

                          Bob.DigB 1 Reply Last reply Reply Quote 0
                          • JKnottJ
                            JKnott @Bob.Dig
                            last edited by

                            @Bob-Dig said in WAN with /64 Delegation:

                            OT: Maybe you don't want IPv6...

                            Yeah, well who uses Windows anyway? ๐Ÿ˜‰

                            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
                            • Bob.DigB
                              Bob.Dig LAYER 8 @JKnott
                              last edited by

                              @JKnott said in WAN with /64 Delegation:

                              BTW, I've had the same prefix for around 5.5 years.

                              I have the same prefix since my parents met. ๐Ÿ˜‰

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