LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   squid change (https://www.linuxquestions.org/questions/linux-server-73/squid-change-659416/)

mufea 07-31-2008 12:56 AM

squid change
 
dear all,

My gateway which is connect to internet has 3 lan card, let's say:
eth0 = 192.168.1.0
eth1 = 11.0.0.0 -> adsl for international
eth2 = 202.202.202.0 -> adsl for national

the problem is when eth1 died, link for national also died, because
the the route first go to eth1 first and then eth2.

my questions is, how squid can handle or detect, if eth1 died the packet which goes to national will automatically redirect to eth2, not passing eth1.

datopdog 07-31-2008 01:48 AM

Use iproute2 to setup both nic's gateways for the squid machine then give the national a higher weight, if one link goes down the other will continue working.


All times are GMT -5. The time now is 02:18 PM.