LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Setup Issue LVS

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Setup Issue LVS
From: Torsten Jacobi <tj@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Apr 2007 17:42:01 -0700
Hi,

we are close to getting our first LVS up and running.

I'm following this guideline:

http://www.ultramonkey.org/papers/lvs_tutorial/html/

My goals is to have a VIP at 80.237.183.171 and forward to real servers outside of that subnetwork i.e. 80.237.155.99:84.

It works in my local network but I can't get it to run productively - here is what I do:

VIP:

enabled forwards

ifconfig eth0:1 80.237.183.171 netmask 0.0.0.0 broadcast 80.237.0.0

ipvsadm -A -t 80.237.183.171:84

ipvsadm -a -t 80.237.183.171:84 -r 80.237.155.99:84 -i

IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  80.237.183.171:84 wlc
  -> 80.237.155.99:84             Masq    1      0          0


On real Servers:

I enable forwards

Apache on port 84 works too

ifconfig tunl0 80.237.183.171 netmask 0.0.0.0

However my browser says timeout after two minutes of connecting to the server.

TCPDump on VIP says:

17:30:52.521815 IP 75.144.19.133.63013 > 80.237.155.99.84: S 68378435:68378435(0) win 5840 <mss 1460,sackOK,timestamp 7641050 0,nop,wscale 7>

and i can see the packages on my real server to:

02:17:10.783538 IP 80.237.155.99.84 > 75.144.19.133.63013: S 2040700031:2040700031(0) ack 68378436 win 5792 <mss 1460,sackOK,timestamp 917457 7640300,nop,wscale 7>

However my browser does not receive anything - what goes wrong?

Thanks for your help!

TJ

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