From 79230bfaff3c687ef7d2ec729cd7b710b459b5b2 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Wed, 19 May 2010 20:15:48 -0700 Subject: Add enable-proxy-arp to vif interface. --- .../ethernet/node.tag/vif/node.tag/ip/enable-proxy-arp/node.def | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 templates/interfaces/ethernet/node.tag/vif/node.tag/ip/enable-proxy-arp/node.def (limited to 'templates/interfaces') diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/enable-proxy-arp/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/enable-proxy-arp/node.def new file mode 100644 index 00000000..a45d4129 --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/vif/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(../../../@).$VAR(../../@)/proxy_arp\" " +delete:expression: "sudo sh -c \"echo 0 > /proc/sys/net/ipv4/conf/$VAR(../../../@).$VAR(../../@)/proxy_arp\" " -- cgit v1.2.3