Is it possible to tell Linux kernel to ignore ARP who-has requests for an
address that is added to a tunnel device? I would like to get answers to
the requests of the address that is given to the ethernet device. So
disabling the ARP totally would not work in this case (unless I would make
an additional program to listen to the ARP requests in user space and to
selectively answer some of them).

To give an example, I have the following situation:

TUNL_MN_A Link encap:IPIP Tunnel  HWaddr   
          inet addr:192.168.0.102  P-t-P:192.168.0.102
        Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1

eth0      Link encap:Ethernet  HWaddr 00:80:C8:D3:47:B2  
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

I have added the address 192.168.0.102 to the tunnel device with calls
similar to 'ip addr add 192.168.0.102 dev TUNL_MN_A'. I would like to have
the kernel answering ARP requests for 192.168.0.2, but not for
192.168.0.102. Ifconfig is showing NOARP for TUNL_MN_A, but the kernel is
still answering ARP requests for the .102 address.

The .102 address is used to set the inner IP header of the encapsulated
packets. It will also make the kernel understand that address as local.
The fact that kernel is answering the ARP requests seems at least
partially logical in this respect. I would, however, like to be able to
maintain the rest of the functionality, but to prevent the ARP replies for
address(es) in one device.

-- 
Jouni Malinen

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to