LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LVS DR and tcpdump

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: LVS DR and tcpdump
From: Kai Suchomel1 <KAISUCH@xxxxxxxxxx>
Date: Mon, 12 Jun 2006 15:04:18 +0200
Hey Folks
I just started to set up a LVS DR Configuration.
My Environment consists of 3 Realservers and one Director, all connected
throeugh a switch.
The Realserver and the Director are on the same subnet.

R1 10.0.0.10
R2 10.0.0.20
R3 10.0.0.30
Director: 10.0.0.40
Client: 10.0.0.202

I have configured the VIP 10.0.0.200 on the Director and have configured
the Route to the Realservers.
In my configuration I want to load balance Samba (Ports UDP 137,138 TCP
139,445)

The Configuration so far works, each time i try to connected to a
Realserver i get a different one.

I have tried to trace the Director Connection Infos via tcpdump and get the
following output:

23:49:27.037917 IP 10.0.0.202.1083 > 10.0.0.200.445: S
4191981508:4191981508(0) win 65535 <mss 1460,nop,wscale 4,nop,nop,timestamp
0 0,nop,nop,sackOK>
23:49:27.038420 IP 10.0.0.202.1083 > 10.0.0.200.445: S
4191981508:4191981508(0) win 65535 <mss 1460,nop,wscale 4,nop,nop,timestamp
0 0,nop,nop,sackOK>
23:49:27.038115 IP 10.0.0.202.1083 > 10.0.0.200.445: . ack 1141080301 win
65535
23:49:27.038131 IP 10.0.0.202.1083 > 10.0.0.200.445: . ack 1 win 65535
23:49:27.038224 IP 10.0.0.202.1083 > 10.0.0.200.445: P 0:137(137) ack 1 win
65535
23:49:27.038236 IP 10.0.0.202.1083 > 10.0.0.200.445: P 0:137(137) ack 1 win
65535
23:49:27.040444 IP 10.0.0.202.1083 > 10.0.0.200.445: P 137:377(240) ack 132
win 65526

This looks to me like the Client (10.0.0.202) is connecting to the
director. But where are the packets that the director forwards to the
Realservers.
In this trace the IP addresses of the Realservers are not mentioned. How
can you trace packets that are forwarded by the Director.
Is there any configuration i have missed???
Thanks in advance.
Greetings from Germany.
Kai Suchomel



===========================================================================
Advanced Technical Support Storage
Hechtsheimerstr. 2, D-55131-12 Mainz, Germany
[notes.IBM] Kai Suchomel1/Germany/IBM
[email.IBM] kaisuch@xxxxxxxxxx
[phone.IBM] +496131842159
[mobile.IBM] + 491773354564


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