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 07:14:15 -0500
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


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