cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4858
Views
10
Helpful
2
Comments
matikow79
Level 3
Level 3

This document describe my idea 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

Comments
jczarnecki11
Level 1
Level 1

Zastanawia mnie jedno. Na jakiej podstawie IP SLA będzie znało trasę by wysłać pierwsze icmp i czy ten pakiet nie wyjdzie drugim łączem? Testowałeś tą konfigurację?

stasinski_j
Level 1
Level 1

IP SLA będzie znało trasę i wyśle ICMP na podstawie aktualnych wpisów w tablicy routingu. Jako, że zostały zdefiniowane dwie trasy, jedna z metryka 1 i duga z metryką 200 to dopóki track będzie zwracał prawdę dla trasy o lepszej metryce doputy właśnie ona bedzie instalowana w tablicy routingu i wybierana przez proces wyboru trasy.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking for a $25 gift card