These settings i have to configure in fedora core 9.0 and squid proxy 3.0with stable 2.6.
etho -LAN
IP - 192.168.1.125/255.255.255.0
eth1 -WAN 1
IP - 192.168.1.124/255.255.255.0
Gateway(router1) - 192.168.1.1
DNS1(isp1) - 218.248.240.180
DNS2(isp1) - 218.248.240.79
eth2 - WAN2
IP - 192.168.1.123/255.255.255.0
Gateway(router2) - 192.168.1.2
DNS1(isp2) - 203.124.20.100
DNS2(isp2) - 203.124.16.100
Wan1 and WAN2 are having 2MBPS dedicated(Leased Line) bandwith. Currently i confgured wan1 only through squid proxy. eth2 has been disabled. Otherwise it wont work (through gui mode i can configure only two dns ip only -primary and alternate dns server)and there is no problem and working fine. when wan1 is failed, I have to change the dns (isp1) to (isp2) and enable the eth2 and disable the eth1 and restart the network service. then it will work fine(through isp2).
Normally two types of problem will occure in the internet line.
1. Line failed or disconnected.
2. DNS server failed (assume both(Primary and alternative dns server) will get failed).
now my questions are,
1.How can i configure fail over ( wan1(isp1) fails the traffic are automatically sent through WAN2(isp2) without manual operation)
2.if both isp are active, the traffic should be shared on both isp.
In Microsft windows XP professional each interface having separate dns entry and gateway entry. In linux each interface having separate gateway entry but dns entry is comman for all interface(i am talking about gui mode interface configuration).
I have to control the browsing and restricting adult websites. so that i have choosed linux with squid proxy server. I didnt configure or enable dns service. if required i will do it.
waiting for your valuable suggestion.