lkml.org 
[lkml]   [2005]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectpktgen module
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.031 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site