cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1019
Views
0
Helpful
2
Replies

standby default route

josephschung
Level 1
Level 1

We have a 3750 stack in site A, by static route, it points all incoming and outgoing traffice to the firewall in site B for security reason.

But, if the inter-site link is down, the default route will not be available. Thus, I think I need another default route, which points to the local site LAN in case the inter-site link is down. Can I give the standby default route a higher distance metric to build up the "HA" of the two default routes? Or is there a better idea?

Thanks!

1 Accepted Solution

Accepted Solutions

mrdogantr
Level 1
Level 1

Hi,

    You can use default route with different metric or ip sla. 

ip route 0.0.0.0 0.0.0.0 {gw1} 10

ip route 0.0.0.0 0.0.0.0 {gw2} 20

or

ip sla 10
icmp-echo {branch office ip}
timeout 1000
frequency 3
ip sla schedule 10 life forever start-time now
track 10 ip sla 10 reachability

ip route {branch office ip} 255.255.255.255 {gw1}


ip route 0.0.0.0 0.0.0.0 {gw1} track 10
ip route 0.0.0.0 0.0.0.0 {gw2} 20
hth
Muammer

View solution in original post

2 Replies 2

Philip Ratzsch
Level 1
Level 1

Joseph,

Perhaps http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html#wp1087713 is what you're looking for - look at the 'ip route' section and take a peek at the bit about object tracking.  Essentially, it allow a static route to be installed only if say, a link is up or something along those lines.

Regards,

Philip Ratzsch

mrdogantr
Level 1
Level 1

Hi,

    You can use default route with different metric or ip sla. 

ip route 0.0.0.0 0.0.0.0 {gw1} 10

ip route 0.0.0.0 0.0.0.0 {gw2} 20

or

ip sla 10
icmp-echo {branch office ip}
timeout 1000
frequency 3
ip sla schedule 10 life forever start-time now
track 10 ip sla 10 reachability

ip route {branch office ip} 255.255.255.255 {gw1}


ip route 0.0.0.0 0.0.0.0 {gw1} track 10
ip route 0.0.0.0 0.0.0.0 {gw2} 20
hth
Muammer