Valentín Carela wrote:
> 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.

Yes, that's exactly what I am after. But are you sure that the stream 
will effectively go out of eth1 into eth0? My fear is that the system 
(linux) will shortcut the path...

FYI I want to monitor the performance between two PLC devices that are 
connected to eth0 and eth1.

Thanks Valentin,
Abdel.


> 
> 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


------------------------------------------------------------------------------
_______________________________________________
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