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

    FRR BGP not distributing IPv6

    FRR
    3
    12
    1.6k
    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.
    • O
      Ofloo
      last edited by Ofloo

      For some reason it is not distributing IPv6 networks listed under "Networks to Distribute".

      c47733d9-3a1e-4f0d-9009-9fa388c1c5cf-afbeelding.png

      Always worked like this just noticed it stopped working not sure if it came after an update, ..

      1 Reply Last reply Reply Quote 0
      • O
        Ofloo
        last edited by

        Figrued out what the problem was, I recently added a null route for a specific IP range.

        It added:

        ip route 172.31.0.0/20 Null0
        ......
        !
        route-map AllowAll permit 100
        !
        ip prefix-list ACCEPTFILTER seq 10 deny 172.31.0.0/20
        ip prefix-list ACCEPTFILTER seq 20 permit any
        !
        route-map ACCEPTFILTER permit 10
         match ip address prefix-list ACCEPTFILTER
        !
        ip protocol bgp route-map ACCEPTFILTER
        !
        ip protocol ospf route-map ACCEPTFILTER
        !
        ipv6 protocol bgp route-map ACCEPTFILTER
        !
        ipv6 protocol ospf6 route-map ACCEPTFILTER
        !
        line vty
        !
        end
        

        but it didn't add something like

        ipv6 prefix-list ACCEPTFILTER seq 20 permit any
        

        Not sure if that works though but my point is just by adding a null route IPv6 was completely blocked.

        B 1 Reply Last reply Reply Quote 0
        • B
          beermount @Ofloo
          last edited by

          @ofloo

          Same problem here. when I enable the accept filter on a OSPF interface, the ACCEPTFILTER is updated which for me breaks both.

          ipv6 protocol bgp route-map ACCEPTFILTER
          ipv6 protocol ospf6 route-map ACCEPTFILTER

          If I copy the running frr.conf and remove those two lines. The routes start being installed into FIB again.

          O 1 Reply Last reply Reply Quote 0
          • O
            Ofloo @beermount
            last edited by Ofloo

            @beermount not sure if it's a bug, I think it's more a misconfiguration on our end however, you would assume null routing a IPv4 subnet, that it wouldn't break IPv6 routing?

            I mean configuration is set to accept all, however adding a null route seems to still accept all IPv4 but for some reason someone forgot about IPv6?

            B 1 Reply Last reply Reply Quote 0
            • B
              beermount @Ofloo
              last edited by

              @ofloo

              I'm not sure I agree. To me it seems like when an ipv4 prefix-list is added to a ipv6 protocol, no ipv6 routes are installed into FIB.

              B 1 Reply Last reply Reply Quote 0
              • B
                beermount @beermount
                last edited by beermount

                @beermount

                I have one pfSense installation on 2.4.5p1 with FRR 0.6.7_6, which seems to be before this commit https://github.com/pfsense/FreeBSD-ports/commit/5f459e9c4810d0ff57b12d653365f48ca326479f#diff-0a542d78492d5e816f347ae5af25f282f04d668c91272f0411f7d0e4fd350b1aR652-R664 which seems to have introduced the problem with ospf6 and bgp ipv6.

                1 Reply Last reply Reply Quote 0
                • viktor_gV
                  viktor_g Netgate
                  last edited by

                  Redmine issue created:
                  https://redmine.pfsense.org/issues/12815

                  B 1 Reply Last reply Reply Quote 1
                  • B
                    beermount @viktor_g
                    last edited by

                    @viktor_g
                    That was fast! =) Any idea how long it will be until a new package is available?

                    viktor_gV 1 Reply Last reply Reply Quote 0
                    • B
                      beermount
                      last edited by

                      Additional request, could the global route handling section also be made ipv6 aware?

                      viktor_gV 1 Reply Last reply Reply Quote 0
                      • viktor_gV
                        viktor_g Netgate @beermount
                        last edited by

                        @beermount said in FRR BGP not distributing IPv6:

                        Additional request, could the global route handling section also be made ipv6 aware?

                        Please create a new bugreport;
                        https://docs.netgate.com/pfsense/en/latest/development/bug-reports.html

                        B 1 Reply Last reply Reply Quote 0
                        • viktor_gV
                          viktor_g Netgate @beermount
                          last edited by

                          @beermount said in FRR BGP not distributing IPv6:

                          @viktor_g
                          That was fast! =) Any idea how long it will be until a new package is available?

                          In a few hours

                          1 Reply Last reply Reply Quote 0
                          • B
                            beermount @viktor_g
                            last edited by

                            @viktor_g
                            Issue created https://redmine.pfsense.org/issues/12820

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