Date: Sun, 23 Nov 2008 14:47:32 -0300 From: Mario Lobo <mlobo@digiart.art.br> To: freebsd-questions@freebsd.org Cc: "Marc G. Fournier" <freebsd@hub.org> Subject: Re: auto-addm new tap device to existing bridge ... Message-ID: <200811231447.32815.mlobo@digiart.art.br> In-Reply-To: <D9723B109E8AD9B54BE43929@ganymede.hub.org> References: <D9723B109E8AD9B54BE43929@ganymede.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811231447.32815.mlobo>