From owner-freebsd-net@FreeBSD.ORG Sat Sep 11 01:05:23 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9703616A4D0 for ; Sat, 11 Sep 2004 01:05:23 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C04243D3F for ; Sat, 11 Sep 2004 01:05:17 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id E96D17A3D2; Fri, 10 Sep 2004 18:05:16 -0700 (PDT) Message-ID: <41424F4C.5020506@elischer.org> Date: Fri, 10 Sep 2004 18:05:16 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Andrew Gallatin References: <16706.13257.676586.513738@grasshopper.cs.duke.edu> In-Reply-To: <16706.13257.676586.513738@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: packet generator X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2004 01:05:23 -0000 yes ther e is a netgraph source ng_source from memory.. Andrew Gallatin wrote: >Does anybody have a free, in-kernel tool to generate packets quicky >and send them out a particular etherent interface on FreeBSD? >Something similar to pktgen on linux? > >I'm trying to excersize just the send-side of programmable firmware >based NIC. The recieve side of the NIC firmware is not yet written, >but I want to get started tuning and shaking the bugs out of the send >side while the firmware author does the recieve path. The packets >just get dropped on the floor by the NIC, so its a good way to test >the interface.. > >I can add an arp entry and ping -l HUGEVAL, but that only generates 205K >pkts/sec (where *think* I see 1.1 million pkts/sec with pktgen on >linux, but I'm not sure I trust it). > >Thanks, > >Drew >_______________________________________________ >freebsd-net@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-net >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >