06-11-2013 01:39 AM - edited 03-07-2019 01:49 PM
Hello,
A question.
Is there any way to have my Cisco 877W Router alter from using one static route to another static route when another router on the network is reporting destination host unreachable?
Router 1 (192.168.2.253)
Dialer0 -> ppoe to internet
Vlan1 -> local 192.168.2.0/24
Router 2 (192.168.2.254)
Dialer0 -> ppoe to managed VPN (172.16.28.1)
Vlan1 -> local 192.168.2.0/24
Router 2 is connected to another network through a managed VPN and that network also has internet access. I want to be able to have two routes to the internet on Router 2. And when Router 1 internet goes down packets get routed through the VPN instead.
I currently have on Router 2
ip route 0.0.0.0 0.0.0.0 192.168.2.253
ip route 10.0.0.0 255.255.255.0 Dialer0
ip route 0.0.0.0 0.0.0.0 172.16.28.5 250
Which does nothing when Router 1 has its Dialer0 interface shutdown, or goes offline completely.
I suspect I could reverse the setup and have everything routed through the VPN by default and then if / when Dialer0 interface goes down it would switch to using Router 2, but if the problem is in the remote network and interface Dialer0 stays up, it would probably do the same thing... nothing.
Any help is appreciated. All devices mentioned are Cisco 877W routers with ADSL and a bunch of fast ethernet interfaces.
06-11-2013 02:49 AM
Hi,
Let me try to understand: machines on your LAN are using R1 for internet access and R2 for VPN access and you want them to use R2 for Internet access in case the WAN link on R1 is failing ?
If I understood correctly then you should use HSRP with interface tracking to achieve what you want.
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094e8c.shtml
Regards
Alain
Don't forget to rate helpful posts.
06-11-2013 03:26 AM
You understand correctly.
I will investigate the routing protocol you mention. Thanks.
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