Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2007 13:32:45 +1300
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Peter Losher <Peter_Losher@isc.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Aggregating many ports into one for tcpdump server.
Message-ID:  <20071205003245.GA48034@heff.fud.org.nz>
In-Reply-To: <4755EFDD.8070609@isc.org>
References:  <4755EFDD.8070609@isc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 04, 2007 at 04:25:01PM -0800, Peter Losher wrote:
> I am currently working on a tcpdump collector where we have multiple
> feeds coming in (via bge{0-8}).  Since tcpdump can only poll one
> interface per process, I was hoping to aggregate the traffic onto one
> pseudo-interface for tcpdump to hold onto and to poll.
> 
> Looking thru the archives, it seems ng_one2many (in this case
> 'many2one') is what I am looking for.  Am I barking the right tree here?

You can use if_bridge(4) or lagg(4) for this purpose. lagg may be the
easier one to use, add all the ports to the lagg interface and set the
proto to 'loadbalance'. An example for using the bridge is in the
bridging section of the handbook.


Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071205003245.GA48034>