LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS/TUN arp problem

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: LVS/TUN arp problem
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Tue, 06 Nov 2001 10:53:13 -0500
Tao Zhao wrote:
> 
> Thanks for your reply, Joseph. I knew I need to hide tunl0 device, but the
> problem is that I did not see the directory /proc/sys/net/ipv4/conf/tunl0
> in my system when the tunl0 is up. Neither dummy0 directory when I set up
> dummy0 devices.


I would suspect that the devices aren't up. These directories come and go as
the devices are up'ed and down'ed.

Do you see these devices with IP numbers in the output of `ifconfig`

> What is the right way to set up multiple VIPs on the real server

VIP's are independant of each other. If you setup lo:110 to carry
the VIP=192.168.1.110 by doing 

ifconfig lo:110 192.168.1.110 netmask $NETMASK ...

then for VIP=192.168.1.111 you'll do

ifconfig lo:111 192.168.1.111 ...


> I read somewhere that I should set up a tunnel and use ip utility
> to set alias (VIPs) on lo device. 

lo is for LVS-DR, tunl0 is for LVS-Tun.

You can use ip to set them up, but for simple setups ifconfig/route
is simpler. Once you have it working, you can use ip.

Joe

-- 
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center, 
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA


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