From: Reto Buerki Date: Thu, 13 Dec 2012 17:48:17 +0000 (+0100) Subject: Disable checksum offloading on moon's eth1 interface X-Git-Tag: 5.0.2rc1~1^2~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b351656cc758d4f89da6fcf4651622073ea6b1cb;p=thirdparty%2Fstrongswan.git Disable checksum offloading on moon's eth1 interface Disable checksum offloading on eth1 because it does not currently work with virtio and the isc-dhcp-server running on venus, see [1]. [1] - https://bugs.mageia.org/show_bug.cgi?id=1243 --- diff --git a/testing/hosts/moon/etc/rc.local b/testing/hosts/moon/etc/rc.local new file mode 100755 index 0000000000..8649a2bcb4 --- /dev/null +++ b/testing/hosts/moon/etc/rc.local @@ -0,0 +1,20 @@ +#!/bin/sh -e +# +# rc.local +# +# This script is executed at the end of each multiuser runlevel. +# Make sure that the script will "exit 0" on success or any other +# value on error. +# +# In order to enable or disable this script just change the execution +# bits. +# + +# Disable checksum offloading on eth1 because it does not currently work with +# libvirt and isc-dhcp-server running on venus, see [1] +# [1] - https://bugs.mageia.org/show_bug.cgi?id=1243 + +ethtool --offload eth1 tx off >/dev/null 2>&1 +ethtool --offload eth1 rx off >/dev/null 2>&1 + +exit 0