Thanks a lot for your help.
Now i am trying to replay a pcap file on one virtual machine, but once the
computer starts to run this file, the whole system stop working. The pcap
file is almost 2 GB. What should i do to solve this problem?
Thanks
On Thu, May 1, 2014 at 6:32 PM, Sandeep Kumar <sandeepdas....@gmail.com>wrote:
> If i'm not mistaken then tcpwrite/tcpedit is right tool to change pcap
> files.
>
> Its simple to use. Just do a little bit of search and you will be easily
> able to do that.
>
> Regards,
> Sandeep
>
>
> On Thu, May 1, 2014 at 9:07 PM, Reham Mohamed <reham.fmoha...@gmail.com>wrote:
>
>> 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
>> <sandeepdas....@gmail.com>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
>>> <reham.fmoha...@gmail.com>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
>>>> Tcpreplay-users@lists.sourceforge.net
>>>> 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
>>> Tcpreplay-users@lists.sourceforge.net
>>> 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
>> Tcpreplay-users@lists.sourceforge.net
>> 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
> Tcpreplay-users@lists.sourceforge.net
> 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
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support