diff options
author | Kim Hagen <khagen@multi-development.com> | 2014-07-01 14:38:37 +0200 |
---|---|---|
committer | Kim Hagen <khagen@multi-development.com> | 2014-07-01 14:38:37 +0200 |
commit | d3c2fb0ebeb2a945ac76d724ff532f5b9cb01bf5 (patch) | |
tree | 510792616790c9d9577e7dfa371e5b38dd659497 /interface-templates/ip/enable-arp-announce/node.def | |
parent | 66da1d0ad38e345176f0ec28ec59961e84dd61fa (diff) | |
download | vyatta-cfg-system-d3c2fb0ebeb2a945ac76d724ff532f5b9cb01bf5.tar.gz vyatta-cfg-system-d3c2fb0ebeb2a945ac76d724ff532f5b9cb01bf5.zip |
Bug #21 - Add the ability to adjust system ARP settings via the CLI on a per interface basis
Diffstat (limited to 'interface-templates/ip/enable-arp-announce/node.def')
-rw-r--r-- | interface-templates/ip/enable-arp-announce/node.def | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-templates/ip/enable-arp-announce/node.def b/interface-templates/ip/enable-arp-announce/node.def new file mode 100644 index 00000000..fde37ce5 --- /dev/null +++ b/interface-templates/ip/enable-arp-announce/node.def @@ -0,0 +1,3 @@ +help: Enable arp-announce on this interface +create:expression: "sudo sh -c \"echo 1 > /proc/sys/net/ipv4/conf/$IFNAME/arp_announce\" " +delete:expression: "sudo sh -c \"echo 0 > /proc/sys/net/ipv4/conf/$IFNAME/arp_announce\" " |