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-devel

Re: [Xen-devel] Bridged networking broken ? (was: Xen works fine)

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Bridged networking broken ? (was: Xen works fine)
From: Anton Titov <a.titov@xxxxxxx>
Date: Fri, 11 Mar 2005 16:54:41 +0200
Delivery-date: Fri, 11 Mar 2005 14:57:02 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <1110549691.10034.4.camel@xxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <45C04601B80F0E49B49D5434521C12D603D70B45@xxxxxxxxxxxxxxxxx> <1110549691.10034.4.camel@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20050224)
Actually I've had this problem too, on Gentoo, which comes more or less with no packages preinstalled. My network scripts was failing silently too and as the server was in colo, the quick solution I found was to bring xen-br0 up manually with:

 ifconfig eth0 0.0.0.0 promisc up
 brctl addbr xen-br0
 brctl setfd xen-br0 1
 brctl sethello xen-br0 1
 brctl stp xen-br0 off
 brctl addif xen-br0 eth0
 ifconfig xen-br0 ................. up
 route add default gw ...................

Actually I had very bad problem with machine dropping packets in peak hours /~10Mbit network traffic from pages, no big downloads/. I was seening:
Feb 13 22:36:58 carrier ip_conntrack: table full, dropping packet.

in the kernel log all the time, also netstat was reporting many times more open connections that was the number of apache processes. I've found that there is a bug in connection tracking code, introduced in 2.6.10 /not sure, but was a recent bug/, I've found a patch for this problem, but I was not feeling like patching, recompiling and rebooting in peak hours, so I've solved the problem with:

echo 131072 > /proc/sys/net/ipv4/ip_conntrack_max

Hope this helps somebody.

Also does anybody here know about this problem and if it is fixed in xen 2.0.5, as it is 2.6.10 based too?

Anton Titov


Harry Butterworth wrote:

I've used 2.0.4 on Sarge and the only problem I had was that the
networking scripts fail silently if the 'ip' command is not installed.
Make sure you have it by installing the package iproute.

Harry.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel