LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Client access through nat to LVS (reused ports)

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Client access through nat to LVS (reused ports)
From: Matthias Krauss <MKrauss@xxxxxxxxxxxxxx>
Date: Tue, 20 Jan 2004 13:51:32 +0100
Not sure if this works at all, we have a LVS DR WRR with persistant
timeout of 1 hour configured, going good so far. 
Now more and more clients/coorporates are accessing the LVS through 
NAT with the result that the load is not equal anymore. 


The config/surrent connx. looks like:
FWM  5 wrr persistent 3600
  -> 10.0.1.33:0                  Route   100    29         24
  -> 10.0.1.31:0                  Route   100    46         11
  -> 10.0.1.30:0                  Route   100    30         26


The connection table looks like:
TCP 14:52  ESTABLISHED 212.166.x.y:1173 10.0.1.8:80        10.0.1.31:80
TCP 14:58  ESTABLISHED 212.166.x.y:1049 10.0.1.8:80        10.0.1.31:80
TCP 14:48  ESTABLISHED 212.166.x.y:1133 10.0.1.8:80        10.0.1.31:80
TCP 14:41  ESTABLISHED 212.166.x.y:1179 10.0.1.8:80        10.0.1.31:80
TCP 14:53  ESTABLISHED 212.166.x.y:1194 10.0.1.8:80        10.0.1.31:80
TCP 14:31  ESTABLISHED 212.166.x.y:1353 10.0.1.8:80        10.0.1.31:80
IP  59:57  NONE        212.166.x.y:0    0.0.0.5:0          10.0.1.31:0
TCP 00:07  CLOSE       212.166.x.y:1106 10.0.1.8:80        10.0.1.31:80
TCP 06:40  ESTABLISHED 212.166.x.y:1150 10.0.1.8:80        10.0.1.31:80
TCP 14:53  ESTABLISHED 212.166.x.y:1136 10.0.1.8:80        10.0.1.31:80
TCP 00:04  CLOSE       212.166.x.y:2379 10.0.1.8:80        10.0.1.31:80
TCP 14:49  ESTABLISHED 212.166.x.y:1135 10.0.1.8:80        10.0.1.31:80
....
....
....


is it somehow possible to have those clients distibuted to all realservers's
with
DirectRouting ?

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