On Fri, Feb 11, 2011 at 3:53 PM, miletiev <milet...@gmail.com> wrote:
> Hi,
> I downloaded the tcpreplay copy and install it a week ago.
> I try to redirect udp packets, which come from port-mirroring port of my
> switch to another host.
> I use the following code:
> tcpdump -w - -U -t -s0 udp dst port 4000 -i eth1 |  tcpreplay -e
> 192.168.1.17:192.168.1.18 -4 4000:3030 -k 00:18:8b:6c:e4:21 -I
> 00:18:8b:6c:e4:21 -i eth1 -
> The packets are successfully received at host 192.168.1.18. Also If I change
> the destination host to 192.168.1.XXX the packet are also successfully
> received, but If I try to send them to external host - it could not detect
> them.
> Also in my internal network WINXP and WIN7 machines read the packets very
> well, but Gentoo based machine could not receive them - I read them with
> tcpdump, but other applications could not process the UDP packets.
> Any suggestions?

Without a network diagram, it's pretty hard to decode what you're
trying to accomplish.  I will say though, that traffic going OUT an
interface is never seen by applications on the host that sends it.

You may just want to use tcpbridge.

-- 
Aaron Turner
http://synfin.net/         Twitter: @synfinatic
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin
"carpe diem quam minimum credula postero"

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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