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] Multiple bridges in startup

To: andrew mathes <amathes@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Multiple bridges in startup
From: Gil Freund <freund.gil@xxxxxxxxx>
Date: Thu, 28 Apr 2005 23:30:36 +0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 28 Apr 2005 20:30: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=t6qBkhGpHIJDXOlH+XDlq6hZUG7vVEoeucnagnWDaU6nVCcG36RXtCNTcH9774q7exiGFOi9ku4HwmXReSNbtiR/tT6Dt8xhRZjwIgntn0xACsS+eZonVZii7ziVoBNis1ZAM+ZA74PTtsdbMddF+Q+hfZDkH1E0a1RaePbEN3A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.62.0504281225410.11340@xxxxxxxxxxxxxxxxxx>
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: <900f397f05042811593195bab5@xxxxxxxxxxxxxx> <Pine.LNX.4.62.0504281225410.11340@xxxxxxxxxxxxxxxxxx>
Reply-to: Gil Freund <freund.gil@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 4/28/05, andrew mathes <amathes@xxxxxxxxxxxx> wrote:
> wow, i was just going to post about this, i can't find it either ...
> 
> i think it's in xend-config.sxp: under
> (network-script    network bridge=xen-br0 netdev=eth0)
> (network-script    network bridge=xen-br1 netdev=eth3)
> 
> but this isn't actually setting up two bridges for me ...

Nor here. I can set up other bridges manual (see below)

> 
> and i think you don't need to declare specific MAC's, as long as the
> bridge/vif is set up correctly.  ( I am specifying MAC's for DHCP
> reservation)
> 
> any help for the both of us? maybe we'll figure it out together

OK, I will start with manual settings:

circus:/etc/xen/scripts# ./network start bridge=xen-br1 netdev=eth1
antispoof=yes
network start bridge=xen-br1 netdev=eth1 antispoof=yes
iptables: No chain/target/match by that name

in the domU I can see two NIC, but DHCP does not work. DomU domains
with static IPs work.

Now I have a bridge (xen-br1) using the mac address of eth1, however, when I do 
./network stop bridge=xen-br1 netdev=eth1 antispoof=yes
xen-br1 us still up. Is this normal?


> andrew
> 
> On Thu, 28 Apr 2005, Gil Freund wrote:
> 
> > Hi,
> >
> > Apologies: I recall this being asked (and answered) before, but I
> > cannot find the thread.
> >
> > I have two NICs. I would like to setup three bridges:
> >
> > xen-br0 - eth0
> > xen-br1 - eth1
> > xen-br2 - virtual only for domU interconnect
> >
> > Where would be a suitable location to implement this so the startup
> > scripts pick this configuration?
> >
> > Furthermore, do MAC addresses need to be explicitly declared in the
> > domU configuration files? The example files state that random MAC
> > addresses will be used, but simply stating nics=2 does not seem to
> > work.
> >
> > Thanks
> >
> >
> > Gil
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> >
>

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