WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] bad udp cksum by dns request in domU

To: Nadja Kick <nadjakick@xxxxxxxxxx>
Subject: Re: [Xen-users] bad udp cksum by dns request in domU
From: Patrick Wolfe <pwolfe@xxxxxxxxxxxxxx>
Date: Fri, 03 Feb 2006 11:49:01 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 03 Feb 2006 19:06:24 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200602031251.25868.nadjakick@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Employease
References: <200601282233.17162.torsten-z@xxxxxxxxxx> <200602031251.25868.nadjakick@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2006-02-03 at 12:51 +0100, Nadja Kick wrote:
> try: ethtool -K eth0 tx off in domU.

This is also needed in dom0!  I edited /etc/xen/scripts/network-bridge,
adding this command to the end of the op_start() function:

        add_to_bridge2 ${bridge} ${pdev}
        do_ifup ${netdev}
+       # disable ip checksum offloading for veth device
+       ethtool -K ${netdev} tx off
    else
        # old style without ${vdev}
        

For my Ubuntu/Debian Linux domU's, I just added a "post-up" line to the
file /etc/network/interfaces:

        auto eth0
        iface eth0 inet dhcp
                post-up ethtool -K eth0 tx off

Note: the same line works for static IPs too

Note: I don't know how to do the same type of thing for any other Linux
distribution (RedHat, Suse, Mandrive, etc) - sorry


FreeBSD 6.0 apparently doesn't enable checksum offloading by default,
because I don't have a problem with him at all.


All my connectivity issues have now been eliminated.setup

Thanks!


-- 

Patrick Wolfe

email:   pwolfe@xxxxxxxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>