From 03f80363921a3fdb080414f0ba52dc10797fbb3a Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Wed, 25 Jun 2008 15:37:02 -0700 Subject: Add cli to enable proxy arp on a interface. --- templates/interfaces/ethernet/node.tag/ip/enable-proxy-arp/node.def | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 templates/interfaces/ethernet/node.tag/ip/enable-proxy-arp/node.def diff --git a/templates/interfaces/ethernet/node.tag/ip/enable-proxy-arp/node.def b/templates/interfaces/ethernet/node.tag/ip/enable-proxy-arp/node.def new file mode 100644 index 00000000..e125e5c5 --- /dev/null +++ b/templates/interfaces/ethernet/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(../../@)/proxy_arp\" " +delete:expression: "sudo sh -c \"echo 0 > /proc/sys/net/ipv4/conf/$VAR(../../@)/proxy_arp\" " -- cgit v1.2.3