I'm using a Ubuntu 12.04 machine. I have a pcap file captured in my
production server(Ubuntu 12.04) using the command
sudo tcpdump -s 0 -w ener_midt_restart.pcap -i eth0 udp port 9001
I rewrote the dump file so the the source and distination address(both ip
and mac) are my local machine
tcprewrite -C --dstipmap=0.0.0.0/0:192.168.2.77/32 --srcipmap=
0.0.0.0/0:192.168.2.77/32 --enet-dmac=6c:88:14:48:7a:ac
--enet-smac=6c:88:14:48:7a:ac -i ener_midt_restart.pcap -o
ener_midt_restart_pritesh.pcap
I replayed the pcap file using
sudo tcpreplay --intf1=eth0 ener_midt_restart_pritesh.pcap
However I'm not able to capture the data in my daemon service application
which received udp packets. I'm sure there is no problem with my
application.
All of this works in my friend's machine which is Mac OSX.
what could be the problem here?
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
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