Search this Blog

Saturday, January 4, 2014

How to configure routing on one Cisco router ?


How to configure routing on one Cisco router with two WAN lines from different ISP?

The diagram below presents this situation. Let's say that WAN from ISP1 - 192.18.1.0/30 has bigger bandwidth and we want to use it as primary line. WAN from ISP2 - 192.168.2.0/30 is a backup line.

net.jpg

ip sla 1 // we are checking availability of DNS server from TPSA (213.25.47.167) with source of WAN ISP1
icmp-echo 213.25.47.167 source fa0/0/1
timeout 500
frequency 3 // we set frequence of probes for 3 seconds
ip sla schedule 1 start-time now life forever // lets start it

track 1 rtr 1 reachability  // starting tracking

ip  route 0.0.0.0 0.0.0.0 192.168.1.1 track 1 // if track 1 that checks availability of DNS server is true, the default route is set to use WAN ISP1. Whenever it fails, the static route will be disabled and backup default route with AD 200 will be used.
ip route 0.0.0.0 0.0.0.0 192.168.2.1 200

Citation - This blog post does not reflect original content from the author. Rather it summarizes content that are relevant to the topic from different sources in the web. The sources might include any online discussion boards, forums, websites and others.

No comments :

Post a Comment

 
/* Google Analytics begin ----------------------------------------------- */ /* Google Analytics end ----------------------------------------------- */