LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

The arp reply problem in the 2.2.x

To: netdev@xxxxxxxxxxxxxxx
Subject: The arp reply problem in the 2.2.x
Cc: linux-virtualserver@xxxxxxxxxxxx
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Sat, 03 Apr 1999 18:42:25 +0800
Hi,

I get the arp reply problem in the kernel 2.2.x that the tunneling devices
answer arp requests. For example, a host have 192.168.0.2 on eth0, then
configure 192.168.0.3 on the tunnel device as the follwing command:
        ifconfig tunl0 192.168.0.3 -arp netmask 255.255.255.255 broadcast
192.168.0.3 up

On the other host on the network 192.168.0.x, you can ping both 192.168.0.2
and 192.168.0.3, and they have the same MAC address. So, the tunnel devices
answer the ARP requests.

This problem will greatly affect the virtual server via tunneling work
properly(http://proxy.iinchina.net/~wensong/ippfvs/). In fact, the tunnel
device shouldn't answer the ARP requests from the ethernet. 

Here is a fix. A few lines were added to check whether the IFF_NOARP is set
on the device for the target IP address in the linux/net/ipv4/arp.c for the
kernel 2.2.5.

Have a good weekend,

Wensong

Original Eudora Attachment File: 
        c:\eudora\attach\arp1.pat

Attachment: arp1.pat
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>
  • The arp reply problem in the 2.2.x, Wensong Zhang <=