Cisco Router NAT Failover
interface [[ISP1 Interface]] ip address [[ISP1 IP & Subnet Mask]] no shut interface [[ISP2 Interface]] ip address [[ISP2 IP & Subnet Mask]] no shut ip nat inside source route-map ISP1 interface [[ISP1 Interface]] overload ip nat inside source route-map ISP2 interface [[ISP2 Interface]] overload ip sla 1 icmp-echo [[ISP1 Gateway]] source-interface [[ISP1 Interface]] threshold 3 frequency 5 ip sla schedule 1 life forever start-time now ip sla 2 icmp-echo [[ISP2 Gateway]] source-interface [[ISP2 Interface]] threshold 3 frequency 5 ip sla schedule 2 life forever start-time now route-map ISP2 permit 10 match ip address 10 match interface [[ISP2 Interface]] ! route-map ISP1 permit 10 match ip address 11 match interface [[ISP1 Interface]] ! track 101 ip sla 1 reachability ! track 102 ip sla 2 reachability ip route 0.0.0.0 0.0.0.0 [[ISP1 Gateway]] name [[Name of ISP1]] track 101 ip route 0.0.0.0 0.0.0.0 [[ISP2 Gateway]] 200 name [[Name of ISP2]] track 102



ISP1 Interface:
ISP1 IP & Subnet Mask:
ISP2 Interface:
ISP2 IP & Subnet Mask:
ISP1 Gateway:
ISP2 Gateway:
Name of ISP1:
Name of ISP2:


Use this code to post the full script to your own page:



Use this code to post only the variables to your own page: