I did the following:
Director:
eth0 = 10.1.1.1/24
eth0:0 = 192.168.1.110/24
Real1:
eth0 = 10.1.1.2/24
Real2:
eth0 = 10.1.1.3/24
I have used the following lvs_nat.conf file:
LVS_TYPE=VS_NAT
INITIAL_STATE=on
VIP=eth0:0 extdirector.icepicc.co.uk 255.255.255.0
192.168.1.110
DIRECTOR_INSIDEIP=eth0 director.server.net 10.1.1.1
255.255.255.0 10.1.1.0
DIRECTOR_DEFAULT_GW=192.168.1.110
SERVICE=t http wlc real1.server.net:80
SERVER_NET_DEVICE=eth0
SERVER_DEFAULT_GW=director.server.net
If I don't put a gateway in for the director, the script
rc.lvs_nat won't run. Plus I don't have fping, which means
when I run rc.lvs_nat, I get errors about that. Replacing
the FPING=/usr/.....fping line with:
FPING="/bin/ping -c 3" makes it work. I have run the script
on all of the machines. I can ping the director on both
interfaces from the real servers, and I can ping the real servers from the
director. When I try to connect to the director (on its VIP) using a client
with IP 192.168.1.254,
the director spews out errors like:
IP_VS: Schedule: port zero only supported in persistent
services, check your ipvs configuration
Is that any more helpful? I was a little non-descript last time. Oh, and Joe,
all your posts are coming up twice.
--------------------
talk21 your FREE portable and private address on the net at
http://www.talk21.com
|