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

[Xen-users] Problems creating second PVm using another bridge

To: <pasik@xxxxxx>
Subject: [Xen-users] Problems creating second PVm using another bridge
From: Mike Viau <viaum@xxxxxxxxxxxxxxx>
Date: Mon, 8 Mar 2010 15:57:12 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 08 Mar 2010 12:58:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <20100308173443.GZ2580@xxxxxxxxxxx>
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: <20100308171709.GY2580@xxxxxxxxxxx>, <BAY107-W49241638FE6B33AB6EE537EF350@xxxxxxx>, <20100308173443.GZ2580@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
 Thanks Pasi!

You have answered the first of my previous mail very well.

Can I ask for your advice on what I should do with regards to what James Bulpin added in the wiki.

"I then add an init.d script to bring the interface up between xend and xendomains starting."

My thread starts here:
http://lists.xensource.com/archives/html/xen-users/2010-03/msg00218.html

 
-Mike Viau




> Date: Mon, 8 Mar 2010 19:34:43 +0200
> From: pasik@xxxxxx
> To: viaum@xxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] Problems creating second PVm using another bridge
> CC: xen-users@xxxxxxxxxxxxxxxxxxx
>
> On Mon, Mar 08, 2010 at 12:23:01PM -0500, Mike Viau wrote:
> > > On Mon, Mar 08, 2010 at 12:02:06PM -0500, Mike Viau wrote:
> > > > > 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.
> > > >
> > > > Link: [1]File-List
> > > > Link: [2]themeData
> > > > Link: [3]colorSchemeMapping
> > > >
> > > > How can one disable network-script? What options should be used in the
> > > > xend-config.sxp?
> > > >
> > > > I apologize if it is in the wiki, I must be blind then...
> > > >
> > >
> > > Just comment the whole line out, or change it to network-dummy.
> > >
> >
> > I do not seem to have a network-dummy script, should I? If I should could
> > you please post yours?
> >
> > localhost:/etc/xen/scripts# ls
> > blktap network-nat vtpm-delete
> > block network-route vtpm-hotplug-common.sh
> > block-common.sh vif-bridge vtpm-impl
> > block-enbd vif-common.sh vtpm-migration.sh
> > block-nbd vif-nat xen-hotplug-cleanup
> > external-device-migrate vif-route xen-hotplug-common.sh
> > locking.sh vscsi xen-network-common.sh
> > logging.sh vtpm xen-script-common.sh
> > network-bridge vtpm-common.sh
> >
>
> Just comment out the "network-script" line from xend-config.sxp and reboot the server.
>
> -- Pasi
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


Live connected with Messenger on your phone Learn more.

Live connected with Messenger on your phone Learn more.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users