LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Persistance and LVS

To: Joseph Mack <mack.joseph@xxxxxxx>
Subject: Re: Persistance and LVS
Cc: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Thu, 29 Apr 2004 23:45:40 +0300 (EEST)
        Hello,

On Thu, 29 Apr 2004, Joseph Mack wrote:

> if you're doing LVS-NAT then you have a smaller limit for
> ports, since all ports are coming from the director.
>
> when NAT'ing you only have ports 61000-65xxx, ie 4000 ports to
> choose from.

        These ranges are only for the connections created from
the 2.2 masquerading code, not for the LVS connections:

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.operation.html#port_range

>       Do the (small) number of ports limit LVS-NAT? If the
> LVS has 40,000connections/hr, with 1hr persistence, can the
> LVS-NAT director hold 40000 connections once (for discussion,
> let's say these are all to different IPs, ie 40,000 IPs).

        There are no connection limits in LVS, they are in TCP,
there are 65536*65536 possible combinations between two IPs.
In LVS setup with one VIP:VPORT used, the number is 65536
connections from CIP to same VIP:VPORT.

> Joe

Regards

--
Julian Anastasov <ja@xxxxxx>
<Prev in Thread] Current Thread [Next in Thread>