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

[Xen-users] Multiple xen bridges



Hi everyone,

With some successfull Xen3.0.1 single network interface configuration
deployments behind, I've tried to setup a multinetwork xen host/DomUs
following http://julien.danjou.info/xen.html. So I've diverted my
/etc/xen/scripts/network-bridge to /etc/xen/scripts/network-bridge.xen
and created a /etc/xen/scripts/network-bridge, with the following content:

#!/bin/sh
# Exit if anything goes wrong.
set -e

# First arg is the operation.
OP=$1
shift

script=/etc/xen/scripts/network-bridge.xen

case ${OP} in
  start)
        $script start bridge=xenbr0 netdev=eth0
        $script start bridge=xenbr1 netdev=eth1
        $script start bridge=xenbri netdev=dummy0
        ;;

    stop)
        $script stop bridge=xenbr0 netdev=eth0
        $script stop bridge=xenbr1 netdev=eth1
        $script stop bridge=xenbri netdev=dummy0
        ;;

    *)
       echo 'Unknown command: ' ${OP}
       echo 'Valid commands are: start, stop'
       exit 1
esac

(It's almost copy-paste from the aforementioned webpage)

When I try to stop this new script it runs problemles, it kills the
xenbr0 interface., but when I try to start it, it is complaining:
Waiting for peth0 to negotiate link...
Link veth0 is missing.
This may be because you have reached the limit of the number of interfaces
that the loopback driver supports.  If the loopback driver is a module, you
may raise this limit by passing it as a parameter (nloopbacks=<N>); if the
driver is compiled statically into the kernel, then you may set the
parameter
using loopback.nloopbacks=<N> on the domain 0 kernel command line.
And then starts up only one bridge xenbr0.
System: Xen-3.0.1, Dom0=Debian Sarge, with xen from debianbase.de kernel
configured and compiled localy, without touching anything loopback
related, just added drbd via module-assistant.

Thanks in advance.

Geza


_______________________________________________
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®.