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

Re: [Xen-users] creating xenbr0 manually

To: info@xxxxxxxxxx
Subject: Re: [Xen-users] creating xenbr0 manually
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=T0HNl+dptSUcMB4xlVO57kV9vyLBWkL85VA+MmZWZYU=; b=hanySAstzVqEAaQ2zHfpDfhYPScnE+PGrSwZigDLCGyiSTdo8VtPtlnUIhs2nbvdKBjNYgn4Qa7d7l4UhYoIv6Y85kPzpcQ11eZl7fsBW3hzujbPsaXVQtq5J2qBOXyS6qN6iIGu9LW5xV+rzFpBBAH0GBn1ylIQ1KvtyJ0DAl8=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47E92C5A.2040201@xxxxxxxxxx>
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>
References: <47E92C5A.2040201@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>