From owner-cvs-src@FreeBSD.ORG Thu Jun 1 11:07:40 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8635D16B874 for ; Thu, 1 Jun 2006 11:07:40 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from grunt13.ihug.co.nz (grunt13.ihug.co.nz [203.109.254.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80A2A43D70 for ; Thu, 1 Jun 2006 11:07:34 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: from 203-109-251-39.static.bliink.ihug.co.nz (heff.fud.org.nz) [203.109.251.39] by grunt13.ihug.co.nz with smtp (Exim 3.35 #1 (Debian)) id 1Fll1W-0005g9-00; Thu, 01 Jun 2006 23:07:31 +1200 Received: by heff.fud.org.nz (Postfix, from userid 1001) id 0CAC51CC37; Thu, 1 Jun 2006 23:07:30 +1200 (NZST) Date: Thu, 1 Jun 2006 23:07:30 +1200 From: Andrew Thompson To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20060601110729.GA80230@heff.fud.org.nz> References: <200606011101.k51B1stR081865@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200606011101.k51B1stR081865@repoman.freebsd.org> User-Agent: Mutt/1.5.11 Cc: Subject: Re: cvs commit: src/etc/defaults rc.conf src/etc/rc.d Makefile bridge netif src/share/man/man5 rc.conf.5 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 11:07:51 -0000 On Thu, Jun 01, 2006 at 11:01:54AM +0000, Andrew Thompson wrote: > thompsa 2006-06-01 11:01:54 UTC > > FreeBSD src repository > > Modified files: > etc/defaults rc.conf > etc/rc.d Makefile netif > share/man/man5 rc.conf.5 > Added files: > etc/rc.d bridge > Log: > Add rc.d/bridge which is invoked when a new interface arrives and can > automaticly add it to an Ethernet bridge. This is intended for applications > such as qemu, vmware, openvpn, ... which open tap interfaces and need them > bridged with the hosts network adapter, the user can set up a glob for > interfaces to be automatically added (eg tap*). An example in rc.conf would be: # create the bridge and add the wired interface cloned_interfaces="bridge0" ifconfig_bridge0="up addm fxp0" # set it so that tap interfaces get added too autobridge_interfaces="bridge0" autobridge_bridge0="tap*" cheers, Andrew