0.0.0.0/0 BGP route being advertised
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> ?
*> 188.8.131.52/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>184.108.40.206/32</routevalue> <routetarget>bgp|ip.vpn.ip.nei.bor</routetarget>
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
Use Prefix Lists
Services>FRR>BGP>Edit>Neighbors >> Peer Filtering>Prefix List Filter
neighbor 10.10.10.20 prefix-list test out
ip prefix-list test seq 9 deny 0.0.0.0/0
ip prefix-list test seq 10 permit 220.127.116.11/24
ip prefix-list test description
This post is deleted!
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?
you need to apply it by neighbor.