cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1013
Views
0
Helpful
5
Replies

Advertised BGP Networks using Static Routes

myounger
Level 1
Level 1

If a static route is configured to advertise a /24 network using a next hop address that is behind an interface on this router that is currently down, will those networks be advertised out via BGP.

Please advise and thank you!

5 Replies 5

Yudong Wu
Level 7
Level 7

should not since that static route will not be in routing table any more.

The network will not be advertised by BGP.

Mohamed Sobair
Level 7
Level 7

Hi,

If the next-hop is not reachable, then no rules applied.

BGP first check the next-hop reachability by performing lookup in the Ip routing table (RIP) , if the next-hop not reachable, then No network will be advertised.

HTH

Mohamed

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Matt,

the BGP process executes routinely every x seconds a control of BGP next hops reachability so at the next control if the next hop is found unreachable all BGP prefixes that have this BGP next-hop are removed from the BGP table and a withdrawn message is prepared and sent out to all BGP neighbors telling to remove those prefixes.

Edit:

the check of BGP next-hop is made by examining the IP routing table not by sending probe packets.

Hope to help

Giuseppe

As Matt stated,

     Edit:

     the check of BGP next-hop is made by examining the IP routing table not by sending probe packets.

BGP will advertise any network (specified by network statement)  if it is known via an IGP or in the IGP routing table.

So,if you do a "show ip route" and see a route listed (static or otherwise) that matches a BGP network statement, BGP will advertise the route.

Use the sho ip bgp neighbors X.X.X.X advertised-routes  command to see whats being sent to neighbot. Where x is neighbor ip that has adjacency up.

It is easy enough to test in a lab in 5 mins. using GNS3 or something like that.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card