Thanks for your reply.
I am a beginner in using tcpreplay. I could not understand how should i
change in the pcap file. The pcap file i am using contains a lot of
packets that are destined to many hosts other than host B i want to send
the flows to. What i want to do it forward the flows in the pcap file from
host A to host B using tcpreplay. What are the command i should use to be
able to do so?
Thank you!
On Thu, May 1, 2014 at 5:10 PM, Sandeep Kumar <[email protected]>wrote:
> You need to edit your pcap files before playing them using tcpreplay.
>
> So for example in your pcap file there are few packets which you want to
> be destined to a certain Host A's IP X.X.X.X.
> You need to change the destination IP address of packets in your pcap file
> and set it to IP address of Host A X.X.X.X along with that you need to
> change the destination MAC address and set it to the either the MAC of next
> switch or the MAC of Host A.
>
> Make sure that you set proper Checksum at both Network and transport
> level.
>
> Then play your file using tcpreplay the packets will reach to required
> destination.
>
>
>
> Regards,
> Sandeep
>
>
> On Thu, May 1, 2014 at 7:48 PM, Reham Mohamed <[email protected]>wrote:
>
>> Hello,
>>
>> I am using mininet to create an emulated topology which contains two
>> switches, each one of them is connected to two hosts. I am trying to use
>> tcpreplay to use a pcap file to generate flows from host 1 to host 2. How
>> can this be done? how can i sent flows using pcap files from one host to
>> another?
>>
>> Your help is highly appreciated,
>>
>> Thanks in advance,
>>
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos. Get
>> unparalleled scalability from the best Selenium testing platform
>> available.
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Tcpreplay-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
>> Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
>>
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos. Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Tcpreplay-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
> Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support