All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Bridged networking broken ? (was: Xen works fine)
@ 2005-03-11 13:23 JHJE (Jan Holst Jensen)
  2005-03-11 14:01 ` Harry Butterworth
  0 siblings, 1 reply; 6+ messages in thread
From: JHJE (Jan Holst Jensen) @ 2005-03-11 13:23 UTC (permalink / raw)
  To: xen-devel

Goetz Bock [bock@blacknet.de] wrote:
> I just wanted to provie some more positive feedback. My two Xen
> instalations just work fine. No problem, except for the known 
> (e.g. the broken bridge setup). I'm running Xen 2.0.4 on Debian Sarge
using the
> xen package provided by Adam Heath, with my own 2.6.10 based 
> kernel(s).

I have just started testing Xen for real and I have trouble getting
network connectivity in my VMs. Even though ifconfig reports that
xen-br0 is up in domain 0, my VMs hang trying to obtain a DHCP address.
Is that a known issue with bridged networking - did not find anything
mentioning it in the FAQ ? Would installing the package by Adam Heath
solve this ?

Running on Debian Sarge - using Xen 2.0.4 binary install. Naively just
trying to configure the VMs network by

  dhcp = "dhcp"

Cheers
-- Jan Holst Jensen, Novo Nordisk A/S, Denmark


-------------------------------------------------------
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_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Bridged networking broken ? (was: Xen works fine)
  2005-03-11 13:23 Bridged networking broken ? (was: Xen works fine) JHJE (Jan Holst Jensen)
@ 2005-03-11 14:01 ` Harry Butterworth
  2005-03-11 14:54   ` Anton Titov
  0 siblings, 1 reply; 6+ messages in thread
From: Harry Butterworth @ 2005-03-11 14:01 UTC (permalink / raw)
  To: JHJE (Jan Holst Jensen); +Cc: xen-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Bridged networking broken ? (was: Xen works fine)
@ 2005-03-11 14:05 Ian Pratt
  0 siblings, 0 replies; 6+ messages in thread
From: Ian Pratt @ 2005-03-11 14:05 UTC (permalink / raw)
  To: JHJE (Jan Holst Jensen), xen-devel; +Cc: ian.pratt

> I have just started testing Xen for real and I have trouble getting
> network connectivity in my VMs. Even though ifconfig reports that
> xen-br0 is up in domain 0, my VMs hang trying to obtain a 
> DHCP address.

Is your DHCP server configured to hand out addresses to any MAC address?

Ian


-------------------------------------------------------
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_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bridged networking broken ? (was: Xen works fine)
  2005-03-11 14:01 ` Harry Butterworth
@ 2005-03-11 14:54   ` Anton Titov
  0 siblings, 0 replies; 6+ messages in thread
From: Anton Titov @ 2005-03-11 14:54 UTC (permalink / raw)
  To: xen-devel

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@lists.sourceforge.net
>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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Bridged networking broken ? (was: Xen works fine)
@ 2005-03-11 16:11 JHJE (Jan Holst Jensen)
  0 siblings, 0 replies; 6+ messages in thread
From: JHJE (Jan Holst Jensen) @ 2005-03-11 16:11 UTC (permalink / raw)
  To: Ian Pratt, xen-devel; +Cc: ian.pratt

> > I have just started testing Xen for real and I have trouble getting
> > network connectivity in my VMs. Even though ifconfig reports that
> > xen-br0 is up in domain 0, my VMs hang trying to obtain a 
> > DHCP address.
> 
> Is your DHCP server configured to hand out addresses to any 
> MAC address?

It should be - I've never had trouble setting up machines on our
network.

-- Jan


-------------------------------------------------------
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_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Bridged networking broken ? (was: Xen works fine)
@ 2005-03-11 16:13 JHJE (Jan Holst Jensen)
  0 siblings, 0 replies; 6+ messages in thread
From: JHJE (Jan Holst Jensen) @ 2005-03-11 16:13 UTC (permalink / raw)
  To: Anton Titov, xen-devel

> 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

Thanks for the suggestion. I'll try it end of next week when I am in the
office again. Tried shutting xen-br0 down before doing the above but
then lost network and so my ssh connection - DUH! One machine offline,
9999 to go :-). Well... better luck on thursday.

Cheers
-- Jan


-------------------------------------------------------
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_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-03-11 16:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-11 13:23 Bridged networking broken ? (was: Xen works fine) JHJE (Jan Holst Jensen)
2005-03-11 14:01 ` Harry Butterworth
2005-03-11 14:54   ` Anton Titov
  -- strict thread matches above, loose matches on Subject: below --
2005-03-11 14:05 Ian Pratt
2005-03-11 16:11 JHJE (Jan Holst Jensen)
2005-03-11 16:13 JHJE (Jan Holst Jensen)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.