From mboxrd@z Thu Jan 1 00:00:00 1970 From: Flavio Subject: Re: gentoo cant attach bridge Date: Tue, 13 Sep 2011 09:59:31 +0200 Message-ID: References: <1315827811.597.4.camel@Hronos> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1315827811.597.4.camel@Hronos> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 12 September 2011 13:43, Alexey M. 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 l= evel. This is the content of my /etc/conf.d/net file, to have the bridge ON at startup: config_eth0=3D"null" bridge_xenbr0=3D"eth0" brctl_xenbr0=3D( "setfd 0" "stp off" ) config_xenbr0=3D( "dhcp" ) Then I've put net.xenbr0 in the default runlevel in order to have it up automatically at boot time. > > then chenged: > =A0/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 =3D [ "mac=3D00:16:36:6b:93:ef, bridge=3Dxenbr0" ] > > 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 --=20 Flavio