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

Re: [Xen-users] network problem: Cannot find network for bridge

  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxxxxxx>
  • From: "Marco Strullato" <marco.strullato@xxxxxxxxx>
  • Date: Mon, 8 Oct 2007 10:41:53 +0200
  • Cc: xen-users <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 08 Oct 2007 01:42:47 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=dXAj/CbTe4CRUTEhrwVBzFge6FbGCMmVrUkl52yQ1z1dQTEs8CcTjQDD1H4U3KaNhOGawPZQmp1nrPxv9WZ4EaS6AsTGek1DMpZl3HGFObK4oh/sovvBMghOsTEGBUCDv8FqdRwzmMrlV0YXGbCMsnc91HikqrGUAvr0uS+/jKs=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I've created virtual machines with virt-manager and now I have to export, change and re-import xml configurations: I don't have a regular xen configuration file but and xml. Here's the mine.

<domain type='xen' id='2'>
    <boot dev='hd'/>
  <clock offset='utc'/>
    <interface type='bridge'>
      <source bridge='xenbr0'/>
      <target dev='vif2.0'/>
      <mac address='00:16:3e:3f:54:42'/>
      <script path='vif-bridge'/>
    <disk type='block' device='disk'>
      <driver name='phy'/>
      <source dev='/dev/VolGroup00/WinXP'/>
      <target dev='hda'/>
    <disk type='block' device='cdrom'>
      <driver name='phy'/>
      <source dev='/dev/cdrom'/>
      <target dev='hdc'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5900' keymap='it'/>

I know that I should have the bridge xenbr0 but I don't know why... Where should I check?
It's stange beacuse the linux vm's network works well.



2007/10/8, Fajar A. Nugraha <fajar@xxxxxxxxxxxxx>:
Marco Strullato wrote:
> Hi all, I have a network problem:
> Dom0 has:
> Dom1: linux paravirtualized
> Dom2: winxp hvm
> It worked well but now winxp can not connect to network:
> Dom0 has eth0, lo, peth0, vif1.0 and vif3.0
That's weird. You should also have some tap interfaces for HVM domains.
Do you remember to put "type=ioemu" on winxp's vif config line?

> [root@localhost xen]# brctl show
> bridge name     bridge id               STP enabled     interfaces
> eth0            8000.00155880c616       no              vif3.0
>                                                         vif1.0
>                                                         peth0
It says your bridge is called eth0

> From xend.log
> Exception: Cannot find network for bridge xenbr0
But xend.log says you're using xenbr0 in your config file.

The befault network-bridge script should create a bridge called xenbr0.
If you use a custom bridge script, you should modify your domU config
accordingly. It should be (on your setup) something like

vif = [ 'type=ioemu, mac=SOME_FIXED_MAC_ADDRESS_HERE, bridge=eth0' ]



Xen-users mailing list

Xen-users mailing list



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