10-05-2020 05:32 AM - edited 10-05-2020 06:01 AM
I'm needing some configuration assistance/advice. Right now we have a remote site that's connected to our LAN via a full-mesh VPLS uplink and EIGRP configured between sites. The remote branch has its own ISP connection that we'd like to have as its primary route to the internet. I've configured an IP SLA on the external interface of the Remote Branch Router that has a static default route going to the internet. The backup route sends all traffic back to the Core switch to be routed (since EIGRP should reconverge and know to send all traffic through the VPLS connection). The issue I'm having is once the external interface goes down, the redestributed static route holds in EIGRP and the branch core switch still tries to send all internet traffic through the router. I'm not sure how to configure the router to redestribute the static routes properly so if the IP SLA kicks over, EIGRP updates and learns to send traffic through the VPLS connection until the interface comes back up.
Here's the config for the Router and Core switch.
Router:
Interface g0/0
ip address 10.205.1.254 255.255.255.0
router eigrp 1
network 10.205.1.0 0.0.0.255
redistribute static metric 10000 100 255 1 1500
ip sla 1
icmp-echo 8.8.8.8 source-interface g0/1
timeout 8000
frequency 10
ip sla schedule 1 life forever start-time now
track 1 ip sla 1 reachability
ip route 0.0.0.0 0.0.0.0 *ISP Next Hop* track 1
ip route 0.0.0.0 0.0.0.0 10.205.1.1 10
------------------------------------------------------
Core Switch:
Interface Vlan 1
ip address 10.205.1.1 255.255.255.0
router eigrp 1
network 10.205.1.0 0.0.0.255
network 172.25.25.0 0.0.0.255 ***VPLS Network with neighbor at Datacenter established***
--------------------------------------------------------
This is the routing table of the core switch, it does not change whether or not the routers IP SLA kicks in and changes the default route:
Your help is much appreciated
Solved! Go to Solution.
10-05-2020 07:36 PM
Hi
Your core switch already learns a default route from the datacenter right?
When you router is connected to ISP and everything works fine, this router advertise the default route using the redistribute static and so your core prefer that route.
So if you have an IPSLA to the default route on your router, when ISP goes down, the static route is removed and eigrp won't advertise it back to your core switch which will then take the other default route it learns from the Datacenter.
So there's no need to add a static route on the router that points back to the core. This won't work the way you expect.
If you remove the command
ip route 0.0.0.0 0.0.0.0 10.205.1.1 10
and you trigger your ISP to go down, core switch will take the default route learned from DC.
10-05-2020 07:36 PM
Hi
Your core switch already learns a default route from the datacenter right?
When you router is connected to ISP and everything works fine, this router advertise the default route using the redistribute static and so your core prefer that route.
So if you have an IPSLA to the default route on your router, when ISP goes down, the static route is removed and eigrp won't advertise it back to your core switch which will then take the other default route it learns from the Datacenter.
So there's no need to add a static route on the router that points back to the core. This won't work the way you expect.
If you remove the command
ip route 0.0.0.0 0.0.0.0 10.205.1.1 10
and you trigger your ISP to go down, core switch will take the default route learned from DC.
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