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

    Multiple IPv6 Prefix Delegation over AT&T Residential Gateway for pfSense 2.4.5

    IPv6
    30
    147
    60.7k
    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.
    • M
      marcg @lolipoplo
      last edited by

      @lolipoplo Interesting results.

      The router solicits three prefixes, which is correct. The BGW advertises them. The router gets them, and then releases all of them ~3 seconds later. You can see that in the screenshot below.

      The OP says to uncheck "Do not allow PD/Address release" in the WAN interface DHCP6 setup. I couldn't find that option anywhere. Wonder if it's part of the issue?

      Screenshot 2023-05-09 151504.png

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

        It's working now. This was a new pfSense install, with the WAN interface of my old router (UDM Base) plugged into a dedicated LAN-side interface on the pfSense. I had neglected to turn off prefix solicitation on the UDM. The UDM and pfSense were apparently "fighting" for prefixes from the BGW. Disabling prefix solicitation on the UDM fixed the issue. IPv6 was disabled on the pfSense interface for the UDM throughout; still puzzled as to why the BGW saw the UDM's DHCP6 requests at all.

        L 1 Reply Last reply Reply Quote 0
        • L
          lolipoplo @marcg
          last edited by

          @marcg do you feel that your IPv6 connections drop after a few days (>24hrs)

          I believe this is caused by the latest firmware. the RG has to be rebooted every few days

          M 1 Reply Last reply Reply Quote 0
          • M
            marcg @lolipoplo
            last edited by marcg

            @lolipoplo not yet, but I'll keep an eye on it. My pfSense has only been installed for a ~week.

            I did notice an issue with the BGW's NAT table on 4.22.5. NAT table source and destination addresses are reversed for a subset of the entries, i.e., the BGW's NAT table incorrectly shows some traffic being initiated from external->internal when in actuality the flows are initiated internal->external. The pfSense NAT states correctly reflect that. I thought this was a display issue on the BGW only, but it may be deeper. More details here.

            Someone responded on that thread saying that their v6 connections were dropping. Maybe the same thing you're observing.

            T 1 Reply Last reply Reply Quote 0
            • T
              ttmcmurry @marcg
              last edited by

              @marcg @lolipoplo

              Hey folks. pfSense+ 23.05 has been released which has a better GUI, specifically for AT&T residential gateway customers. They have documentation in the release notes on how to set up IPv6 as well as RG bypass (direct to ONT).

              I would urge people to try out 23.05 as it appears this documentation/post won't be updated to align with built-in features.

              OP

              M A SimpsomRJS 3 Replies Last reply Reply Quote 2
              • M
                marcg @ttmcmurry
                last edited by marcg

                @ttmcmurry Thanks for the heads-up and for the original recipe.

                I have a BGW320. It would be great to get around its NAT state table limitation. The only rub is that I have no separate ONT: the fiber terminates directly on an SFP in the BGW. Not clear to me that I could take advantage of this new 23.05 feature unless I install a separate ATT-compatible ONT? The "ONT IN" port on the back of the BGW has a plastic cover. I'm not even sure there's an ethernet port underneath.

                I installed 23.05 yesterday. Your original recipe continues to work well.

                T 1 Reply Last reply Reply Quote 0
                • T
                  ttmcmurry @marcg
                  last edited by

                  @marcg

                  Yeah, I heard that AT&T was offering new gateways that have a built-in ONT. IIRC, all lines of service > 1 gigabit require that particular gateway.

                  This may or may not be a solution for customers with the newer RG. It stands to reason there's a possibility a separate or aftermarket ONT can be acquired and used, but that goes well outside of what I can test/document. :)

                  And thank you for the compliment! It's great keeping a healthy discussion forum!

                  1 Reply Last reply Reply Quote 0
                  • A
                    AiC0315 @ttmcmurry
                    last edited by

                    @ttmcmurry

                    Thank you for making me aware of this. Everything is working great.
                    Here is a link to a DUID generator that I found.

                    DUID Generator

                    1 Reply Last reply Reply Quote 0
                    • A
                      AiC0315
                      last edited by

                      I thought everything was working great. The bridge mode is working perfectly.
                      IPv6 is another story. I get IPV6 address on WAN and LAN but when I go to test it at various sites it fails. I have everything configured per the Netgate guide that @ttmcmurry posted.
                      Do I need to enable the DHCPv6 server? The guide did not state anything about that.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        marcg @AiC0315
                        last edited by

                        @AiC0315 The recipe here covers prefix acquisition from the ATT Gateway. It's not a full v6 configuration guide for pfSense.

                        For example, v6 traffic needs to be enabled via System > Advanced > Networking > AllowIPv6 and firewall rules that support v6 have to be created.

                        Try to figure out where the traffic is being blocked and whether DNS v6 name resolution is working, e.g., traceroute -6 www.google.com

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          AiC0315 @marcg
                          last edited by

                          @marcg
                          Thanks, I was able to find the extra settings. All is working now.

                          1 Reply Last reply Reply Quote 0
                          • SimpsomRJS
                            SimpsomRJ @ttmcmurry
                            last edited by

                            @ttmcmurry Thanks for the heads-up on this. But looking at the new advanced options I was not able to figure out how to translate the current script into input to the new settings. Would you or someone else be able to create a post on how to do it?

                            Thanks!

                            1 Reply Last reply Reply Quote 0
                            • L
                              lolipoplo
                              last edited by lolipoplo

                              I still don't understand the dumbass state limit from att.

                              first they should migrate all of their RG communication to ipv6 and free the only ipv4 to user

                              second, they should use STATELESS rules for PD'd ipv6 + ipv4.

                              this 8k limit feels very much arbitrary, as if it's intended to limit the number of devices for residential users
                              (it's not an issue for the box to support >1 million states: https://johnleach.co.uk/posts/2009/06/17/netfilter-conntrack-memory-usage/)

                              1 Reply Last reply Reply Quote 0
                              • F
                                fox hound
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • R
                                  ronv42
                                  last edited by ronv42

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    pokrifchakd
                                    last edited by

                                    Great write-up and work!

                                    I've got a question on how I'd implement this given my desired configuration. I currently have a Netgate 7100, which has a block of static IPs assigned to the LAN interface, which I'm using as a DMZ. One of the public IPs is assigned to my UniFi UDM SE, which handles the majority of my internal networks.

                                    I'd like to be able to hand off multiple /64 networks from the Netgate 7100 to the UDM SE, so it can then assign them to the various private LANs I have. What would the configuration look like on the pfSense, and is this even possible?

                                    Thanks!

                                    johnpozJ 1 Reply Last reply Reply Quote 0
                                    • johnpozJ
                                      johnpoz LAYER 8 Global Moderator @pokrifchakd
                                      last edited by

                                      @pokrifchakd

                                      https://docs.netgate.com/pfsense/en/latest/services/dhcp/ipv6.html#dhcpv6-prefix-delegation

                                      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

                                      P 1 Reply Last reply Reply Quote 0
                                      • P
                                        pokrifchakd @johnpoz
                                        last edited by

                                        @johnpoz Thanks for the response. I'm familiar with that article, but the instructions put together by @ttmcmurry seem to indicate the only way to have pfSense request the additional PDs is to assign that request to each of the switch ports on the Netgate 7100. Currently, I've got the switch carved up into two WAN connections, a connection to the DMZ, and an Admin LAN. I don't want to assign anything on the Admin LAN, just the DMZ systems and the second router that is there. Would I just need to have each of the id-assoc pd stanzas all using DMZ as the port, and it would then hand those off to the downstream router?

                                        interface lagg-0.4090 {
                                        	send ia-na 0;
                                        	send ia-pd 0;
                                        	send ia-pd 1;
                                        	send ia-pd 2;
                                        	send ia-pd 3;
                                        	send ia-pd 4;
                                        	send ia-pd 5;
                                                send ia-pd 6;
                                        	send ia-pd 7;
                                        	request domain-name-servers;
                                        	request domain-name;
                                        	script "/var/etc/dhcp6c_wan_script.sh";
                                        };
                                        id-assoc na 0 { };
                                        id-assoc pd 0 {
                                        	prefix-interface lagg-0.4091 {
                                        		sla-id 0;
                                        		sla-len 0;
                                        	};
                                        };
                                        id-assoc pd 1 { 
                                        	prefix-interface lagg-0.4091 {
                                        		sla-id 0;
                                        		sla-len 0;
                                        	};
                                        };
                                        ...
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          fox hound
                                          last edited by fox hound

                                          Having issues with CE 2.7.1. I am able to ping from WAN, but no device on LAN can ping out to internet IPv6 address.

                                          LAN device can ping WAN and WAN can ping the LAN device's IPv6 address, but the LAN device can't ping an internet IPv6 address. The LAN interface from pfSense can't even ping the internet IPv6 address.

                                          Also I am able to traceroute from the WAN. Traceroute from the pfSense LAN interface just shows:

                                           1  * * *
                                           2  * * *
                                           3  * * *
                                          

                                          This was working on a prior pfSense+, but since I've lost all data on my server I have had to start from scratch.

                                          Can someone please help? I'm pulling my hair out over this nonsense.

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            marcg @fox hound
                                            last edited by marcg

                                            @fox-hound Does ifconfig -a inet6 -- via ssh or Diagnostics>CommandPrompt -- show v6 addresses on the expected interfaces? Do you have LAN-side firewall rules that permit outbound v6 traffic?

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