From owner-freebsd-net@FreeBSD.ORG Fri May 29 10:51:46 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 2D58F106566B for ; Fri, 29 May 2009 10:51:46 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id F40278FC0A for ; Fri, 29 May 2009 10:51:45 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 77788345E9E; Fri, 29 May 2009 06:51:45 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Fri, 29 May 2009 06:51:45 -0400 X-Sasl-enc: jE00EjL1VmczxX1cpP7ulYOgxPf7kR7Ycc/R1ik23DVQ 1243594305 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id C31C26CC3; Fri, 29 May 2009 06:51:44 -0400 (EDT) Message-ID: <4A1FBE3E.9080203@incunabulum.net> Date: Fri, 29 May 2009 11:51:42 +0100 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Jedrzej Kalinowski References: <4A1EE0F5.1070909@iem.pw.edu.pl> <4A1EF6FB.7080306@iem.pw.edu.pl> In-Reply-To: <4A1EF6FB.7080306@iem.pw.edu.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, 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: Fri, 29 May 2009 10:51:46 -0000 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