LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS/TUN arp problem

To: Julian Anastasov <ja@xxxxxx>
Subject: Re: LVS/TUN arp problem
Cc: Linux Virtual Server Mailing List <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Tao Zhao <taozhao@xxxxxxxxxx>
Date: Tue, 6 Nov 2001 15:59:33 -0500 (EST)
Thanks for your help, Julian.

I followed your instruction. But it still did not work. Here is what I
did (VIP=x.y.z.180, RIP=x.y.z.230) on the real server:

$ifconfig tunl0 up
$ifconfig dummy0 0.0.0.0 up
$echo 1 > /proc/sys/net/ipv4/conf/all/hidden
$echo 1 > /proc/sys/net/ipv4/conf/dummy0/hidden
$ip addr add x.y.z.180 dev dummy0

But I still cannot ping the real server (with RIP=x.y.z.230) from
director (with VIP=x.y.z.180). Of course, RIP and VIP are on the same
subnet (mask 255.255.255.128).

What shows from "tcpdump -ln arp" on host x.y.z.230: 
15:28:43.945249 eth0 < arp who-has x.y.z.230 tell x.y.z.180
15:28:44.945246 eth0 < arp who-has x.y.z.230 tell x.y.z.180
15:28:45.945246 eth0 < arp who-has x.y.z.230 tell x.y.z.180
15:28:46.945248 eth0 B arp who-has x.y.z.230 tell x.y.z.180
15:28:47.945247 eth0 B arp who-has x.y.z.230 tell x.y.z.180
...


arp -an | grep 230 on the redirector (x.y.z.180) gives me:
? (x.y.z.230) at <incomplete> on eth0

ifconfig on the real server:
dummy0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          inet addr:x.y.z.180  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

eth0      Link encap:Ethernet  HWaddr 00:01:03:BB:D4:38  
          inet addr:x.y.z.230  Bcast:x.y.z.255  Mask:255.255.255.128
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:4441 errors:0 dropped:0 overruns:78 frame:0
          TX packets:2014 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:11 Base address:0xdc00 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

tunl0     Link encap:IPIP Tunnel  HWaddr   
          UP RUNNING NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 


$route on the real server: 

Kernel IP routing table 
Destination Gateway     Genmask         Flags   Metric Ref Use Iface 
x.y.z.128    *       255.255.255.128     U        0     0   0  eth0
127.0.0.0    *       255.0.0.0           U        0     0   0  lo 
default   x.y.z.129  0.0.0.0             UG       0     0   0  eth0


$route on the director has exactly the same output as above.

When I ping x.y.z.230 at the redirector I got:
Destination Host Unreachable.

I'm a little bit frustrated here. Any help would be greatly appreciated.
-Tao



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