LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Setting up a one network VS-NAT LVS

To: Julian Anastasov <ja@xxxxxx>
Subject: Re: Setting up a one network VS-NAT LVS
Cc: Joseph Mack <mack.joseph@xxxxxxxxxxxxxxx>, lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Thu, 25 Jan 2001 08:57:18 -0500
Julian Anastasov wrote:
> 
>         Hello,
> 
> On Thu, 25 Jan 2001, Joseph Mack wrote:
> 
> > (As I said previously) The one network VS-NAT (client, VIP, real-servers
> > all on 192.168.1.0/24) works with send_redirects=1
> 
>         This is funny :)

Ow! the redirects are off - sorry

(I get mixed up which is on/off)
 
> > The two network, 2 NIC director with VS-NAT (outside addresses -
> > client, VIP 192.168.2.0/24; inside addresses - DIIP, real-servers
> > 192.168.1.0/24) works with send_redirects=0 (this is trivial)
> 
>         Yes, this is the default setup

redirects are on.
 
> > I just checked the 2 logical network, 1 physical network (outside addresses
> > 192.168.2.0/24, inside addresses 192.168.1.0/24 all on the same wire)
> > in VS-NAT works with send-redirects=1 (yes that's 1). (This is how I did it 
> > in
> > the

redirects are on.
 
>         Hm, so it looks like redirects are not sent here, I assume this
> is Linux 2.2 

yes

> in 2.4 lookups the NAT-ed real server using the output route function
> while LVS for 2.2 lookups the real server using the input route function
> and a redirect is usually returned when the forwarding device matches
> the input device, which is our case. But may be I'm missing something in
> theory. I'll check it this weekend too.

Joe

-- 
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center, 
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA


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