LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: realserver1 redirects to realserver2 :-(

To: Thomas Proell <Thomas.Proell@xxxxxxxxxx>
Subject: Re: realserver1 redirects to realserver2 :-(
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx, proellt@xxxxxx
From: Joseph Mack <mack@xxxxxxxxxxx>
Date: Fri, 11 Aug 2000 14:16:41 -0400 (EDT)
On Fri, 11 Aug 2000, Thomas Proell wrote:

> Hi!
> 
> My setup: 
> - LVS accepting packets by transparent proxy

the director, realservers or both?

> - tunnelling to 2 realservers
> - squid running on both realservers 
> - ipfwadm to send the packets on port 80 to port 8080 (squid)

ipvs can only rewrite port numbers in VS-NAT mode. 
Tell us where the ports are being rewritten.

> - arp-problem handled by setting arp-table-entry on client

do you mean on realserver?

> When the client asks for (for example) www.cnn.com,
> the LVS tunnels the request to one of the realservers.
> There, the request is sent to port 8080, where squid
> listens and answers. That's O.K.
> 
> The next request is sent to the other realserver, he
> somehow does not send the packets to port 8080, but
> sends them to the first realserver. 

what happens if you also allow the director to forward telnet?
Do you connect to one machine or each machine alternately?

Joe

--
Joseph Mack mack@xxxxxxxxxxx



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