cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2483
Views
5
Helpful
4
Replies

Secondary IP Block advertised in BGP

lkadlik
Level 1
Level 1

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

4 Replies 4

rtjensen4
Level 4
Level 4

Yes, That will work as you expect. Just fired up the config in GNS3 and it works.

Thank you.

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.

Don't forget to rate helpful posts.

Oh yeah. I used the mask statement when I labbed it out.