|
Posted by Ben on December 23, 2004, 1:48 am
If you were Registered and logged in, you could reply and use other advanced thread options JNCIP#0136 wrote:
> Hello,
>
> Is Your next-hop 172.168.1.1 by any chance indirect and therefore being
> resolved via OSPF when primary link is back UP?
> I would suggest to nail down the static route by telling the router that
> next-hop needs to be resolved via BRI/Dialer interface only:
> ip route 192.168.0.0 255.255.255.0 Dialer0 172.168.1.1 150
> For more info see http://www.cisco.com/warp/public/105/ip_static_routes.html
> HTH,
> Cheers
> Alex
>
>
>>Hi there,
>>
>>My network is running OSPF and static route for ISDN connection for each
>>sites. Basically, I have redundancy whereby when the primary link is
>>down at site(s), ISDN connection will take over, and when the primary
>>link is back in action again, the ISDN will disconnect automatically.
>>This is the config under router ospf and static routes:
>>
>>!
>>router ospf 100
>>log-adjacency-changes
>>network 10.0.0.0 0.0.0.255 area 0
>>!
>>ip route 192.168.0.0 255.255.255.0 172.168.1.1 150
>>ip route 192.168.1.0 255.255.255.0 172.168.1.2 150
>>ip route 192.168.2.0 255.255.255.0 172.168.1.3 150
>>!
>>
>> From my understanding, when the routes see ospf, it will prefer to use
>>ospf rather than static becuase the static route AD is 150 compared to
>>OSPF 110.
>>
>>However, due to some changes made by my college, I noticed that under
>>router ospf 100, there is command "redistribute static subnet"
>>
>>!
>>router ospf 100
>>log-adjacency-changes
>>redistribute static subnet
>>network 10.0.0.0 0.0.0.255 area 0
>>!
>>ip route 192.168.0.0 255.255.255.0 172.168.1.1 150
>>ip route 192.168.1.0 255.255.255.0 172.168.1.2 150
>>ip route 192.168.2.0 255.255.255.0 172.168.1.3 150
>>
>> From this config, when the primary link down, ISDN will take over but
>>when is primary is back online, it still prefer the routes for static.
>>For such, I need to clear static routes for each site(s) connected.
>>
>>It seems that the routes is still prefer to use static routes.It is
>>because of the command or the AD in static routes defined?
>>
>>thanks in advance.
>>
>>maher
>
>
>
That's a very good point
|