LVS-NAT and multiple gateways on real servers
DFarrell at ScholasticLibrary.com
Thu Jul 8 21:27:32 BST 2004
Thanks for the reply. I probably didn't make my setup very clear as I
misundertood what I've got going. The IP 10.60.25.131 is the VIP where
go to access the load balanced services. I think this is referred to as
(Director IP) in the LVS HowTo. The VIP 192.168.1.103 is the virtual IP
load balancer uses the access the private 192 network where the real
live. I think this is called the RIP in the LVS HowTo doc.
What I'd like to do is this, put an IP like 10.60.25.127 on eth1 on Real
and give that IP a gateway of 10.60.24.1. In this way I could connect
the Real Server for maintenence/updates rather than having to go through
Hope I've made things clearer rather than murkier. :)
From: Joseph Mack [mailto:mack.joseph at epa.gov]
Sent: Thursday, July 08, 2004 3:52 PM
To: LinuxVirtualServer.org users mailing list.
Subject: Re: LVS-NAT and multiple gateways on real servers
"Farrell, Doug" wrote:
> Hi all,
> I'm using the RedHat Piranha version of LVS and have successfully
configured an LVS-NAT
can you turn line wrap on please, your paragraphs are all one line and
hard to read
> eth0 IP : 10.60.25.125 gateway=10.60.24.1
> eth0:1 VIP : 10.60.25.131
> eth1 IP : 192.168.1.101
> eth1:1 VIP : 192.168.1.103
> Real Server 1
> eth0 IP : 192.168.1.104 gateway=192.168.1.103
> eth1 IP : 10.60.25.127
having IPs in different networks is going to be interesting from the
point of view. Do you have to have both IPs in different networks?
have you got the LVS to work for each VIP separately?
You appear to have two one-net LVS-NAT setups in parallel (see HOWTO).
If so, make sure you understand this setup.
Joseph Mack PhD, High Performance Computing & Scientific Visualization
LMIT, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb at epa.gov
LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
Send requests to lvs-users-request at LinuxVirtualServer.org
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
More information about the lvs-users