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] Multiple xen bridges

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Multiple xen bridges
From: Gémes Géza <geza@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 04 Mar 2006 06:58:52 +0100
Delivery-date: Sat, 04 Mar 2006 05:59:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322)
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

<Prev in Thread] Current Thread [Next in Thread>