projects
/
snf-image
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70d434f
)
Disable some vif options in the helper's interface
author
Nikos Skalkotos
<skalkoto@grnet.gr>
Mon, 4 Mar 2013 17:35:19 +0000
(19:35 +0200)
committer
Nikos 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
patch
|
blob
|
history
diff --git
a/snf-image-host/vif-snf-image
b/snf-image-host/vif-snf-image
index
b143da0
..
7f4b341
100755
(executable)
--- 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