LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Initial setup

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Initial setup
From: "Kirk" <kirk@xxxxxxxxxxxxxxxxx>
Date: Mon, 28 Mar 2005 08:49:46 -0800
Arptables -L -nv shows that the counters for the arptables are incrementing.
But something strange is still happening.  I hit the server with a wget
request from two completely different networks:

Source1 (wget) -> response from www_farm1
Source2 (wget) -> response from www_farm2

So I then shut down apache on www_farm1 to make sure source1 gets a response
from www_farm2, but that's where it breaks.  Whichever one I shut down, the
cooresponding source comes back with a connection refused.


Frustrating to say the least.

Kirk




-----Original Message-----
From: Con Tassios [mailto:ct@xxxxxxxxxxx] 
Sent: Monday, March 28, 2005 3:43 AM
To: kirk@xxxxxxxxxxxxxxxxx; LinuxVirtualServer.org users mailing list.
Subject: RE: Initial setup

arptables -L -vn  should indicate whether it is working.  Check the values
for 
pkts/bytes in the IN and OUT chain.

On Mon, 28 Mar 2005, Kirk wrote:

> On my web farm server (real server) I have this:
>
> Eth0 210.210.30.210
> Eth1 10.0.0.1
> Lo 127.0.0.1
> Lo:0 210.210.30.200 # VIP
>
> I put in the arptables entries of:
> arptables -A IN -d 210.210.30.200 -j DROP
> arptables -A OUT -s 210.210.30.200 -j mangle --mangle-ip-s 210.210.30.210
>
> and then I look at the arp output with 'tcpdump -n -e arp' when hitting
the
> server with a request and one of the two web servers is responding with:
>
> 0:30:48:80:b3:66 Broadcast arp 42: arp who-has 210.210.30.200 tell
> 210.210.30.210
> 0:d:bd:4a:3b:0 0:30:48:80:b3:66 arp 60: arp reply 210.210.30.200 is-at
> 0:d:bd:4a:3b:0
>
> Should this machine be responding to arp at all?




<Prev in Thread] Current Thread [Next in Thread>