Recently set up a load balance and a failover (may be it is not recursive).
ADSL Router 1. IP :192.168.2.1
ADSL Router 2. IP :192.168.3.1.
Now the issue is that when I unplug the telephone line from any ADSL Router then the traffic is still going to 192.168.2.1 because the ADSL Router is up and also because of ping check to that gateway (192.168.2.1 or 192.168.3.1).
I tried few thing but it didn't work. Here is the output of route. Using PCC src and port method.
Code: Select all
ip route print
0 s 0.0.0.0/0 192.168.3.1 2 main
1 As 0.0.0.0/0 192.168.2.1 1 main
DAc 192.168.1.0/24 lan 0
DAc 192.168.2.0/24 wan1 0
DAc 192.168.3.0/24 wan2 0
2 As 0.0.0.0/0 192.168.2.1 1 towan-1
3 As 0.0.0.0/0 192.168.3.1 1 towan-2
Need your guidance.
Thank you