RE: Redistribute static in OSPF

From: Tran Tien Phong (PhongTT2@FPT.COM.VN)
Date: Fri Oct 18 2002 - 22:47:42 GMT-3


That's right

The static route: Administrative Distance = 1
Route learned by OSPF: AD=110 by default
So the route learned by OSPF can never appear in routing table

You can change the AD of static route:
Ip route 0.0.0.0 0.0.0.0 x.x.x.x 120 (or a number higher than 110)

Then the route learned by OSPF will appear in routing table

-----Original Message-----
From: MOLINA, MARTIN J (PBI) [mailto:mm1343@sbc.com]
Sent: Saturday, October 19, 2002 8:06 AM
To: 'Sage the IP Monkey'; 'ccielab@groupstudy.com'
Subject: RE: Redistribute static in OSPF

I took another look at your e-mail and realized that you will never see the
default routes via OSPF due to the administrative distance of the statically
configured default routes (AD of 1 in this case).

-----Original Message-----
From: MOLINA, MARTIN J (PBI)
Sent: Friday, October 18, 2002 5:44 PM
To: 'Sage the IP Monkey'; ccielab@groupstudy.com
Subject: RE: Redistribute static in OSPF

I'm guessing but try adding the "subnets" keyword to your "redistribute
static" command entry. Good luck

-----Original Message-----
From: Sage the IP Monkey [mailto:the_ip_monkey_goes_bananas@hotmail.com]
Sent: Friday, October 18, 2002 5:30 PM
To: ccielab@groupstudy.com
Subject: Redistribute static in OSPF

Dear all,

Have a weird issue with redistribute static in OSPF.

Router3-------------------Router4

Point to point serial interfaces, encap ppp,
clock rate 5600. Int's are UP/UP.

Router3 IP = 173.168.40.1
Router4 IP = 173.168.40.2

They have default static's pointing to each other -
ip route 0.0.0.0 0.0.0.0 x.x.x.x

Under the OSPF process I configured:
redistribute static metric 500 metric-type 1

Output of show ip route on Router3:

Gateway of last resort is 173.168.40.2 to network 0.0.0.0
     173.168.0.0/24 is subnetted, 1 subnets
C 173.168.40.0 is directly connected, Serial1
S* 0.0.0.0/0 [1/0] via 173.168.40.2

But whe I issue a - show ip ospf data/show ip route ospf
the network is not there. Q) What am I missing here?
I got this config to work before, but now am not sure what
I have messed up with.

If you need more outputs/info email me.

rgds,
Sage



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