Squid to configure with these, two isp through two router and each has pri & sec DNS
I am having one HP ML350 server with 4 nic's and Fedora Linux 9.0 with squid 3.0 stable 2.6. we got two internet leased line connectivity. Both they have given gateways and thier own dns. So there are 2 gateway IP's, and 4 DNS IP's. I want to configure the squid server can access the internet through both ISP's simultaneously. and also , if one get failed, all the traffic send to other ISP. Normally the traffic should be shared on both ISP's. How can i Configure?
Please check lartc.org chapter 4. Note that this doesn't need to relate to squid at all, just base level IP routing.
multiple isp connection
what "tab" would this be? DNS entries at system level just go in /etc/resolv.conf, as many as you want.
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) - 18.104.22.168
DNS2(isp1) - 22.214.171.124
eth2 - WAN2
IP - 192.168.1.123/255.255.255.0
Gateway(router2) - 192.168.1.2
DNS1(isp2) - 126.96.36.199
DNS2(isp2) - 188.8.131.52
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.
Use Ipcop firewall instead of fedora
two different ISP's DNS in one squid
i have two internet connection both have different dns
i want to configure both the isp's in squid like way if any
one of fail another will work without doing any mannual setting
i tried in linux putting both isp's dns at a time but squid not reconiging it, i have to put only one isp's dns at a time.
|All times are GMT -5. The time now is 04:04 PM.|