Re: Conditional default issue in OSPF

From: Ray Masbad (rmasbad@sbcglobal.net)
Date: Mon Oct 14 2002 - 11:30:35 GMT-3


Elmer,

The only I see is that you specified your default network differently
than the subnet specified in your prefix-list.

cebuano wrote:

>Hi all,
>Following Solie's Lab 24, I'm trying to have the Hub configured with a
>conditional default where it will no longer advertise the default route
>when its Ethernet interface to the Internet router goes down. However,
>as soon as the "route-map condition" is added to the "default-info orig
>always", it just stops advertising the default regardless if its
>Ethernet is up/down. Hub config is as follows.
>
>dental-ho#s
>!
>interface Ethernet0
> ip address 128.10.1.5 255.255.255.0
>!
>interface Serial0
> no ip address
> encapsulation frame-relay
>!
>interface Serial0.1 multipoint
> ip address 172.16.1.5 255.255.255.0
> ip ospf priority 255
> frame-relay map ip 172.16.1.6 110 broadcast
> frame-relay map ip 172.16.1.1 120 broadcast
>!
>interface Serial0.2 point-to-point
> ip address 172.16.2.5 255.255.255.252
> frame-relay interface-dlci 130
>!
>router ospf 2002
> router-id 192.168.200.200
> area 10 nssa default-information-originate
> network 128.10.1.5 0.0.0.0 area 0
> network 172.16.1.5 0.0.0.0 area 0
> network 172.16.2.5 0.0.0.0 area 10
> neighbor 172.16.1.1
> neighbor 172.16.1.6
> default-information originate always route-map condition
>!
>ip classless
>ip default-network 128.10.0.0
>!
>ip prefix-list cond seq 5 permit 128.10.1.0/24
>!
>route-map condition permit 10
> match ip address perfix-list cond
>
>Any comments are greatly appreciated.
>
>Elmer



This archive was generated by hypermail 2.1.4 : Tue Nov 05 2002 - 08:35:46 GMT-3