From: Nikos Skalkotos Date: Mon, 4 Mar 2013 17:35:19 +0000 (+0200) Subject: Disable some vif options in the helper's interface X-Git-Tag: v0.8~17 X-Git-Url: https://code.grnet.gr/git/snf-image/commitdiff_plain/6edac4deaf02ae749d547e3d0b2e6aa39ef3d85c Disable some vif options in the helper's interface When working in xen mode, make sure that arp, allmulticast, dynamic and multicast are disabled in the helpers virtual interface. --- diff --git a/snf-image-host/vif-snf-image b/snf-image-host/vif-snf-image index b143da0..7f4b341 100755 --- a/snf-image-host/vif-snf-image +++ b/snf-image-host/vif-snf-image @@ -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