Conditional Advertisement of Default route

From: gladston@br.ibm.com
Date: Wed Jun 29 2005 - 16:39:02 GMT-3


Have you seen this?

R5 should advertise default network to CAT1 only when it looses it connection to interface ser0/0.
The first part works. R5 advertises the default route on the right condition. (when s0/0 goes down)

But when s0/0 goes up, CAT1 does not cease to receive default route from R5. It seems IOS gets lost on the way back to remove the advertisement of default route, although the static default route disappears
from R5 RIB.

R5 s0/0 is configured with backup interface dialer 200 and has a default network pointing to dialer200.
When R5 looses s0/0, dialer 200 goes up, static default route is installed on R5 RIB and default route is advertised to CAT1.

router ospf 1
 network 148.5.55.0 0.0.0.255 area 50
 network 148.5.235.0 0.0.0.255 area 0
 default-information originate route-map Condition
!
route-map Condition permit 10
 set interface Ethernet0/0
!
ip route 0.0.0.0 0.0.0.0 Dialer200
!
interface Serial0/0
 backup interface dialer 200

CAT1 receives the default when serial 0/0 goes down but when s0/0 goes up CAT1 does not cease to receive the default:

Rack2CAT2#sir
Gateway of last resort is 148.5.55.5 to network 0.0.0.0

O*E2 0.0.0.0/0 [110/1] via 148.5.55.5, 00:00:20, Vlan40
Rack2CAT2#



This archive was generated by hypermail 2.1.4 : Wed Jul 06 2005 - 14:43:45 GMT-3