From owner-freebsd-net@FreeBSD.ORG Tue Aug 27 22:27:51 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2C67C54B for ; Tue, 27 Aug 2013 22:27:51 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (secure.freebsdsolutions.net [69.55.234.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0FA3A27A1 for ; Tue, 27 Aug 2013 22:27:50 +0000 (UTC) Received: from [10.10.1.32] (office.betterlinux.com [199.58.199.60]) (authenticated bits=0) by ns1.jnielsen.net (8.14.4/8.14.4) with ESMTP id r7RMQWKI062349 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 27 Aug 2013 18:26:33 -0400 (EDT) (envelope-from lists@jnielsen.net) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: Options to monitor/sniff network traffic under a vm From: John Nielsen In-Reply-To: <5219ECBD.4040209@gmail.com> Date: Tue, 27 Aug 2013 16:26:34 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5219ECBD.4040209@gmail.com> To: carlopmart X-Mailer: Apple Mail (2.1508) X-DCC-sonic.net-Metrics: ns1.jnielsen.net 1156; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: clamav-milter 0.97.8 at ns1.jnielsen.net X-Virus-Status: Clean Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 22:27:51 -0000 On Aug 25, 2013, at 5:38 AM, carlopmart wrote: > I need to monitor/sniff network traffic for three subnets (1 GiB nets) = and I need to do this using a virtual guest under an ESXi 5 host (yes, = it is a "handicap"). Not sure about your questions below, but doesn't ESXi 5 support port = mirroring in the virtual switch? That seems like a better place to do = most of the heavy lifting. You could still attach your FreeBSD instance = to the monitor port(s) for analysis. That would hopefully help at least = with a) by reducing the number of virtual NICs needed. > I would like to use FreeBSD 8.4 + netmap, but I see some problems: >=20 > a) How can I avoid sharing interrupts for nics interfaces?? This vm = needs to use 6 nic interfaces. >=20 > b) Which is best: em or ixgb emulated drivers?? >=20 > c) Is it a good idea to enable polling in these nics??