[c-nsp] Advertising private network in iBGP
Marco Matarazzo
marmata at libero.it
Wed Dec 15 09:19:40 EST 2004
Hi Prit,
> I m trying to advertise ip block 10.12.5.0/24 & 10.12.9.0/24 in my BGP
> session but it is not getting advertise.
>
> router bgp 100
> network 10.12.5.0
> neighbor 2.2.2.2 prefix-list go-out out
>
> ip route 10.12.5.0 255.255.255.0 1.1.1.1
>
> ip prefix-list go-out permit 10.12.5.0/24
>
> But the network 10.12.5.0 is not appering in my advertised routes on
> this router.
try:
network 10.12.5.0 mask 255.255.255.0
and it should work.
Since you're omitting the netmask in the network statement, Cisco keeps the
'natural' network mask. You don't have a route for the full /8, only to the
more specific /24, and the route won't be advertised this way.
Cheers,
]\/[arco
>
> Is there any special command required to enable this.
>
> Regards
> Prit
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
More information about the cisco-nsp
mailing list