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

Re: [Xen-users] two bridges with xen 3.2.0



Hi,

Here's my Xen3.2 script .. working 100% on multiple boxes ...

#!/bin/sh
XENDIR="/etc/xen/scripts"

$XENDIR/network-bridge "$@" netdev=eth0 bridge=eth0 vifnum=0
$XENDIR/network-bridge "$@" netdev=eth1 bridge=eth1 vifnum=1

NOTE::

The nice people at Xen changed the default bridge from Xenbr<n> to eth<n>.

New method;
a. rename device eth0 to peth0
b. create a bridge called eth0 (!!)
c. include peth0 as a device for bridge eth0

!!

Much improved method, however, the documentation stinks ..

Gareth.


----- Original Message -----
step 3.: "Jordi Moles" <jordi@xxxxxxxxx>
To: xen-users@xxxxxxxxxxxxxxxxxxx
Sent: 20 February 2008 11:50:33 o'clock (GMT) Europe/London
Subject: [Xen-users] two bridges with xen 3.2.0

hi,

i'm trying the new 3.2.0.

i've always used two bridges since 3.0.x with the following set up:

Replace

(network-script network-bridge)

with

(network-script network-bridge-both)

in file /etc/xen/xend-config.sxp

The content of network-bridge-both is

************

#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1

************

As i said, this used to work for 3.0.x and 3.1.x releases.....

Now, it doesn't work anymore...

when the xen loads....

there's only this in the ifconfig command:

-lo
-peth0
-peth1

What's different from the earlier releases? Thank you.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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