public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* pktgen module
@ 2005-01-12  0:21 Xiaowei Yang
  0 siblings, 0 replies; only message in thread
From: Xiaowei Yang @ 2005-01-12  0:21 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-12  0:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-12  0:21 pktgen module Xiaowei Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox