02-08-2018 08:41 AM - edited 03-05-2019 09:53 AM
Hi,
In a nutshell, I have two routers (R1 and R2). There are two paths between the two: one is a point to point VPN using static routes, and the other is EIGRP via a couple other hops.
...sorry for the oversimplification....
Basically, I want traffic to ALWAYS prefer the EIGRP path in both directions, UNLESS the interface on R2 is down, and then prefer the VPN path in both directions.(until that interface comes back online.) Right now I have to perform this switch manually:
To use the VPN:
on R1:
static route pointing all 192.168.1.0/24 traffic out the VPN
R1# sh ip route 192.168.1.0/24
192.168.1.0/24, ubest/mbest: 1/0
*via <VPN IP>, [1/0], 1w3d, static
on R2:
-disable the EIGRP facing interface
To use the EIGRP path:
On R1:
remove the Static route
R1# no ip route 192.168.1.0/24 <VPN IP>
On R2:
enable the EIGRP facing interface
I can't seem to get this to work using routing, but I'm probably over-complicating it. Any suggestions would be most appreciated, thanks!
Solved! Go to Solution.
02-08-2018 09:04 AM
Hello,
you can try to influence the metrics, but why not use an SLA and configure failover routes ?
02-08-2018 09:04 AM
Hello,
you can try to influence the metrics, but why not use an SLA and configure failover routes ?
02-08-2018 09:23 AM
I had not ever used IP SLA before, but reading over it, it looks like that may be a good option. I will look into that as well, thank you.
02-08-2018 10:40 AM
So, one question... I haven't actually deployed this yet, Still working on drawing it out...
I've got the configs mapped out to setup IP SLA on R2:
R2# int Gi0/0/0
R2# desc PRIMARY LINK
R2# ip add 192.168.3.1 255.255.255.252
R2# int Gi0/1
R2# desc SECONDARY LINK
R2# ip add 192.168.2.1 255.255.255.252
R2# track 10 ip sla 1 reachability
R2# ip sla 1
R2# icmp-echo 192.168.3.2 source-ip 192.168.3.1
R2# ip sla schedule 1 life forever start-time now
R2# ip route 0.0.0.0 0.0.0.0 192.168.3.2 track 10
R2# ip route 0.0.0.0 0.0.0.0 192.168.2.2 10
I see how this will influence the default route for traffic leaving R2. But I'm not sure about how to configure this on R1. Currently, if both paths are up, on R1 I have two routes to get to 192.168.1.0/24
-static route pointing to the VPN IP
-dynamically learned EIGRP route.
If I leave it like this, traffic will always prefer the VPN route back to 192.168.1.0/24, even if it comes in via the EIGRP route.
Do I need to configure a similar SLA setup on R1 as well using the 192.168.1.0/24 route instead of the 0.0.0.0 route?
02-09-2018 08:02 AM
So SLA's ended up working great for this problem. I set it up on both routers. Thanks for the suggestion!
02-08-2018 10:26 AM
02-08-2018 10:49 AM
I had been trying to manipulate the metrics on the R1 side where the static route is built, with some success, but was having troubles getting it to work on the R2 side. Perhaps I could try a combination... configure SLA on R2 and modify the metrics on R1... I will test that out as well, thanks!
02-08-2018 10:54 AM
Also, our ASA doesn't currently support EIGRP... That would be a solution, but probably not an option at this time...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide