[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
-- Djames Suhanko LinuxUser 158.760
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|