[EMAIL PROTECTED] writes ("Proxy ARP"):
>
> I'm running an out-of-the-box installation of RedHat 6.0. What exactly do I
> have to do for setting up proxy arp on eth0 with kernel 2.2.5?
>
> For example, the command
>
> arp -i eth0 -Ds 192.168.0.2 eth0 pub
>
> seems to do nothing. I already tried setting
> /proc/sys/net/ipv4/conf/*/proxy_arp to 1 without success.
I have used proxy_arp successfully without having to add pub entries
to the arp table. I create the routing table with appropriate host/net
routes, then do
echo 1 >/proc/sys/net/ipv4/ip_forward
echo 1 >/proc/sys/net/ipv4/conf/eth0/proxy_arp
echo 1 >/proc/sys/net/ipv4/conf/eth1/proxy_arp
The kernel will then automatically generate arp replies when it
receives an arp requests on the 'wrong' interface (ie. where the
routing table says the target is on a different interface from the
interface that received the arp request).
> Do I have to compile a kernel with special options to get proxy arp working?
No.
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]