summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-20 11:22:17 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-20 11:22:17 -0700
commit67bfa56674b29993a187185d88593bbd533b5403 (patch)
treed286ed37f2a0877259c3093c92e64864e81344dd
parentc46ba36ab7b7805ecdf6692f4b7f16d98ad4fae2 (diff)
downloadvyatta-cfg-quagga-67bfa56674b29993a187185d88593bbd533b5403.tar.gz
vyatta-cfg-quagga-67bfa56674b29993a187185d88593bbd533b5403.zip
Add proxy-arp over bonding
Bug 5674
-rw-r--r--templates/interfaces/bonding/node.tag/ip/enable-proxy-arp/node.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/interfaces/bonding/node.tag/ip/enable-proxy-arp/node.def b/templates/interfaces/bonding/node.tag/ip/enable-proxy-arp/node.def
new file mode 100644
index 00000000..ae7ba09a
--- /dev/null
+++ b/templates/interfaces/bonding/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\" "