|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] network problem: Cannot find network for bridge
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'>
<name>WinXP</name> <uuid>f3834331-f045-4b4b-90ad-0a57ec790248</uuid> <os> <type>hvm</type> <loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='hd'/> </os> <memory>1562624</memory> <vcpu>2</vcpu> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot>
<on_crash>restart</on_crash> <features> <acpi/> <apic/> <pae/> </features> <clock offset='utc'/> <devices> <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<interface type='bridge'> <source bridge='xenbr0'/> <target dev='vif2.0'/> <mac address='00:16:3e:3f:54:42'/> <script path='vif-bridge'/>
</interface> <disk type='block' device='disk'> <driver name='phy'/> <source dev='/dev/VolGroup00/WinXP'/> <target dev='hda'/>
</disk> <disk type='block' device='cdrom'> <driver name='phy'/> <source dev='/dev/cdrom'/> <target dev='hdc'/>
<readonly/> </disk> <input type='mouse' bus='ps2'/> <graphics type='vnc' port='5900' keymap='it'/> </devices> </domain>
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.
Suggestions?
Thanks Marco
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' ]
Regards,
Fajar
_______________________________________________
Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|