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
arp1.pat
Description: Binary data
|