summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-05-19 20:15:48 -0700
committerStig Thormodsrud <stig@vyatta.com>2010-05-19 20:15:48 -0700
commit79230bfaff3c687ef7d2ec729cd7b710b459b5b2 (patch)
tree4ca32ef6fc003d0f6af5978a3b54ff399fb67e82 /templates
parent078bc252414a5fdf87d4259b091554d45278a119 (diff)
downloadvyatta-cfg-quagga-79230bfaff3c687ef7d2ec729cd7b710b459b5b2.tar.gz
vyatta-cfg-quagga-79230bfaff3c687ef7d2ec729cd7b710b459b5b2.zip
Add enable-proxy-arp to vif interface.
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/ip/enable-proxy-arp/node.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/enable-proxy-arp/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/enable-proxy-arp/node.def
new file mode 100644
index 00000000..a45d4129
--- /dev/null
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/enable-proxy-arp/node.def
@@ -0,0 +1,3 @@
+help: Set to enable proxy-arp on this interface
+create:expression: "sudo sh -c \"echo 1 > /proc/sys/net/ipv4/conf/$VAR(../../../@).$VAR(../../@)/proxy_arp\" "
+delete:expression: "sudo sh -c \"echo 0 > /proc/sys/net/ipv4/conf/$VAR(../../../@).$VAR(../../@)/proxy_arp\" "