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

Re: [Xen-users] creating xenbr0 manually


  • To: info@xxxxxxxxxx
  • From: "Djames Suhanko" <djames.suhanko@xxxxxxxxx>
  • Date: Tue, 25 Mar 2008 14:02:42 -0300
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 25 Mar 2008 10:03:14 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=K8zCn7k74VKP7EDs08EtIsLSP4kVYt4ph/kqZoUU9TQgHb+6+qXicZTCEO68CYs6p39HgjvnJHyPWk9td/CAG/uTTJ5tN3p8C4jK3ePSaVNT5Q+YZiS73HS97DeRo2vQDW4uSZSLL/ELY7BfNqKtlbBgZq5BGnTGMkEs/p7M2t8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Yes, you do.

in /etc/xen/scripts/network-bridge.
In my dom0 i have two quad-ports ethernets, and each port is in a bridge (0 at 7).

if [ "$1" = "" ];then
echo "Usage: Stop or Start"
echo " "
exit 0
fi
if [ "$1" = "start" ];then
for i in `seq 0 7`;do

#Add bridge X
/sbin/brctl addbr br$i 2>/dev/null

#Add interface X in the bridge (iface 0 in bridge 0, etc.)
/sbin/brctl addif br$i eth$i 2>/dev/null

#No ip in real interfaces
/sbin/ifconfig eth$i 0 0.0.0.0 2>/dev/null

#No necessary, but I have ip in my bridges
/sbin/ifconfig br$i 192.168.10.$i netmask 255.255.0.0 2>/dev/null
done

elif [ "$1" = "stop" ];then
for i in `seq 0 7`;do
/sbin/brctl delbr br$i 2>/dev/null
/sbin/brctl delif br$i eth$i 2>/dev/null
/sbin/ifconfig br$i down 2>/dev/null
/sbin/ifconfig eth$i down
done

fi



On Tue, Mar 25, 2008 at 1:46 PM, Dominique H. Schramm <info@xxxxxxxxxx> wrote:

Hi guys,

i use xen3.2. how can i manually create the xenbr0 ? which parameters
have i to choose for brctl ?

thanks,

--

Viele Grüße

Dominique Holger Schramm  | Linux Administrator
http://schwarz-weiss.cc/  | Life between PuTTy and reality
http://ihr-linuxadmin.eu/ | Commercial Admin Service


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



--
Djames Suhanko
LinuxUser 158.760
_______________________________________________
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®.