WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Centos multiple bridging

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Centos multiple bridging
From: Chris <mailing@xxxxxxxxxxx>
Date: Fri, 26 Sep 2008 08:22:47 +0000
Delivery-date: Fri, 26 Sep 2008 01:24:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Centos multiple bridging, Chris <=