cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
393
Views
5
Helpful
2
Replies

Multiple static routes, same destination Dialer0 and Vlan1?

FatTony80
Level 1
Level 1

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.

2 Replies 2

cadet alain
VIP Alumni
VIP Alumni

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.

Don't forget to rate helpful posts.

You understand correctly.

I will investigate the routing protocol you mention. Thanks.