summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-11-03 07:32:11 -0700
committerStephen Hemminger <shemminger@vyatta.com>2011-11-03 07:32:11 -0700
commit425985da93a28f53aeb6154bc10f3b0b7600b1d3 (patch)
treec1a52514e39ec72c4d3e486df9ce03ac3ebbd1ae
parent184b44142142f848f46e33e03a4ca8504b694990 (diff)
downloadvyatta-cfg-quagga-425985da93a28f53aeb6154bc10f3b0b7600b1d3.tar.gz
vyatta-cfg-quagga-425985da93a28f53aeb6154bc10f3b0b7600b1d3.zip
pseudo-ethernet: add support for proxy arp
Clone proxy-arp support from ethernet for pseudo-ethernet
-rw-r--r--templates/interfaces/pseudo-ethernet/node.tag/ip/enable-proxy-arp/node.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/interfaces/pseudo-ethernet/node.tag/ip/enable-proxy-arp/node.def b/templates/interfaces/pseudo-ethernet/node.tag/ip/enable-proxy-arp/node.def
new file mode 100644
index 00000000..ae7ba09a
--- /dev/null
+++ b/templates/interfaces/pseudo-ethernet/node.tag/ip/enable-proxy-arp/node.def
@@ -0,0 +1,3 @@
+help: Enable proxy-arp on this interface
+create:expression: "sudo sh -c \"echo 1 > /proc/sys/net/ipv4/conf/$VAR(../../@)/proxy_arp\" "
+delete:expression: "sudo sh -c \"echo 0 > /proc/sys/net/ipv4/conf/$VAR(../../@)/proxy_arp\" "