From: Christopher Van Heuveln (cvanheuv@xxxxxxxxx)
Date: Sun Aug 27 2000 - 17:36:53 GMT-3
You may see it in the routing table but it isn't making
it into the OSPF database. On Router A do "sh ip os d ext"
and you should NOT see an LSA in there for 0.0.0.0. If it
ain't in the database it ain't gettin' advertised.
"Redistribute static" isn't used when it comes to injecting
a default route into OSPF. Normally that command would just
look at every "S" route in the routing table and create
type 5 LSAs for them, but OSPF will not redistribute a default
route. (note "subnets" keyword won't help in this case)
"default-info orig" is the only way to do this. This command is
going to look in the routing table for a 0.0.0.0 route, regardless
of origin (static, eigrp, etc) and if one exists it will create
a type 5 LSA for it. The "always" keyword will create the LSA
even if there's no 0.0.0.0 route in the RT.
Chris
On Wed, Aug 23, 2000 at 03:47:08PM -0400, Harbir Kohli wrote:
> Hello Group,
>
> I do the following:
> Router A
> ---------
> ip route 0.0.0.0 0.0.0.0 10.10.10.2
>
> router ospf 1
> network 10.10.10.0 0.0.0.255 area 0
> redistribute static metric-type 1 metric 100
>
> On router A if I do a show ip route I see the default route
>
> but on any other routers that are exchanging static routes with A I do
> not see the static route.
> I know OSPF also has a default-information originate command, but what
> does redistribute static do ?
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:31 GMT-3