cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
317
Views
10
Helpful
1
Replies

Adverstise a subnet with bgp

stephtchoko
Level 3
Level 3

i'm curretly implemented bgp,

router bgp 1000

network 10.1.1.0

neighbor 1.1.1.1 remote-as 2000

neighbor 1.1.1.1 prefix-list first

neighbor 1.1.1.2 remote-as 2000

neighbor 1.1.1.2 prefix-list two

ip prefix-list first 10.1.1.192/26

ip prefix-list two 10.1.1.128/26

The subnet are not advertise to neighbor.

Can somebody help to diagnose ?

Regards.

1 Reply 1

Harold Ritter
Cisco Employee
Cisco Employee

By default IOS uses the default classful mask, which in the case of 10.1.1.0 is 255.0.0.0. If you want to advertise the /24 configure as follow:

network 10.1.1.0 mask 255.255.255.0

Hope this helps,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Review Cisco Networking products for a $25 gift card