LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

lvs_nat.conf problem

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: lvs_nat.conf problem
From: Matthew Hollander <mah18@xxxxxxxxxx>
Date: Fri, 11 Jan 2002 10:31:55 +0500 (GMT-5)
Hi All -

I am running into a problem setting up lvs-nat and I was wondering if
anyone knows how to fix this.

The problem is that after I run the rc.lvs_nat (after configure
lvs_nat.conf) I get this message:

Warning: 
You are moving the VIP from one device
(presumably from a previous LVS installation),
to a different ethernet device.
This is difficult to do with ifconfig.
It's easy to do with iproute2.
I'll change over to iproute2 sometime.
Till then you'll have to do the changeover yourself with this script.


I can't run rc.remove_vip because I have my NIC drivers compiled into my
kernel.  

My system is Red Hat 7.2, kernel 2.4.17  

Here is my setup:

               ________
              |        |
              | client |
              |________|
           CIP=eth0 192.168.0.13
                  |
                  |
        VIP=eth0:69 192.168.0.69/32
              __________
             |          |
             | director |
             |__________|
        DIP=eth1:4   192.168.1.4
                  |
                  |
                  |
            _____________
           |             |      
           |   switch    |
           |_____________|
                  |
                  |
         -------------------
         |                 |
         |                 |
     RIP1=eth0         RIP2=eth0
    192.168.1.1      192.168.1.3
   ______________    ______________
  |              |  |              |
  | realserver1  |  | realserver2  |
  |______________|  |______________|


Here is mv lvs_nat.conf:

#----------lvs_nat.conf------------------------------------
LVSCONF_FORMAT=1.1
LVS_TYPE=VS_NAT
INITIAL_STATE=on
CLEAR_IPVS_TABLES=yes
#
VIP=eth0:69 192.168.0.69 255.255.255.255 192.168.0.69
#
DIP=eth1:4 192.168.1.4 192.168.1.0 255.255.255.0 192.168.1.255
#
DIRECTOR_GW=192.168.0.13
#
SERVICE=t telnet rr 192.168.1.1:telnet,1 192.168.1.3:telnet,2
SERVER_NET_DEVICE=eth0
#----------end lvs_nat.conf---------------------------------


Thanks for the help,

Matt



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