|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] network troubles...
How do you set up your internet connection? Or is it one of those? I
have the joys of static IPs for each computer assigned via DHCP and
I'd like to adapt your config, as it's the most elegant way of doing
it that I've seen on gentoo. Do you have to call any other scripts on
domU startup to, for example, start virtual interfaces? Is there a
document somewhere that deals with Xen and Gentoo's networking?
Thanks in advance,
-Daniel Nelson
On 10/4/05, Ernst Bachmann <e.bachmann@xxxxxxxx> wrote:
> 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
>
--
"If the English language made any sense, lackadaisical would have
something to do with a shortage of flowers." --Doug Larson
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|