Hi,

I am trying to use tcpreplay with netmap, I am not able to do it.
I can not compile tcpreplay with netmap support.
Although netmap modules are running:

   ** net map is installed
   root@ronin02:~/tcpreplay-4.1.0# lsmod | grep netmap
   netmap                114840  1 virtio_net_nm
   root@ronin02:~/tcpreplay-4.1.0#

I am having the same problem that Rogee had:
http://sourceforge.net/p/tcpreplay/mailman/message/32725463/

When I do
   # the --netmap option is not even available
   root@ronin02:~# tcpreplay -i netmap:eth0 -tK --loop 5 smallFlows.pcap
I get:
   Fatal Error: Unable to parse args: Unable to connect to netmap 
interface netmap:eth0. Ensure netmap module is installed (see INSTALL).
root@ronin02:~#


I would appreciate any help.
Thanks,

Pedro




** tcpreplay config
./configure --enable-quick-tx 
--with-kernel=/mnt/data/kernel/linux-lts-utopic-3.16.0 
--with-netmap=/root/netmap-master/LINUX

** config.log

configure:19886: Building tcpliveplay
configure:19910: checking for netmap socket sending support
configure:19963: result: no
configure:20126: checking for PF_PACKET socket sending support

** output
##########################################################################
              TCPREPLAY Suite Configuration Results (4.1.0)
##########################################################################
libpcap:                    /usr/local (>= 0.9.6)
libdnet:                    no ()
autogen:                    /usr/bin/autogen (autogen (GNU AutoGen) 5.18)
Use libopts tearoff:        yes
64bit counter support:      yes
tcpdump binary path:        /usr/sbin/tcpdump
fragroute support:          no
tcpbridge support:          yes
tcpliveplay support:        yes

Supported Packet Injection Methods (*):
Linux TX_RING:              no
Linux PF_PACKET:            yes
BSD BPF:                    no
libdnet:                    no
pcap_inject:                yes
pcap_sendpacket:            yes **
pcap_netmap                 no
Linux Quick TX:             yes /mnt/data/kernel/linux-lts-utopic-3.16.0/
Linux/BSD netmap:           no

* In order of preference; see configure --help to override
** Required for tcpbridge

root@ronin02:~/tcpreplay-4.1.0#

** Version Info
root@ronin02:~/tcpreplay-4.1.0# tcpreplay -V
tcpreplay version: 4.1.0 (build git:v4.1.0)
Copyright 2013-2014 by Fred Klassen <tcpreplay at appneta dot com> - 
AppNeta Inc.
Copyright 2000-2012 by Aaron Turner <aturner at synfin dot net>
The entire Tcpreplay Suite is licensed under the GPLv3
Cache file supported: 04
Not compiled with libdnet.
Compiled against libpcap: 1.6.0-PRE-GIT_2015_07_28
64 bit packet counters: enabled
Verbose printing via tcpdump: enabled
Packet editing: disabled
Fragroute engine: disabled
Default injection method: PF_PACKET send()
Optional injection method: Quick TX
Not compiled with netmap
root@ronin02:~/tcpreplay-4.1.0#





------------------------------------------------------------------------------
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to