Dual WAN failover
I know howto setup this thing, the problem is when one of my WAN is down the other doesnt come up and i think for it to come up i have to ping the WAN gateway and do some sort of coding in shell or perl whatever i know this much hehe. The sad part is that i dunno how to code i hate coding lol could somone help me out. I just need code for Failover Dual WAN not even for load balancing.
i ahve added both the gateways (of 2 WANs) using the command
ip route add default via <WAN1 ip> dev eth1
ip route add default via <WAN2 ip> dev eth2
if WAN1 is down WAN2 comes up, but WAN1 then never comes up automatically, how do i automatically make it active??
|