LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

have problem with set lVS-Tun

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: have problem with set lVS-Tun
From: huang mingyou <therods@xxxxxxxxx>
Date: Mon, 26 Dec 2005 14:52:37 +0800
hi,list.
    I want test LVS-Tun in this net structuer.

## net structure ##

[director]              [realserver]
     |                            |
---------                -----------
     |                            |
[router1]              [router2]
     |                            |
------------------------------
               |
          [client]

### end###

client have CIP 10.0.34.1 and two route to the director and realserver
router1 have two IP   10.0.34.6 and 192.168.1.1 and route to realserver
router2 have two IP   10.0.34.7 and 192.168.0.1 and route to director
director have two IP   192.168.1.2 and 192.168.1.10 bind on eth0 and
default route is router1
realserver have two IP 192.168.0.2 bind on eth0 and 192.168.1.10 bind
on tunl0 and have default route via router2

then , I use ipvsadm add the server and relserver, and I use w3m
connect 192.168.1.10.I found
director send ipip package to 192.168.0.2,and the realserver can
receive the ipip package(SYN).but the realserver not restore a
(ACK,SYN) package to client.

what is the reason?

                                             hmy

this is package on the director

14:49:27.903870 IP 192.168.1.2 > 192.168.0.2: IP 10.0.34.1.38117 >
192.168.1.10.www: S 2253511271:2253511271(0) win 5840 <mss
1460,sackOK,timestamp 161121034 0,nop,wscale 0> (ipip-proto-4)

and this is on the realserver
14:50:38.236899 IP 192.168.1.2 > 192.168.0.2: IP 10.0.34.1.38125 >
192.168.1.10.www: S 2347310833:2347310833(0) win 5840 <mss
1460,sackOK,timestamp 161193451 0,nop,wscale 0> (ipip-proto-4)
14:50:41.241214 IP 192.168.1.2 > 192.168.0.2: IP 10.0.34.1.38125 >
192.168.1.10.www: S 2347310833:2347310833(0) win 5840 <mss
1460,sackOK,timestamp 161196462 0,nop,wscale 0> (ipip-proto-4)

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