Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

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

 
 
E.Finlayson
Guest
Posts: n/a
 
      09-10-2004
Interesting question for you experts:

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

ROUTER1--------- 100BaseTX -------ROUTER2
\ /
100BaseTX T1
\ /
FW1---VPN---FW3---ROUTER3--

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 192.168.1.0/24, etc.)

Router IPs:
ROUTER1 192.168.255.1/30 to ROUTER2 192.168.255.2/30
ROUTER2 192.168.255.5/30 to ROUTER3 192.168.255.6/30
ROUTER1 192.168.255.9/30 to FW1 192.168.255.10/30
ROUTER3 192.168.255.13/30 to FW3 192.168.255.14/30

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 192.168.3.0 255.255.255.0 192.168.255.10
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:
192.168.3.0 192.168.255.9 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
192.168.255.4/30 net goes down... but that's way, way down on my
list.)
 
Reply With Quote
 
 
 
Reply

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 alejabad@gmail.com Cisco 12 03-26-2008 09:23 AM
Why doesn't OSPF redistribute secondary address unless "redistribute connected"? worldwidestar@sina.com.cn 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



Advertisments