Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

BGP:advertising networks

hi,

According to the diagram and the config, why isn't there a "network 172.16.20.0 mask 255.255.255.0" on router B? Does the "network" statement advertise only connected networks?

please check the attached files (taken from Cisco Student Guide).

4 REPLIES
Silver

Re: BGP:advertising networks

172.16.20.0 is not owned by routerB. It belongs to A. network statement on B would advertise connected routes from B.

Thanks.

Re: BGP:advertising networks

Hi,

it's not necessary as the 172.16.20.0/24 is received via BGP session from router A.

The "network" statement is necessary to advertise to BGP routes received from IGP, static and connected subnets.

See http://www.cisco.com/en/US/docs/ios/12_0/np1/command/reference/1rbgp.html#wp1020532

for details.

BR,

Milan

New Member

Re: BGP:advertising networks

Hi,

The network statement does necessarily advertised connected networks, it is just to advertise the router self network into bgp.

If you wanted to advertise the connected network, just include in the router bgp config "redistribute connected"

Hall of Fame Super Silver

Re: BGP:advertising networks

Hello Wassim,

as Milan has correctly noted is RA that is advertising net 172.16.20.0/24 on its iBGP session to RB.

RB can then advertise to RC over an eBGP session the network 172.16.20.0/24 and will change the BGP next-hop attribute to ip 10.1.1.x (BGP next-hop recalculation at EBGP session).

From the point of view of RC there is no difference between the two subnets:

172.16.10.0/24

172.16.20.0/24

both comes over eBGP with AS path= 65000 i

BGP next hop= 10.1.1.x

Hope to help

Giuseppe

261
Views
0
Helpful
4
Replies
CreatePlease to create content