LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LVS/TUN arp problem

To: Linux Virtual Server Mailing List <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: LVS/TUN arp problem
From: Tao Zhao <taozhao@xxxxxxxxxx>
Date: Mon, 5 Nov 2001 18:48:32 -0500 (EST)
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

$ip tunl add tun0 mode ipip local 127.0.0.1 dev lo

$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



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