LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS/TUN arp problem

To: Linux Virtual Server Mailing List <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS/TUN arp problem
From: Tao Zhao <taozhao@xxxxxxxxxx>
Date: Tue, 6 Nov 2001 10:07:03 -0500 (EST)
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.

What is the right way to set up multiple VIPs on the real server in kernel
2.4.5? I read somewhere that I should set up a tunnel and use ip utility
to set alias (VIPs) on lo device. If I'm wrong, could somebody tell me the
right way? I'm stuck here and any help would be appreciated.

Thanks,
-Tao

On Tue, 6 Nov 2001, Joseph Mack wrote:

> Tao Zhao wrote:
> > 
> > Hi,
> > 
> > Since I need multiple VIPs on real servers, I use loop back device
> > (lo) for this purpose.
> > 
> > I'm using kernel 2.4.5 and applied the hidden patch hidden-2.4.5-1.diff
> > to the real server (with IP address RIP). VIP and RIP are in the same
> > subnet.
> > 
> > Here is what I did:
> > 
> > $insmod ipip
> > 
> > $echo 1 > /proc/sys/net/ipv4/conf/all/hidden
> > $echo 1 > /proc/sys/net/ipv4/conf/lo/hidden
> 
> you also need to hide the tunl0 device
> > 
> > $ip tunl add tun0 mode ipip local 127.0.0.1 dev lo
> 
> hmm, I don't know this syntax, but
> the tunl0 device should have the VIP on it.
> 
> Joe
> 
> > $ip addr add VIP1 dev lo
> > 
> > But I couldn't ping RIP from the director. I believe it's the arp problem.
> > I must did something wrong. Can someone point it out to me?
> > 
> > Thanks,
> > -Tao
> > 
> > _______________________________________________
> > LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> > Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> > or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> 
> -- 
> 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
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> 





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