diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2010-05-19 20:15:48 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2010-05-19 20:15:48 -0700 |
commit | 79230bfaff3c687ef7d2ec729cd7b710b459b5b2 (patch) | |
tree | 4ca32ef6fc003d0f6af5978a3b54ff399fb67e82 /templates | |
parent | 078bc252414a5fdf87d4259b091554d45278a119 (diff) | |
download | vyatta-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.def | 3 |
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\" " |