From owner-freebsd-hackers Tue Aug 27 20:10:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6E0237B406 for ; Tue, 27 Aug 2002 20:10:09 -0700 (PDT) Received: from norad.inetu.net (norad.inetu.net [209.235.223.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3974343E4A for ; Tue, 27 Aug 2002 20:10:09 -0700 (PDT) (envelope-from mark@inetu.net) Received: from localhost (maxiter@localhost) by norad.inetu.net (8.9.3/8.9.3) with ESMTP id XAA07647; Tue, 27 Aug 2002 23:10:07 -0400 (EDT) Date: Tue, 27 Aug 2002 23:10:07 -0400 (EDT) From: mark@inetu.net X-Sender: maxiter@norad.inetu.net To: Brooks Davis Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: bridge(4) In-Reply-To: <20020827155255.A25403@Odin.AC.HMC.Edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is NG_ONE2MANY_XMIT_ALL an algorithm available in FreeBSD 5.0? It doesn't seem to be around in 4.6.2? --------------------------------------------------- Mark Rekai - INetU, Inc.(tm) - http://www.INetU.net Electronic commerce - Web development - Web hosting Mark@INetU.net - Phone: (610) 266-7441 On Tue, 27 Aug 2002, Brooks Davis wrote: > On Tue, Aug 27, 2002 at 06:24:29PM -0400, Mark wrote: > > > > Greets. I'm using bridge(4) for some slightly unintended purposes, and > > need some insight or alternative suggestions. > > > > I have a FreeBSD 4.6.2 box with six NICs. :) I want to use bridge to > > mirror traffic from xl1 to xl2 and xl3 (and possibly others). > > I'd suggest using netgraph and an ng_one2many node. The example in the > manpage is fairly similar to what you want to do with the primary > exceptions being that you don't want to process any packets and you need > to put the node in NG_ONE2MANY_XMIT_ALL mode. > > -- Brooks > > -- > Any statement of the form "X is the one, true Y" is FALSE. > PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message