Thursday, March 19, 2009

Three approaches for enabling proxy arping through a tunnel (Linux)

Say you have a device by the name mstun which shows up
on your machine. Then to enable proxy arping of all the nodes
connected via the tunnel mstun you have to enable proxy
arping.

This can be done in three ways ($> is the prompt) -
$> echo 1 > /proc/sys/net/ipv4/conf/mstun/proxy_arp

OR
$> sysctl net.ipv4.conf.mstun.proxy_arp=1

OR
Add the line -
net.ipv4.conf.mstun.proxy_arp=1

to /etc/sysctl.conf

To work with this setup ip forwarding on the machine has to be enabled -
$> echo 1 > /proc/sys/net/ipv4/ip_forward

0 comments:

Post a Comment