From 67bfa56674b29993a187185d88593bbd533b5403 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 20 Jul 2010 11:22:17 -0700 Subject: Add proxy-arp over bonding Bug 5674 --- templates/interfaces/bonding/node.tag/ip/enable-proxy-arp/node.def | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 templates/interfaces/bonding/node.tag/ip/enable-proxy-arp/node.def diff --git a/templates/interfaces/bonding/node.tag/ip/enable-proxy-arp/node.def b/templates/interfaces/bonding/node.tag/ip/enable-proxy-arp/node.def new file mode 100644 index 00000000..ae7ba09a --- /dev/null +++ b/templates/interfaces/bonding/node.tag/ip/enable-proxy-arp/node.def @@ -0,0 +1,3 @@ +help: Enable proxy-arp on this interface +create:expression: "sudo sh -c \"echo 1 > /proc/sys/net/ipv4/conf/$VAR(../../@)/proxy_arp\" " +delete:expression: "sudo sh -c \"echo 0 > /proc/sys/net/ipv4/conf/$VAR(../../@)/proxy_arp\" " -- cgit v1.2.3