Re: conditional default advertising in BGP with multiple routes

From: Saul Arjona (saul.arjona.bueno@gmail.com)
Date: Wed Oct 17 2007 - 17:30:24 ART


> Bob,

I labbed it up and it is not working as a functional AND but as a functional
OR as Koen mentioned. So as long as one of the routes is still in the
routing table we will still advertise the default route, it will stop
advertising it only if both routes are out of the routing table.

regards,
-Saul

You might want to lab this up. When I do a conditional default using
> RIP or BGP the router in fact implements the match as an AND function.
> In other words, BOTH must be in the table. Here is an example with BGP:
>
> interface Loopback2
> ip address 2.2.2.2 255.255.255.0
> !
> interface Loopback20
> ip address 20.0.0.1 255.0.0.0
> shutdown
> router bgp 200
> no synchronization
> bgp log-neighbor-changes
> neighbor 172.16.25.5 remote-as 500
> neighbor 172.16.25.5 default-originate route-map CONDITIONAL
> no auto-summary
> access-list 10 permit 2.0.0.0
> access-list 20 permit 20.0.0.0
> !
> route-map CONDITIONAL permit 10
> match ip address 10 20
>
> As soon as I shut Loop20, BGP withdraws the default. As soon as I
> no-shut it, BGP advertises it.
>
> Yes the route-map 'looks' like an 'or'. But it is in fact implemented
> as an 'and' (on my equipment!)
>
> Hth,
>
> --
>
>
> Bob Sinclair CCIE 10427 CCSI 30427
> www.netmasterclass.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Nov 16 2007 - 13:11:15 ART