LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-NAT or direct routing or...?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS-NAT or direct routing or...?
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Mon, 22 May 2006 08:46:21 -0700 (PDT)
On Mon, 22 May 2006, Kristoffer Egefelt wrote:

I'm confused. You have a client on the realserver that you
want to initiate connections from the VIP and not from the
RIP?


Yes, exactly.

ah.

If I send a mail from a realserver to my gmail account, it have the source
address of the loadbalancer.

because you are NAT'ing through the director.

I would like it to have the source address of the Virtual Server.

the VIP.

Let's say you figure out how to do this, and you send a SYN to a machine on the internet. There are lots of ways this could fail. Here's one: The reply SYN/ACK packet from the machine on the internet will arrive at the director. The director will look up its TCPIP tables and not having any record of sending a SYN to this machine, will send a RESET.

The HOWTO talks about clients on the realservers connecting to the internet. eg

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.3-Tier.html#client_on_realserver


Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml Homepage http://www.austintek.com/ It's GNU/Linux!

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