LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

configuration script in configure-lvs_0.8.tar.gz

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: configuration script in configure-lvs_0.8.tar.gz
Cc: jmack@xxxxxxxx
From: Alois Treindl <alois@xxxxxxxx>
Date: Mon, 30 Apr 2001 07:27:56 +0200 (METDST)
Hi Joseph

in my helpless ateempts to solve the riddle of my non-working LV-NAT
setup, I just checked the configuration script in
http://www.LinuxVirtualServer.org/Joseph.Mack/configure-lvs_0.8.tar.gz

I find two elements of it confusing, see comments marked with 'ALOIS'

#lvs_nat.conf
#(C) 2000-2001 Joseph Mack jmack@xxxxxxxx
#format released under GPL.
#
#Two networks, two NIC director.
#real-server network 192.168.1.0/24
#outside network 192.168.2.0/24
#------------------------------------------------------------
#
#IPs in /etc/hosts
#
#VIPs
#lvs=192.168.1.110
#lvs2=192.168.2.110
#
#DIIP
#director-inside=192.168.1.9
#
#default gw(s) (here no router, connect directly to client)
#client=192.168.1.254

#ALOIS: why is your 'client' on the inside network?
#It is not used further down, but it is confusing for the reader.

#client2=192.168.2.254
#
#real-servers
#sneezy=192.168.1.11
#bashfull=192.168.1.12
#
#----------lvs_nat.conf------------------------------------
LVSCONF_FORMAT=1.0
LVS_TYPE=VS_NAT
INITIAL_STATE=on  
CLEAR_IPVS_TABLES=yes
VIP=eth1:110 lvs2 255.255.255.0 lvs2
DIRECTOR_INSIDEIP=eth0 director-inside 192.168.1.0 255.255.255.0 192.168.1.255
DIRECTOR_GW=client2
#SERVICE=t ftp rr sneezy:ftp bashfull:ftp
SERVICE=t telnet rr sneezy:telnet bashfull:telnet 
SERVICE=t netpipe rr sneezy:netpipe bashfull:netpipe 
#SERVICE=t http rr sneezy:http bashfull:http 
#SERVICE=t https rr sneezy:https 
SERVER_NET_DEVICE=eth0
#no server vip device for real-server for VS-NAT 
#SERVER_VIP_DEVICE=
#no default gw for real-server with VS-NAT
#SERVER_GW=

# ALOIS: why do you say 'no default gateway for real-server with VS-NAT'?
# in the LVS-HOWTO, rev. 1.2, page 129, last line, your write:
# For VS-NAT, the default gateway for the real-servers is 192.168.1.9
# (the inside IP of director in this example)
# also in the example lvs.conf on page 128 (section 11.2, 3rd paragraph from
# end.
#----------end lvs_nat.conf---------------------------------





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