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

    0.0.0.0/0 BGP route being advertised

    Scheduled Pinned Locked Moved FRR
    6 Posts 2 Posters 880 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
      ttblum
      last edited by ttblum

      Hello,

      I notice I'm advertising routes that I don't want to. Status-->FRR-->BGP Routes from one of my routers is showing:

      *> 0.0.0.0/0 ip.vpn.ip.nei.bor 0 0 <NeighborAS1> ?
      *> 8.8.8.8/32 ip.vpn.nei.bo.or 0 <NeighborAS1> <NeighborAS2> ?

      How can I prevent these routes from being advertised or accepted?

      If I manually restart the FRR BGP service on a router, it's default route gets replaced with a remote gateway, and internet access goes down.

      I've tried setting the acceptfilter option to ignore these routes but it has no effect.

                                          <acceptfilter>ON</acceptfilter>
                                          <routevalue>8.8.8.8/32</routevalue>
                                          <routetarget>bgp|ip.vpn.ip.nei.bor</routetarget>
      
      1 Reply Last reply Reply Quote 0
      • T
        ttblum
        last edited by ttblum

        One of my routers is set to
        Services-->FRR-->BGP-->BGP-->BGP Network Distribution-->Redistribute:

        Connected Networks: Yes
        FRR static routes: Yes
        Kernel routable/static routes: Yes
        OSPF routes: Yes
        

        My other routers are set to:

        Connected Networks: Yes, 
        FRR static routes: No
        Kernel routable/static routes: No
        OSPF routes: No
        
        1 Reply Last reply Reply Quote 0
        • Z
          Zawi
          last edited by

          Use Prefix Lists

          Services>FRR>BGP>Edit>Neighbors >> Peer Filtering>Prefix List Filter

          For example:

          neighbor 10.10.10.20 prefix-list test out

          Prefix Lists

          ip prefix-list test seq 9 deny 0.0.0.0/0
          ip prefix-list test seq 10 permit 30.30.30.0/24
          ip prefix-list test description

          1 Reply Last reply Reply Quote 0
          • T
            ttblum
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • T
              ttblum
              last edited by

              OK, would I have to set prefix lists for every neighbor, incoming or outgoing?

              Is there way to have a prefix list apply to all neighbors?

              1 Reply Last reply Reply Quote 0
              • Z
                Zawi
                last edited by

                you need to apply it by neighbor.

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