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