From owner-freebsd-questions@FreeBSD.ORG Sun Nov 23 17:46:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13A041065670 for ; Sun, 23 Nov 2008 17:46:16 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from smtp2.brturbo.com.br (smtp2.brte.com.br [200.199.201.149]) by mx1.freebsd.org (Postfix) with ESMTP id C0DED8FC0A for ; Sun, 23 Nov 2008 17:46:15 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from lobo (unknown [189.70.99.124]) by smtp2.brturbo.com.br (Postfix) with ESMTP id 6B2D33402; Sun, 23 Nov 2008 15:43:13 -0200 (BRST) From: Mario Lobo Organization: DigiArt Systems To: freebsd-questions@freebsd.org Date: Sun, 23 Nov 2008 14:47:32 -0300 User-Agent: KMail/1.9.10 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811231447.32815.mlobo@digiart.art.br> Cc: "Marc G. Fournier" Subject: Re: auto-addm new tap device to existing bridge ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2008 17:46:16 -0000 On Sunday 23 November 2008 02:22:02 Marc G. Fournier wrote: > Is this possible? > > I'm using qemu, and when I start it up, it auto-create a tap device if one > isn't available ... but, having that tap device not attached to the bridge > that does exist doesn't help much ... if there some flag I can set, or > sysctl value, that will have the new tap device attach itself to an > existing bridge device? > > thanks ... in /etc/rc.conf, add: autobridge_interfaces="bridge0" <-- whatever you called your bridge autobridge_bridge0="tap0 tap1 [tapn..]" cloned_interfaces="bridge0" -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE)