05-02-2011 11:12 PM - edited 03-04-2019 12:14 PM
Hi All,
I want to configure link fail over by DNS tracking.i have two WAN link i want if ISP1 link is goes down then ISP2 became prepared to take over ISP1 and it should vise versa .when both link is up with in this time my server traffic should pass through ISP1 and local user traffic should pass through ISP2.
I want router track only DNS(4.2.2.2 or my ISP DNS) so that router can feel the DNS are not answering so need to switch over another ISP.
Thnx and regards,
Arup
05-02-2011 11:26 PM
Hi Arup,
You can try config below.
05-02-2011 11:45 PM
05-02-2011 11:52 PM
Hi Arup,
Can you change "4.2.2.2" in ip sla configs.
ip route 4.4.2.2 255.255.255.255 a.b.c.d ----ISP1
ip sla 1
icmp-echo 4.2.2.2
timeout 500
threshold 3
frequency 5
ip sla schedule 1 life forever start-time now
ip sla 2
icmp-echo 4.2.2.2
timeout 500
threshold 3
frequency 5
ip sla schedule 2 life forever start-time now
access-list 150 permit ip 10.128.195.0 0.0.0.3 any
access-list 150 permit ip 10.128.193.0 0.0.0.15 any
route-map indiaisp1 permit 10
match ip address 150
set ip next-hop verify-availability 4.2.2.2 1 track 101
set ip next-hop verify-availability 4.2.2.2 2 track 102
hth
Muammer
05-02-2011 11:58 PM
Hi waht type of changes is need please mention
Regards,
Arup
On Tue, May 3, 2011 at 12:22 PM, mrdogantr <
05-03-2011 12:03 AM
4.4.2.2 instead of 4.2.2.2
05-03-2011 12:11 AM
Hi,
failover not occoring when i manually discunnect WAN link from MUX(outside)
but it happen when i disconnect linkfrom MUX(inside for lan)
Router not comprehend DNS track
Please help
Rgd,
Arup
On Tue, May 3, 2011 at 12:33 PM, mrdogantr <
05-03-2011 12:32 AM
i think you have nat problem. can you tray config below.
ip sla 10
icmp-echo 4.4.2.2
timeout 1000
frequency 3
ip sla schedule 10 life forever start-time now
track 10 ip sla 10 reachability
ip route 4.4.2.2 255.255.255.255 {ISP1 ip}
ip route 0.0.0.0 0.0.0.0 {ISP1 ip} track 10
ip route 0.0.0.0 0.0.0.0 {ISP2 ip} 20
access-list 150 permit ip 10.128.195.0 0.0.0.3 any
access-list 150 permit ip 10.128.193.0 0.0.0.15 any
route-map isp1 permit 10
match interface FastEthernet0/1
route-map isp2 permit 10
match interface FastEthernet0/0/0
route-map nat1 permit 10
match ip address 150
match interface FastEthernet0/1
route-map nat2 permit 10
match ip address 150
match interface FastEthernet0/0/0
ip nat inside source route-map nat1 interface FastEthernet0/1 overload
ip nat inside source route-map nat2 interface FastEthernet0/0/0 overload
hth
Muammer
05-03-2011 12:45 AM
Hi,
Actually i have one DMZ location there is need one-to-one (static NAT)
and local user nating are happening into firewall.
DMZ ip address 10.128.192.68 (WEB server) .
primarily ISP 1 is dedicated for Local user and ISP2 is for WEB server.
now the condition is if any one ISP goes down then link fail over happen and
active ISP is take care all function
this is my scenario
Please help
regards,
Arup
On Tue, May 3, 2011 at 1:03 PM, mrdogantr <
05-03-2011 12:57 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide