From: Khurram Khani (ajmal@xxxxxxxxxxxxxxx)
Date: Fri Jan 21 2000 - 21:26:02 GMT-3
Hello.
I was trying redistribution of static/ default routes in OSPF.
I came across a problem, The interface providing next hop
in static routes , Is this interface should be included in OSPF
'network' why??
Router REDISTRIBUTING Default/ Static Routes
interface Loopback0
ip address 10.1.1.1 255.255.0.0
<---- should I add this interface in OSPF Network statement for
default/ static routes to be redistributed????
router ospf 1
redistribute static metric 100
network 10.10.0.0 0.0.255.255 area 0
neighbor 10.10.1.5 priority 1
neighbor 10.10.1.3 priority 1
default-information originate always metric 100 metric-type 1
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.1.1.2
ip route 203.135.0.0 255.255.255.0 10.1.1.2
!
alias exec i sh ip ro
alias exec ci clear ip ro *
alias exec u undebug all
alias exec c config t
!
line con 0
exec-timeout 30000 0
line 1 60
line aux 0
line vty 0 4
login
!
end
R1-5200-U#
Kindly notice the error reported via 'debug ip ospf spf' instruction.
R5-5300#
.
.
1d18h: OSPF: Started Building Type 5 External Routes
1d18h: OSPF: Start processing Type 5 External LSA 0.0.0.0, mask 0.0.0.0, adv
10.
1.1.1, age 975, seq 0x80000003, metric 100, metric-type 1
1d18h: OSPF: Fail to find route to forwarding addr 10.1.1.2
1d18h: OSPF: Start processing Type 5 External LSA 203.135.0.0, mask
255.255.255.
0, adv 10.1.1.1, age 122, seq 0x80000002, metric 100, metric-type 2
1d18h: OSPF: Fail to find route to forwarding addr 10.1.1.2
1d18h: OSPF: ex_delete_old_routes
1d18h: OSPF: Started Building Type 7 External Routes
1d18h: OSPF: ex_delete_old_routes
1d18h: OSPF: Started Building Type 7 External Routes
1d18h: OSPF: ex_delete_old_routes
R5-5300#undebug all
All possible debugging has been turned off
R5-5300#
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:22:45 GMT-3