LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Help with an lvs/nat configuration

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Help with an lvs/nat configuration
From: "Michael T. Halligan" <michael@xxxxxxxxxxxx>
Date: Tue, 22 Oct 2002 03:37:14 -0700 (PDT)
I've got everything up and running with LVS-nat

My current topology is : 

LB1(eth0:OUTSIDE_IP) (bond0:192.168.1.1)
APP1-4 : 192.168.1.50-53, gw=192.168.1.1

This works fine.. but I need to have a webserver sitting
on lb1 to do some rewriting before it gets forwarded..

I'm trying to make bond0:1 be 192.168.2.1 and have
all my app servers reip'd tp 192.168.2.50-53, using the
192.168.2.1 gateway.. 


I'm thinking I should have iptables forward the outside ip address
to 192.168.1.5 and have 192.168.1.5 be a virtual server, and have
that roundrobbin to the ip's .. it doesn't seem to work though.. 

Any thoughts here?


-- 
---------------------------
Michael T. Halligan
Chief Geek
Halligan Infrastructure Designs.
2250 Jerrold Ave #11
San Francisco, CA 94124
(415) 824.4453



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