lvs-users
|
To: | "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx> |
---|---|
Subject: | Re: [lvs-users] Ldirectord in Fedora Core 6 problem with squid |
From: | Graeme Fowler <graeme@xxxxxxxxxxx> |
Date: | Mon, 02 Jul 2007 12:56:52 +0100 |
Hi Change your iptables rule; at the moment you can get packets "reflecting" from one host to the other - you seem to be running two directors which also host the squids, aren't you? If the directors have MAC addresses MAC1 and MAC2, then you need to do the following: director1: /sbin/iptables -t mangle -A PREROUTING -p tcp --dport 80 \ -m mac ! --mac-source $MAC2 -j MARK --set-mark 1 director2: /sbin/iptables -t mangle -A PREROUTING -p tcp --dport 80 \ -m mac ! --mac-source $MAC1 -j MARK --set-mark 1 That prevents packets looping, causing the problem you see. Graeme |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [lvs-users] Ldirectord in Fedora Core 6 problem with squid, Bishal |
---|---|
Next by Date: | Re: [lvs-users] Help Packaging IPVSMAN, Gerry Reno |
Previous by Thread: | [lvs-users] Ldirectord in Fedora Core 6 problem with squid, Bishal |
Next by Thread: | [lvs-users] CentOS-5 VLS doesn't virtual httpd doesnt failover when httpd dies, Nick Stephens |
Indexes: | [Date] [Thread] [Top] [All Lists] |