Re: proxy_arp

From: Glynn Clements (glynn@sensei.co.uk)
Date: Wed Apr 19 2000 - 10:04:58 EST


A.Ramasamy wrote:

> We did the following for using proxy-arp in a machine
>
> 1. Set /proc/sys/net/ipv4/conf/*/proxy_arp to 1 ( using echo )
> 2. published arp entry for w.x.y.z ( using the command
> arp -H ether -i eth0 -Ds w.x.y.z eth0 pub
>
> The system responds for arp request for this address. But also responds
> for other unpublished addresses

That's because of step 1. Setting "/proc/sys/net/ipv4/conf/<if>/proxy_arp"
to 1 causes the system to answer any ARP requests which:

1. are received on the corresponding interface, and
2. are for an IP address to which the system has a route via a
different interface.

Basically, you want to use either step 1 or 2, but probably not both.

-- 
Glynn Clements <glynn@sensei.co.uk>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:15 EST