diff options
Diffstat (limited to 'interface-templates/ip/enable-arp-ignore/node.def')
-rw-r--r-- | interface-templates/ip/enable-arp-ignore/node.def | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-templates/ip/enable-arp-ignore/node.def b/interface-templates/ip/enable-arp-ignore/node.def new file mode 100644 index 00000000..bd6aee52 --- /dev/null +++ b/interface-templates/ip/enable-arp-ignore/node.def @@ -0,0 +1,3 @@ +help: Enable arp-ignore on this interface +create:expression: "sudo sh -c \"echo 1 > /proc/sys/net/ipv4/conf/$IFNAME/arp_ignore\" " +delete:expression: "sudo sh -c \"echo 0 > /proc/sys/net/ipv4/conf/$IFNAME/arp_ignore\" " |