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

To: Ernst Bachmann <e.bachmann@xxxxxxxx>
Subject: Re: [Xen-users] network troubles...
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200510041501.23198.e.bachmann@xxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <856cdecb0510040546x124f131cvf1055762d702cb83@xxxxxxxxxxxxxx> <200510041501.23198.e.bachmann@xxxxxxxx>
Reply-to: Daniel Nelson <packetcollision@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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