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

[Xen-users] Centos multiple bridging



Hi @all,

I tried to setup xen 3.3 on centos 5 Update 2. I used the following packages:

http://bderzhavets.blogspot.com/2008/08/install-xen-3.html

The server has 4 physical network interfaces and i want to use them all.

eth0 => only for host (configured with static ip)
eth1 => first vm (configured with static ip)
eth2 => second vm (configured with static ip)
eth3 => all other vm (configured with static ip)

all of these interfaces are in the same subnet.

To configure this i used this howto  http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Virtualization/sect-Virtualization-Virtualized_network_devices-Configuring_multiple_guest_network_bridges_to_use_multiple_ethernet_cards.html

I only installed these packages and configured the interfaces like the example in the howto above:

...
start)
        $script start vifnum=1 bridge=xenbr1 netdev=eth1
        $script start vifnum=2 bridge=xenbr2 netdev=eth2
        $script start vifnum=3 bridge=xenbr3 netdev=eth3


These are the only things i configured.

[root@sv-173 ~]# brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr1          8000.001a64358c26       no              peth1
xenbr2          8000.001a643589d0       no              peth2
xenbr3          8000.001a643589d2       no              peth3


If i startup a machine like this:

virt-install -f /data/machines/tmpl-centos.img -p -l http://url_to_image/centos/5/64/ --vcpus=1 -r 512 -b xenbr1

I got the following error after retrieving the initrd:

virDomainCreateLinux() failed POST-Operation schlug fehl: xend_post: error from xen daemon: (xend.err 'Device 0 (vif) could not be connected. Hotplug scripts not working.')
Domain installation may not have been
 successful.  If it was, you can restart your domain
 by running 'virsh start tmpl-centos'; otherwise, please
 restart your installation.
Fr, 26 Sep 2008 10:16:46 ERROR    virDomainCreateLinux() failed POST-Operation schlug fehl: xend_post: error from xen daemon: (xend.err 'Device 0 (vif) could not be connected. Hotplug scripts not working.')
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 497, in ?



What i've done wrong? :)

Thx for your help!!

So long,
chris


Zeigen Sie es Ihren Freunden! Erstellen Sie kostenlos Fotoalben und Diashows in Ihrem Space!
_______________________________________________
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®.