Disable some vif options in the helper's interface
authorNikos Skalkotos <skalkoto@grnet.gr>
Mon, 4 Mar 2013 17:35:19 +0000 (19:35 +0200)
committerNikos Skalkotos <skalkoto@grnet.gr>
Mon, 4 Mar 2013 17:35:19 +0000 (19:35 +0200)
When working in xen mode, make sure that arp, allmulticast, dynamic
and multicast are disabled in the helpers virtual interface.

snf-image-host/vif-snf-image

index b143da0..7f4b341 100755 (executable)
@@ -3,6 +3,11 @@
 dir=$(dirname "$0")
 . "$dir"/vif-common.sh
 
+ip link set "$vif" arp off
+ip link set "$vif" allmulticast off
+ip link set "$vif" dynamic off
+ip link set "$vif" multicast off
+
 echo 0 > /proc/sys/net/ipv6/conf/$vif/autoconf
 echo 1 > /proc/sys/net/ipv6/conf/$vif/disable_ipv6