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] network troubles...

On Tuesday 04 October 2005 14:46, Steven McCoy wrote:

> Gentoo has another problem that the network-bridge scripts rely on ifup and
> ifdown and these are not part of the distribution.
>
Gentoo already provides means to configure a bridge, so you don't have to use 
the example script provided by xen to do that.

thats how I've set it up here:

# ls -la /etc/init.d/net.br*
lrwxrwxrwx  1 root root 6 Jul  4 17:01 /etc/init.d/net.br0 -> net.lo
lrwxrwxrwx  1 root root 6 Jul  4 17:01 /etc/init.d/net.br1 -> net.lo

in /etc/conf.d/net:
bridge_br0="eth0"
bridge_br1="eth1"
config_eth0=( "null" )
config_eth1=( "null" )
config_br0=( "192.168.0.12/24" )
config_br1=( "192.168.1.144/24" )

brctl_br0=( "setfd 0" "sethello 0" "stp off" )
brctl_br1=( "setfd 0" "sethello 0" "stp off" )

routes_br0=(
        "default via 192.168.0.1"
)
routes_br1=(
        "default via 192.168.1.1"
)

in the domU config files:
vif = [ 'mac=aa:de:ad:be:ef:31, bridge=br0' ]

/Ernst

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

<Prev in Thread] Current Thread [Next in Thread>