Hi Abdel, I think I'm using tcpreplay in a similar scenario. I have a computer with two ethernet cards connected.
First I change the MAC addresses of the trace with tcprewrite tcprewrite --dmac=XX:XX:XX:XX:XX:XX (eth2 @MAC) --smac=XX:XX:XX:XX:XX:XX (eth1 @MAC) -i trace.pcap -o new_trace.pcap Then I use tcpreplay to send the packets from eth1 to eth2 tcpreplay -i eth1 new_trace.pcap I don't know if it is exactly the same scenario but I hope it helps. Regards, Valentín El mar, 30-12-2008 a las 12:02 +0100, Abdelrazak Younes escribió: > Hello, > > I have used with success self compiled tcpreplay between two computers > running ubuntu. I would like now to run it between two ethernet cards > with two different IP address on the same computer. Is this possible? > Does someone know how to force the stream to go outside the first card > on not loop internally? > > Thanks in advance for any help. > > Abdel. > > > ------------------------------------------------------------------------------ > _______________________________________________ > 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 ------------------------------------------------------------------------------ _______________________________________________ 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