From 5cbb38a2a92e93a1019f14d1f86524c8a61d608c Mon Sep 17 00:00:00 2001 From: Rafal Wojtczuk Date: Tue, 2 Aug 2011 19:27:45 +0200 Subject: [PATCH] setup_ip: turn off sg Apparently vif frontend has broken sg implementation; we already worked around it in init.d script via ethtool; now do the same in setup_ip. It is relevant when attaching firewallvm to a different netvm on the fly. --- common/setup_ip | 1 + 1 file changed, 1 insertion(+) diff --git a/common/setup_ip b/common/setup_ip index 79f389a..ad42cf4 100755 --- a/common/setup_ip +++ b/common/setup_ip @@ -8,6 +8,7 @@ if [ x$ip != x ]; then /sbin/ifconfig $INTERFACE $ip netmask 255.255.255.255 /sbin/ifconfig $INTERFACE up /sbin/route add default dev $INTERFACE + /sbin/ethtool -K $INTERFACE sg off echo "nameserver $gateway" > /etc/resolv.conf echo "nameserver $secondary_dns" >> /etc/resolv.conf network=$(/usr/bin/xenstore-read qubes_netvm_network 2>/dev/null)