|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|