Hi, I am facing the below error while creating a VM. Error: Device 0 (vif) could not be connected. Could not find bridge device xenbr0 peth0 Please find below the config file used for creating the VM. name = "Copy_Copy_Copy_RHEL52VM1" uuid = "e782c1f2-b261-4b77-89b1-d45eff123ac3" maxmem = 1024 memory = 1024 vcpus = 1 bootloader = "/usr/bin/pygrub" kernel = "/var/lib/xen/boot_kernel.YYqIP5" ramdisk = "/var/lib/xen/boot_ramdisk.oSpizK" extra = "ro root=/dev/VolGroup00/LogVol00 console=xvc0 rhgb quiet" on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" vfb = [ "type=vnc,vncunused=0,vncdisplay=0,vnclisten=127.0.0.1,keymap=en-us" ] disk = [ "tap:aio:/var/lib/xen/images/Copy_Copy_Copy_RHEL52VM1.img,xvda,w" ] vif = [ "mac=00:16:3e:43:b7:99,bridge=xenbr0 peth0,script=vif-bridge" ] The output of the brctl show command is as below. bridge name bridge id STP enabled interfaces virbr0 8000.000000000000 yes xenbr0 8000.feffffffffff no peth0 vif0.0 Please guide. Thank you -- Regards Ananth _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Anantha Padmanabhan,> vif = [ "mac=00:16:3e:43:b7:99,bridge=xenbr0 peth0,script=vif-bridge" ] >don''t know, but are you trying to attach your interface to xenbr0 AND peth0? xen is doing the following during boot: rename eth0 to peth0 create xenbr0-bridge attach peth0 to xenbr0-bridge FYI: new versions create a "eth0"-bridge and attach "peth0" to it. I would suggest, the correct line should be: vif = [ "mac=00:16:3e:43:b7:99,bridge=xenbr0" ]> bridge name bridge id STP enabled interfaces > virbr0 8000.000000000000 yes > xenbr0 8000.feffffffffff no peth0 > vif0.0 >Looks ok. Cu Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, sorry you really should not create a new thread ;)> In continuation with my previous mail, I changed the vif entry in the config file as, > vif = ["mac=00:16:3e:43:b7:99,bridge=xenbr0"] and I was able to boot into the guest, but I was not able to ping any system from the guest. > I have attached the snapshot of the boot error messages.Some more informations would be great: - did you setup your network in DomU? - are you able to login? - what version? (kernel/xen) - .. Bye, Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I was able to solve the problem. Changing the vif entry did the trick. I had given the gateway address wrongly. :) Thank you very much for your support. Regards Ananth -----Original Message----- From: Fabian Zimmermann [mailto:xen-users@z-technologies.de] Sent: Wednesday, July 22, 2009 11:40 PM To: CB, Anantha Padmanabhan Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Error while creating VM Hi, sorry you really should not create a new thread ;)> In continuation with my previous mail, I changed the vif entry in the config file as, > vif = ["mac=00:16:3e:43:b7:99,bridge=xenbr0"] and I was able to boot into the guest, but I was not able to ping any system from the guest. > I have attached the snapshot of the boot error messages.Some more informations would be great: - did you setup your network in DomU? - are you able to login? - what version? (kernel/xen) - .. Bye, Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users