Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BGP route advertisement

Status
Not open for further replies.

mainstreetexpress

Technical User
Joined
Jan 9, 2003
Messages
92
Location
GB
Hi
I have a BGP lab set up and it is happily working away

I am advertising 192.168.1.0/24 network via BGP to its neighbour who in turn is receiving this


router bgp 65101
no synchronization
network 192.168.1.0
neighbor 10.1.1.100 remote-as 65200

R2#sh ip bgp neighbors 10.1.1.100 advertised-routes
BGP table version is 60, local router ID is 192.168.1.49
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path
*> 192.168.1.0 0.0.0.0 0 32768 i


However if I put more /24 networks in and clear the BGP session, I can still only see the original network being advertised

router bgp 65101
no synchronization
network 192.168.1.0
network 192.168.2.0
network 192.168.3.0
network 192.168.4.0
network 192.168.5.0
neighbor 10.1.1.100 remote-as 65200

R2#sh ip bgp neighbors 10.1.1.100 advertised-routes
BGP table version is 60, local router ID is 192.168.1.49
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path
*> 192.168.1.0 0.0.0.0 0 32768 i


Does anyone know why this would be?


 
Does your router actually have routes to those networks? Try creating static routes and adding "redistribute static" instead of listing the non-connected networks.

Lee.
 
You need to make sure that those routes are in the routing table before BGP will advertise them to any peers.

I.E. Add a "ip route 192.168.5.0 255.255.255.0 null0" static route for testing purposes.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top