Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Redistribute static to OSPF, overriding the slower OSPF-native route?

Thread Tools

Redistribute static to OSPF, overriding the slower OSPF-native route?

Posts: n/a
Interesting question for you experts:

I've got three routers in a network loop, arranged as such:

ROUTER1--------- 100BaseTX -------ROUTER2
\ /
100BaseTX T1
\ /

The links between ROUTER1 and ROUTER2, and ROUTER2 and ROUTER3, are
point-to-point links running OSPF. The link between ROUTER1 and
ROUTER3 is a VPN tunnel over an ISP routed private backbone, and can
only run static routes. All routers are in Area 0, and each has a
LAN behind it of the same number (ROUTER1 has, etc.)

Router IPs:

Right now, in order to get traffic to use the fastest link, I have to
write a static route into ROUTER2 to go to ROUTER1 to reach ROUTER3.
The firewall-to-router and firewall-to-firewall connections are all
configured correctly, as with the static route in place, connectivity
is fine.

On ROUTER1, I've done this:
ip route
router ospf 1
redistribute static metric 20 metric-type 1 subnets

And doing a show ip ospf database on all the routers show the
now-advertised route under External Link states: 317 0x80000777 0x2620 0

But when I drop the static route off ROUTER2, it chooses the
higher-cost (4 native-OSPF route over the lower-cost (21 total, by
my calculation) redistributed route.

Any ideas on what I'm missing, or how to get this to work?

(Oh, and ideally, I'd love to have ROUTER3 doing the reverse:
advertising a 20-cost route to ROUTER1's LAN via the VPN in case the net goes down... but that's way, way down on my
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: HELP! Ping getting slower and slower and slower! Paul Computer Information 2 04-03-2012 05:58 PM
BGP static route from ISP and redistribute into OSPF Cisco 12 03-26-2008 09:23 AM
Why doesn't OSPF redistribute secondary address unless "redistribute connected"? Cisco 2 06-05-2007 09:44 PM
Redistribute static John Strow Cisco 1 04-22-2007 04:36 AM
Need Quite EIGRP Redistribute Static Help Evolution Cisco 5 05-24-2006 03:55 PM