LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Multiple ports on real servers

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Multiple ports on real servers
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Fri, 24 Nov 2006 07:18:46 -0800 (PST)
On Fri, 24 Nov 2006, Mindaugas wrote:

I need the following setup preferably with LVS-NAT:
VIP:80   --> RS1:80, RS1:81, RS1:82, RS2:80, RS2:81, RS2:82

VIP:80 goes to 6 realservers (which are running on 2 boxes, but the director doesn't know that).

Problem is that :80 does not work on LVS-NAT. IPVS does not
change destination port.

the prime functionality of LVS-NAT is that it rewrites the ports and the IP. People rarely rewrite the ports so it's possible that it doesn't work anymore. However if my setup wasn't working, I wouldn't use failure to rewrite ports as my first hypothesis for an explanation. Can you try this rewriting first

VIP:80   --> RS1:8080,RS2:8080

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>