From owner-freebsd-net@FreeBSD.ORG Sat May 30 11:09:47 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E80E81065674 for ; Sat, 30 May 2009 11:09:47 +0000 (UTC) (envelope-from kalinoj1@iem.pw.edu.pl) Received: from volt.iem.pw.edu.pl (volt.iem.pw.edu.pl [194.29.146.3]) by mx1.freebsd.org (Postfix) with ESMTP id A73798FC0C for ; Sat, 30 May 2009 11:09:47 +0000 (UTC) (envelope-from kalinoj1@iem.pw.edu.pl) Received: from [192.168.1.183] (chello089079156006.chello.pl [89.79.156.6]) (Authenticated sender: kalinoj1) by volt.iem.pw.edu.pl (Postfix) with ESMTPSA id 14285A66787; Sat, 30 May 2009 13:09:46 +0200 (CEST) Message-ID: <4A2114BD.2050809@iem.pw.edu.pl> Date: Sat, 30 May 2009 13:13:01 +0200 From: Jedrzej Kalinowski User-Agent: Thunderbird 2.0.0.21 (X11/20090524) MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <4A1EE0F5.1070909@iem.pw.edu.pl> <4A1EF6FB.7080306@iem.pw.edu.pl> <4A1FBE3E.9080203@incunabulum.net> In-Reply-To: <4A1FBE3E.9080203@incunabulum.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter devel-r5066-exp at volt.iem.pw.edu.pl X-Virus-Status: Clean Cc: Bruce Simpson , pluknet Subject: Re: Bridging and stp question X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2009 11:09:48 -0000 Bruce Simpson pisze: > Jedrzej Kalinowski wrote: >> pluknet pisze: >> >>> 2009/5/28 Jedrzej Kalinowski : >>> >>>> Is there any way to configure the bridge to add stp protocol to any >>>> added (via ifconfig bridgeX addm ifX) member interface - so to change >>>> the default behaviour? Or specifying it explicitly is unavoidable? >>>> >>>> >>> Let me clarify some. Did I understand you correctly >>> that `ifconfig bridge0 addm ifX stp ifX` doesn't fit you needs? >>> >>> >> >> Well, it works fine. >> >> It just would be more comfortable for me to do just: >> ifconfig bridge0 addm ifX >> >> and have bridge0 configured to add stp proto to each member interface as >> a default action. >> >> It would allow me to configure spanning tree on specific bridge >> globally, with no need to do it for each member interface. >> > > Can't you just put this command in a qemu-ifup script? > If not, can you clarify why it does not work for you? > > thanks, > BMS > Yes, I can - I do it already. I was just wondering if it was possible to change default behavior, if not it is not an issue/bug with if_bridge. I can use it and it works just fine. It's just about convenience. Thanks -- Jędrzej Kalinowski