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

Re: [Xen-devel] gentoo cant attach bridge

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] gentoo cant attach bridge
From: Flavio <fbcyborg@xxxxxxxxx>
Date: Tue, 13 Sep 2011 09:59:31 +0200
Delivery-date: Tue, 13 Sep 2011 01:00:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=YCC7nlEwxbZEnjOYu2M8o/tAT2w04uhC8+UrRXirqQM=; b=tXxeyk5YoGvPxwHaDlmsnonOvrCNiKcQxbEOQT2J2gPdpg6uPRVvPNWeKIvcun3wGR RVuqenfcCfsSd2JnrrVG9Q8baVNXVuI0yHSGEnSK94ThDTFXjrt/f5DU4BY3uw7dEAMZ PL+81p0+M2I59yHEmhzQV03hA2Y/Adm8Yc2yQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1315827811.597.4.camel@Hronos>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1315827811.597.4.camel@Hronos>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 12 September 2011 13:43, Alexey M. <amamonov@xxxxxxxxxx> wrote:
> Hi, i configure xen 4.1.1 on gentoo and configured bridge in this system
> xenbr0
Hi!
I have configured the bridge xenbr0 for my gentoo too and I don't have
this problem.

>
> brctl show
> bridge name bridge id STP enabled interfaces
> xenbr0 8000.984be16d4aac yes vlan201
You have vlan201 (?) I use eth0, but this is not so relevant I guess,
and I don't use STP.

Remember that with the new toolstack xl, the xend daemon is no longer used.
Actually, you may see that with the new version of xen-tools the
"xend" use flag has
been disabled. So, get rid of that now and configure the bridge at system level.

This is the content of my /etc/conf.d/net file, to have the bridge ON
at startup:
config_eth0="null"

bridge_xenbr0="eth0"

brctl_xenbr0=(
 "setfd 0"
 "stp off"
)

config_xenbr0=(
   "dhcp"
)

Then I've put net.xenbr0 in the default runlevel in order to have it
up automatically at boot time.

>
> then chenged:
>  /etc/xen/xend-config.sxp
> (vif-script vif-bridge)
> (network-script /bin/true)
This is no longer needed. The only bridge settings I've found is in the
/etc/xen/xl.conf file.

>
> cat /etc/xen/guest|grep vif
>
> vif = [ "mac=00:16:36:6b:93:ef, bridge=xenbr0" ]
>
> But:
> xl create guest
> brctl show
> bridge name bridge id STP enabled interfaces
> xenbr0 8000.984be16d4aac yes vlan201
>
> No any new interfaces.
I never see new interfaces there, but the guest always started with the
network activated. Now I have other problems which I've posted to this
list yesterday,
but no replies yet :(

In any case, don't forget to migrate to the new toolstack as suggested.

Bye


-- 
Flavio

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

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