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

    Announcing /48 to BGP peer

    Scheduled Pinned Locked Moved IPv6
    41 Posts 5 Posters 10.9k 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.
    • S
      stepheng @yon 0
      last edited by

      @yon-0 Perhaps need a little more detail to see if it is a similar problem? Are your LAN devices getting global IPv6 addresses? That was essentially my problem which was resolved by getting the IPV6 DHCP server and the associated leases server to start / restart. As I said, I'm not really an expert.

      yon 0Y 1 Reply Last reply Reply Quote 0
      • yon 0Y
        yon 0 @stepheng
        last edited by

        @stepheng said in IPv6 broken beyond pfSense after 2.5 upgrade:

        Are your LAN devices getting global IPv6 addresses

        yes, i have myself ipv6 /48 address setup in LAN interface, ipv6 route seem is normal, but i don't know why i can't visit ipv6 network sites.

        1 Reply Last reply Reply Quote 0
        • yon 0Y
          yon 0 @stepheng
          last edited by yon 0

          @stepheng said in IPv6 broken beyond pfSense after 2.5 upgrade:

          Hi, I've been using pfSense for several months on 2.4.5p1 and had IPv6 enabled successfully distributed IPv6 addresses to my computers and devices. My ISP in the UK is Zen and I have a /48.

          Since upgrading to 2.5, I still have a IPV6 address on my pfSense WAN interface (and on the LAN interface), but none of my computers or devices seem to be getting an IPV6 address. I assume that something has happened to the DHCPv6 / RA configuration / process in the upgrade but I would appreciate some suggestions / pointers as to what to look for. I'm happy to provide more information but am not clear what would be helpful at this stage. IPV4 seems to be working fine, and everything else seems OK as well.

          Unlike others I see to have the IPV6 gateway working and IPv6 working OK on pfSense itself - just not getting passed onto other systems on the LAN.

          pf2.5 seem is change not allow use /48 in LAN interface, pfsense 2.4.5 can setup /48 in LAN interfacfe is work. pf 2.5 should not allow use /48 in WAN.

          DerelictD E 2 Replies Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate @yon 0
            last edited by

            @yon-0 As has been mentioned in the redmine, putting a /48 on an interface is not something anyone should do.

            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)

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

              @derelict said in IPv6 broken beyond pfSense after 2.5 upgrade:

              putting a /48 on an interface is not something anyone should do.

              Yeah that is just not something that would ever be done - ever!! A /48 is a route prefix, or maybe a firewall rule - not something that would be on a interface..

              It sure and the hell would not be a mask on a dhcpd - your talking 65k /64s - which would be a normal prefix on an interface.. Or a single L2 network.. A /48 your talking what like

              1,208,925,819,614,629,174,706,176

              Addresses ;) What is that 1.2 Septillion.. dude - really!!

              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.8, 24.11

              yon 0Y 1 Reply Last reply Reply Quote 0
              • yon 0Y
                yon 0 @johnpoz
                last edited by yon 0

                @johnpoz

                /48 is the smallest range among BGP and bgp anycast. Less than /48 will be filtered out by the internet. No matter how much you use, you must set IP prefixes greater than or equal to /48 on at least one interface. Otherwise BGP will not broadcast ip prefixes smaller than /48.
                I set at least 5 /48 IP prefixes. only config /48 or above perfixes in frr bgp, it is will can't work. it is must use /48 or greater setup in interface

                PF is a routing system, not a client. It must follow professional practices and allow any possibility. It can even allow /29 or greater, because this is running a BGP router, and it can be distributed to other customers. No matter what, it is not Toys, can be ISP routers.
                Because RIPE allocates at least one /29 to the customer.

                As far as I know, AS4134 uses your system.
                🤒

                johnpozJ DerelictD 2 Replies Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator @yon 0
                  last edited by

                  @yon-0 said in IPv6 broken beyond pfSense after 2.5 upgrade:

                  /48 is the smallest range among BGP and bgp anycast

                  And what does that have to with assigning a /48 to an IP on an interface -- let me think.. Yeah NOTHING!!

                  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.8, 24.11

                  1 Reply Last reply Reply Quote 0
                  • DerelictD
                    Derelict LAYER 8 Netgate @yon 0
                    last edited by

                    @yon-0 Announcing a /48 via BGP and placing a /48 on an interface are two completely different things.

                    In your BGP configuration:

                    network 2001:db8:abba::/48

                    On interfaces:

                    2001:db8:abba:1:::/64
                    2001:db8:abba:2::/64
                    2001:db8:abba:3::/64
                    2001:db8:abba:4::/64

                    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)

                    yon 0Y 1 Reply Last reply Reply Quote 0
                    • yon 0Y
                      yon 0 @Derelict
                      last edited by

                      @derelict said in IPv6 broken beyond pfSense after 2.5 upgrade:

                      @yon-0 Announcing a /48 via BGP and placing a /48 on an interface are two completely different things.

                      In your BGP configuration:

                      network 2001:db8:abba::/48

                      On interfaces:

                      2001:db8:abba:1:::/64
                      2001:db8:abba:2::/64
                      2001:db8:abba:3::/64
                      2001:db8:abba:4::/64

                      only network 2001:db8:abba::/48 setup , BGP will not broadcast /48 out. In addition, there is no technical requirement that it must not be used /48 or greater in interface.

                      yon 0Y DerelictD 2 Replies Last reply Reply Quote 0
                      • yon 0Y
                        yon 0 @yon 0
                        last edited by

                        This is similar to how I have many big houses, but you said that one person can live in a small house, and the big house must be divided into the smallest house.

                        Then I have a lot of houses that are in greater demand. And I like to live in big houses. It doesn't say that people cannot live in big houses.

                        There is no problem if the interface is set to /48 or greater in linux, is it that the freebsd restriction does not allow the use of /48?

                        I Can't understand this, everyone has their own resources and preferences. There are different needs, if it is not a technical problem, it should not be restricted to the smallest /64. Otherwise, BGP will not stipulate that the minimum is /48

                        1 Reply Last reply Reply Quote 0
                        • DerelictD
                          Derelict LAYER 8 Netgate @yon 0
                          last edited by Derelict

                          @yon-0 said in IPv6 broken beyond pfSense after 2.5 upgrade:

                          @derelict said in IPv6 broken beyond pfSense after 2.5 upgrade:

                          @yon-0 Announcing a /48 via BGP and placing a /48 on an interface are two completely different things.

                          In your BGP configuration:

                          network 2001:db8:abba::/48

                          On interfaces:

                          2001:db8:abba:1:::/64
                          2001:db8:abba:2::/64
                          2001:db8:abba:3::/64
                          2001:db8:abba:4::/64

                          only network 2001:db8:abba::/48 setup , BGP will not broadcast /48 out.

                          Yes, it will if it is configured correctly.

                          In addition, there is no technical requirement that it must not be used /48 or greater in interface.

                          Yes, actually, there is. See Also RFC7421.

                          The de facto length of almost all IPv6 interface identifiers is therefore **64 bits.**
                          **The only documented exception** is in [RFC6164], which standardizes 127-bit prefixes for 
                          point-to-point links between routers, among other things, to avoid a loop condition
                          known as the ping-pong 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)

                          yon 0Y 1 Reply Last reply Reply Quote 0
                          • yon 0Y
                            yon 0 @Derelict
                            last edited by

                            @derelict

                            I tested it, there must be an interface setting /48 to bgp broadcast. if LAN or other interface has no /48 or greater, pfsense 's frr can't normal broadcast. to upstream.

                            DerelictD yon 0Y 2 Replies Last reply Reply Quote 0
                            • DerelictD
                              Derelict LAYER 8 Netgate @yon 0
                              last edited by

                              @yon-0 I can guarantee you that nobody who is successfully announcing an IPv6 /48 has that /48 on an interface.

                              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)

                              yon 0Y 1 Reply Last reply Reply Quote 0
                              • yon 0Y
                                yon 0 @yon 0
                                last edited by

                                In addition, for larger IP segments, the shortest IP address can be used.
                                For example 2400:3200::1 2400:da00::6666

                                DerelictD 1 Reply Last reply Reply Quote 0
                                • DerelictD
                                  Derelict LAYER 8 Netgate @yon 0
                                  last edited by

                                  Anyone else?

                                  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)

                                  yon 0Y 1 Reply Last reply Reply Quote 0
                                  • yon 0Y
                                    yon 0 @Derelict
                                    last edited by

                                    @derelict said in IPv6 broken beyond pfSense after 2.5 upgrade:

                                    @yon-0 I can guarantee you that nobody who is successfully announcing an IPv6 /48 has that /48 on an interface.

                                    i using /48 setup interface in ubuntu 20.10 system and runing frr 7.5

                                    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9000
                                            inet 185.154.1.130  netmask 255.255.254.0  broadcast 185.154.1.255
                                            inet6 2a0d:2405:512::1  prefixlen 48  scopeid 0x0<global>
                                            inet6 fe80::278:34ff:fee6:2f3f  prefixlen 64  scopeid 0x20<link>
                                            ether 00:70:30:e6:2f:3f  txqueuelen 200000  (Ethernet)
                                            RX packets 35921977  bytes 19914818009 (19.9 GB)
                                            RX errors 0  dropped 8  overruns 0  frame 0
                                            TX packets 24672157  bytes 19845868488 (19.8 GB)
                                            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • yon 0Y
                                      yon 0 @Derelict
                                      last edited by yon 0

                                      @derelict said in IPv6 broken beyond pfSense after 2.5 upgrade:

                                      Anyone else?

                                      240C::6666 240C::6644

                                      DIG Output:
                                      dig @240C::6666 yahoo.com SOA

                                      ; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.3 <<>> @240C::6666 yahoo.com SOA
                                      ; (1 server found)
                                      ;; global options: +cmd
                                      ;; Got answer:
                                      ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58824
                                      ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

                                      ;; OPT PSEUDOSECTION:
                                      ; EDNS: version: 0, flags:; udp: 4096
                                      ;; QUESTION SECTION:
                                      ;yahoo.com. IN SOA

                                      ;; ANSWER SECTION:
                                      yahoo.com. 1800 IN SOA ns1.yahoo.com. hostmaster.yahoo-inc.com. 2021022619 3600 300 1814400 600

                                      ;; Query time: 18 msec
                                      ;; SERVER: 240c::6666#53(240c::6666)
                                      ;; WHEN: Sat Feb 27 00:52:23 CET 2021
                                      ;; MSG SIZE rcvd: 99

                                      ---- Finished ------

                                      https://bgp.he.net/ip/240C::6666

                                      it is using /28 ipv6 for interface and bgp

                                      yon 0Y DerelictD johnpozJ 3 Replies Last reply Reply Quote 0
                                      • yon 0Y
                                        yon 0 @yon 0
                                        last edited by

                                        DIG Output:
                                        dig @2001:da8::666 yahoo.com SOA

                                        ; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.3 <<>> @2001:da8::666 yahoo.com SOA
                                        ; (1 server found)
                                        ;; global options: +cmd
                                        ;; Got answer:
                                        ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41270
                                        ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

                                        ;; OPT PSEUDOSECTION:
                                        ; EDNS: version: 0, flags:; udp: 4096
                                        ;; QUESTION SECTION:
                                        ;yahoo.com. IN SOA

                                        ;; ANSWER SECTION:
                                        yahoo.com. 1800 IN SOA ns1.yahoo.com. hostmaster.yahoo-inc.com. 2021022619 3600 300 1814400 600

                                        ;; Query time: 418 msec
                                        ;; SERVER: 2001:da8::666#53(2001:da8::666)
                                        ;; WHEN: Sat Feb 27 01:00:26 CET 2021
                                        ;; MSG SIZE rcvd: 102

                                        ---- Finished ------

                                        DerelictD 1 Reply Last reply Reply Quote 0
                                        • DerelictD
                                          Derelict LAYER 8 Netgate @yon 0
                                          last edited by

                                          @yon-0 Yet here you are with problems.

                                          Untitled 2.png

                                          Instead of arguing with me about it, please argue with Douglas Comer instead.

                                          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)

                                          yon 0Y 1 Reply Last reply Reply Quote 0
                                          • DerelictD
                                            Derelict LAYER 8 Netgate @yon 0
                                            last edited by

                                            @yon-0 You are confusing routes and allocations with interface addressing. Please read up on the difference. Happy to help you but in this case you are wrong (and continue to belabor an incorrect position) and your IPv6 journey will be much more successful if you adhere to the established rules, standards, and protocols instead of making up your own.

                                            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)

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