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] Problems creating second PVm using another bridge

To: Martin Gomba?? <martin@xxxxxx>
Subject: Re: [Xen-users] Problems creating second PVm using another bridge
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 8 Mar 2010 18:53:59 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 08 Mar 2010 08:54:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B94FD7D.3060907@xxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4B94FD7D.3060907@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Mar 08, 2010 at 02:37:01PM +0100, Martin Gomba?? wrote:
> Hi,
>
> I've successfully set up one PV virtual machine.
> Now i wanted to create another one, still use bridging option, but use a  
> different bridge.
>
> So i changed:
> vif = [ 'mac=00:16:XX:2a:30:fa, bridge=xenbr1' ]
> to:
> vif = [ 'mac=00:16:X1:2a:30:fa, bridge=xenbr0' ]
>
> xenbr0 is nonexistent and i expect Xen to create it when creating PVm,  
> because I don't remember creating xenbr1 bridge when i created my first  
> machine and it's working.
>
> xm create Tetrahedron.cfg -c
> Using config file "./Tetrahedron.cfg".
> Error: Device 0 (vif) could not be connected. Could not find bridge  
> device xenbr0
>
> Shouldn't Xen create that bridge for me?
>

Check /etc/xen/xend-config.sxp, especially the "network-script" line. 

The default "network-bridge" script creates only 1 bridge, usually xenbr0.
You can make it use your custom script, that does whatever.
Note that network-script is executed boot time (when xend is started).

You can also completely disable network-script and set up the bridges
using the networking setup/scripts provided by your dom0 distribution.

-- Pasi


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