RE: OSPF conditional default route

From: Scott Livingston (scottl@xxxxxxxxxxxxxxxxx)
Date: Thu Jul 25 2002 - 16:32:18 GMT-3


   
I would agree w/ all of that and just add to what I have numbered # 3
below; and that is even though you are specifying 'always', that does
not mean that the default-route will be sent when the conditional proves
FALSE (conditional subnet gone), even though we have configured the
string with 'always' - as I tested out this morning. The only good the
'always' is doing for us is we don't have to configure a default-route.

-Scott

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Anthony Pace
Sent: Thursday, July 25, 2002 1:28 PM
To: Scott Livingston; ccielab@groupstudy.com
Subject: Re: OSPF conditional default route

I have been following this also. Is this a fair OSPF summary:

1. default-information originate : By itself only sources a default if
the
router has a default route

2. default-information originate always : sources a default even if the
router has NO default route

3. default-information originate always route-map CONDITIONAL-&-METRIC:
needs no default to source the default but will meet the MATCH
conditions of the RM named CONDITIONAL-&-METRIC and SET the metrics and
type on that same statement of the RM

4. default-information originate on a NSSA statement will shoot the
default into the NSSA only if it has one and "no-summary" would shoot
it into the NSSA even if it didn't have a default route

Is this correct"

Anthony PAce

On Thu, 25 Jul 2002 09:06:38 -0500, "Scott Livingston"
<scottl@sprinthosting.net> said:
> Good Morning,
>
> Before leaving my house this today I had some time to play around w/
> some OSPF and found something interesting. This has probably been
> posted here before, I might be the last to know about it, or I am just
> flat out wrong and wasn't awake enough while I was playing.
>
> Anyway, I went to configure 'default-information originate always
> route-map CONDITIONAL-&-METRIC' on router B and decided to verify if
> what Dr. Bill said on p. 166 of his book (Cisco OSPF Command and
> Configuration Handbook) was true. Bill said, "If the keyword always is
> used, the default route will be advertised regardless of the
conditions
> in the route map."
>
> When I set up my configs as you see below I verified that I was
getting
> my 0.0.0.0/0 on all routers downstream from router B. I then pulled
> the
> plug on segment 2, which is the conditional subnet in my route-map. If
> what Bill said is true then I should still see the default-route in
all
> my routers because I used the 'always' keyword in the command string.
> What I have found is that once I pull the plug on seg2 the entire
> network loses the default-route that router B was generating.
>
> So tell me; is Dr. Bill wrong? Did I misconfigure something?
>
> Here is the partial topology:
>
>
> -------- OSPF -------- --------
> | | | | | RIP | |
> | A |----------|---------| | | | |
> | | | | B |----------|------| c |
> | | | | | | |
> | | | | | |
> -------- seg1 7.7.7.0/29 -------- seg2 45.2.2.0/30 --------
>
>
> Router B
> ---------
> !
> router ospf 10
> log-adjacency-changes
> summary-address 70.2.0.0 255.255.248.0
> redistribute rip subnets
> network 7.7.7.2 0.0.0.0 area 1
> default-information originate always route-map CONDITIONAL-&-METRIC
> distribute-list 20 out rip
> !
> access-list 1 permit 45.2.2.0 0.0.0.3
> !
> route-map CONDITIONAL-&-METRIC permit 10
> match ip address 1
> set metric 77
> set metric-type type-1
> !
>
>
> Router A
> ---------
> router ospf 10
> log-adjacency-changes
> network 7.7.7.1 0.0.0.0 area 1
>
>
>
> -Scott



This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:36:43 GMT-3