[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.