From d3c2fb0ebeb2a945ac76d724ff532f5b9cb01bf5 Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Tue, 1 Jul 2014 14:38:37 +0200 Subject: Bug #21 - Add the ability to adjust system ARP settings via the CLI on a per interface basis --- interface-templates/ip/enable-arp-accept/node.def | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 interface-templates/ip/enable-arp-accept/node.def (limited to 'interface-templates/ip/enable-arp-accept') diff --git a/interface-templates/ip/enable-arp-accept/node.def b/interface-templates/ip/enable-arp-accept/node.def new file mode 100644 index 00000000..d5413737 --- /dev/null +++ b/interface-templates/ip/enable-arp-accept/node.def @@ -0,0 +1,3 @@ +help: Enable arp-accept on this interface +create:expression: "sudo sh -c \"echo 1 > /proc/sys/net/ipv4/conf/$IFNAME/arp_accept\" " +delete:expression: "sudo sh -c \"echo 0 > /proc/sys/net/ipv4/conf/$IFNAME/arp_accept\" " -- cgit v1.2.3