12-29-2010 10:42 AM - edited 03-04-2019 10:54 AM
Is it possible to advertise a secondary ip block on an interface in BGP?
For ex
int fa0
ip address 10.10.10.1 255.255.255.0 secondary
ip address 172.16.10.1 255.255.255.0
router bgp 18031
network 10.10.10.0
network 172.16.10.0
neighbor 192.168.10.2 remote-as 17525
in this scenario all else being equal ( ie prefix lists, peering is good) would the 10.10.10.0 network be advertised?
Thank you
12-29-2010 11:01 AM
Yes, That will work as you expect. Just fired up the config in GNS3 and it works.
12-29-2010 11:08 AM
Thank you.
12-29-2010 01:44 PM
Hi,
router bgp 18031
network 10.10.10.0
network 172.16.10.0
neighbor 192.168.10.2 remote-as 17525
It won't advertise anything if no auto-summary is configured which is default on latest IOS releases.
You must enter network 10.10.10.0 mask 255.255.255.0 and network 172.16.10.0 mask 255.255.255.0
Regards.
Alain.
12-29-2010 01:47 PM
Oh yeah. I used the mask statement when I labbed it out.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide