[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] network troubles...


  • To: Ernst Bachmann <e.bachmann@xxxxxxxx>
  • From: Daniel Nelson <packetcollision@xxxxxxxxx>
  • Date: Tue, 4 Oct 2005 11:25:44 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Steven McCoy <fnjordy@xxxxxxxxx>
  • Delivery-date: Tue, 04 Oct 2005 15:23:22 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TKmIPXBjojR40qOO9FBnllcC0DeP8TLm+zdhwqFjz1at95Hncl+DaADZ6wtDZmY1L6o4fJ/UWwuBlqqXygOWcWMygtZaJSPKkrwpsTBzV4XzSprIBamGntEQj0me+9LZHuC3vkyWx6BxcxSfL1qTGk/gDYIjERjqNeFmf4yS4o0=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.