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] virbr0/bridge: No such file or directory, rhel6 bridge-u

To: Scott Meyers <scottmeyers@xxxxxxxx>
Subject: Re: [Xen-devel] virbr0/bridge: No such file or directory, rhel6 bridge-utils IGMP snooping
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Tue, 30 Aug 2011 09:05:56 +0300
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 29 Aug 2011 23:07:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <SNT127-W21B674234235AED6B1CCCDC9140@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <SNT127-W406E00A1722D989EC85D2BC9130@xxxxxxx> <20110826112557.GD32373@xxxxxxxxxxx> <20110826135434.GK32373@xxxxxxxxxxx> <SNT127-W21B674234235AED6B1CCCDC9140@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Aug 29, 2011 at 06:44:24PM -0500, Scott Meyers wrote:
> 
> In response to your questions:
>  
> 
> > - do you have ip_forwarding (routing) enabled in dom0?
> 
> No. That was not mentioned or required according to your tutorial.
> 

NAT requires ip_forwarding/routing! This is a generic requirement for all Linux 
NAT stuff,
be it Xen or something else.

>  
> > - How are your firewall rules in dom0?
> 
> 
> Disabled
> 

Then it obviously won't work!
When dnsmasq starts it should add the firewall rules for NAT.


>  
> > - Is dnsmasq running?
> No, dsnmasq was not running. I started dnsmasq, but didn't solve the problem.
> 

dnsmasq acts as a dhcp server and DNS server for virbr0 bridge, 
so you definitely need it running!


>  
> 
> > - Do you see domU dhcp requests in system logs (from dnsmasq) ?
> 
> 
> No. I always set dhcp off. I use static ips.
> 

What IP did you configure in the VM? 
Could you ping the gateway (dom0 IP on virbr0) from the VM?


> 
> > - After the domU is started run "brctl show" - is the domU vif connected to 
> > virbr0 bridge?
> 
> 
> It showed:
> 
> bridge name bridge id STP enabled interfaces
> virbr0 8000.feffffffffff yes
> 

So the VM is NOT connected to virbr0 at all!
Do you have xen-netback driver loaded in dom0 kernel?

> 
> > - Run "tcpdump -i virbr0 -nn" - do you see the traffic from the vm?


Did tcpdump show any traffic?


> > - Does the domU get an IP? 
> 
> Nope.
> 
> Why Xen v4.x is so buggy and difficult to deal with? I didn't have these 
> problems using version 3.x. Does that mean v4 in still in beta?
> 

4.x is not in beta. 

When building a platform on your own, you need to understand
how things work and configure everything properly.

> We are planning to use v4 on a production server. Can we trust this system?
> 

Yes, when it's properly configured.


-- Pasi


>  
> 
>  
> 
> > Date: Tue, 30 Aug 2011 00:23:24 +0300
> > From: pasik@xxxxxx
> > To: scottmeyers@xxxxxxxx
> > CC: xen-devel@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: [Xen-devel] virbr0/bridge: No such file or directory, rhel6 
> > bridge-utils IGMP snooping
> > 
> > On Mon, Aug 29, 2011 at 03:52:59PM -0500, Scott Meyers wrote:
> >
> 
> > virbr0 is created by libvirtd/dnsmasq, so it's not really part of Xen.
> > 
> > Anyway, some things to verify:
> 
> 
>                                         

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel