Link to home
Create AccountLog in
Avatar of amigan_99
amigan_99Flag for United States of America

asked on

How to attract traffic to one wan router over another OSPF Q

Imagine a remote site - call it Dallas - with two WAN routers. Router WAN1 connects to the data center in Denver over a 1Gbps circuit and router WAN2 connects to the data center over another 1Gbps circuit. All the routers are participating in OSPF.

[core-sw1]---[WAN1]~~~~ckt1~~~~[DC-Core-1]
[core-sw1]---[WAN2]~~~~ckt2~~~~[DC-Core-2]

The Dallas site has network 172.25.0.0/16 and currently that gets advertised such that traffic to Dallas goes equally over WAN2 and WAN1. I would like a specific subnet say 172.25.200.0/23 to prefer ckt2 unless ckt2 goes down then it would use ckt1. What would I do in OSPF to color the route for 172.25.200.0 so that the data center prefers sending via ckt2?

Thank you.
Avatar of Hemil Aquino
Hemil Aquino
Flag of United States of America image

Do you have any diagram of your network? There's many method to do so, but I'd love to analyze your thought with more detail if I see your diag.
Avatar of amigan_99

ASKER

I've attached a very simplified version. The two WAN router at each site are connected to each other and connected to a corresponding WAN router at the remote site. The routers are transmitted via OSPF. If I wanted Denver networks to choose say circuit 2 for 172.25.200.0 - what would I do to get that path favored? I could I suppose go onto the Denver router connected to ckt and use a static route with the lower metric and being favored for being more specific. But there's got to be an OSPF way to do this. It's just been too long since I watched the training on this.
ScrnGrab2673-171018-20.02.jpg
ASKER CERTIFIED SOLUTION
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Thanks. I also found a good explanation and example here:

https://learningnetwork.cisco.com/thread/57487
You're welcome.