pktgen module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux