cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
386
Views
0
Helpful
2
Replies

BGP Routing Question

ksarin123_2
Level 1
Level 1

My router is advertising several networks through BGP into the MPLS cloud However, none of the advertised routers are reaching any other MPLS routers. There is no route filtering happening anywhere within the MPLS.

The router has a default route pointing to a 3750 switch for reaching all the networks it is advertising. As a test, I wrote a static route on the router for one particular subnet that it is advertising (pointing this route to the 3750 also). Now this subnet is reachable from other routers on the MPLS.

So my question is, why did I need to write a static route for that one subnet in order for the router to advertise it? Should a default route to the 3750 not suffice?

Thanks!

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

Kunal

For an EBGP peer to advertise a subnet using the "network" statement under the bgp router config there must be a match in the IGP routing table. The default-route is not a match. So when you added a static for the specific subnet your BGP router could then advertise it out.

Solutions -

1) write out statics for all

2) redistribute IGP into BGP and don't use network statements

3) make sure your BGP router has IGP routes for all the "network" subnets you want to advertise.

2 & 3 rely on your BGP router having a full IGP routing table and not just a default route.

Jon

View solution in original post

2 Replies 2

BrinksArgentina
Level 1
Level 1

All routers have the same BGP AS number?

can you post the show ip bgp ?

Guido.

Jon Marshall
Hall of Fame
Hall of Fame

Kunal

For an EBGP peer to advertise a subnet using the "network" statement under the bgp router config there must be a match in the IGP routing table. The default-route is not a match. So when you added a static for the specific subnet your BGP router could then advertise it out.

Solutions -

1) write out statics for all

2) redistribute IGP into BGP and don't use network statements

3) make sure your BGP router has IGP routes for all the "network" subnets you want to advertise.

2 & 3 rely on your BGP router having a full IGP routing table and not just a default route.

Jon

Review Cisco Networking for a $25 gift card