From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262997AbVALA0J (ORCPT ); Tue, 11 Jan 2005 19:26:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262964AbVALAWa (ORCPT ); Tue, 11 Jan 2005 19:22:30 -0500 Received: from barb.cs.washington.edu ([128.208.2.42]:38844 "EHLO barb.cs.washington.edu") by vger.kernel.org with ESMTP id S262994AbVALAVa (ORCPT ); Tue, 11 Jan 2005 19:21:30 -0500 Date: Tue, 11 Jan 2005 16:21:25 -0800 Message-ID: From: Xiaowei Yang To: linux-kernel@vger.kernel.org Subject: pktgen module User-Agent: User-Agent: Wanderlust/2.10.1 (Watching The Wheels) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello list, I am using 2.6.8 kernel, and would like to use pktgen for a research project. Although I followed the instruction in pktgen.txt and set the correct parameters, I was never able to send any packet. I used tcpdump at the destination machine and didnot receive any packet. Another labmate also said he was never able to get it work. Has anyone encountered this problem befor? Or is there something I did wrong? Attached is the result from cat pg0. yxw@toil:~$ sudo cat /proc/net/pktgen/pg0 Password: pktgen version 1.32 Params: count 100000 pkt_size: 60 frags: 0 ipg: 0 clone_skb: 0 odev "eth1" dst_min: 10.0.2.100 dst_max: 10.0.2.100 src_min: 10.0.1.100 src_max: 10.0.1.100 src_mac: 00:10:18:0A:8B:2F dst_mac: 00:07:E9:09:CE:D0 udp_src_min: 9 udp_src_max: 9 udp_dst_min: 9 udp_dst_max: 9 src_mac_count: 0 dst_mac_count: 0 Flags: Current: pkts-sofar: 100000 errors: 0 started: 1105409413278ms stopped: 1105489148285ms now: 1105489148285ms idle: 571854ns seq_num: 200000 cur_dst_mac_offset: 0 cur_src_mac_offset: 0 cur_saddr: 0x6401000a cur_daddr: 0x6402000a cur_udp_dst: 9 cur_udp_src: 9 Result: OK: 429102(c428934+d168) usec, 100000 (64byte,0frags) 233100pps 113Mb/sec (119347200bps) errors: 0 Thank you! Xiaowei