Hi!

Thanks,

But,

What if I have dump file with "168.10.1.1" as client and it has a lot of
servers? (and I don't know serversp-IP)

I need to change just the client ip and not with the "--endpoints"
option...




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Aaron Turner
Sent: Sunday, April 22, 2007 7:11 PM
To: Main forum for tcpreplay
Subject: Re: [Tcpreplay-users] Can I change source-ip to another ip?


Hi Sharon, inline...

On 4/22/07, Sharon Rozenblum <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> 1) Can I change with "tcprewrite" a source-ip X to Y?
>
> E.G.
>
> I have dump file with connection between 168.10.1.1 (source-ip) to 
> 168.10.3.1 (destination-ip). Can I rewrite the file to contain 
> connection between 1.0.0.1 (new source-ip) to 168.10.3.1?

Yes.  This is documented in the manual.  I'd recommend reading:
http://tcpreplay.synfin.net/trac/wiki/usage#RewritingIPsforDual-NIC
but there are other ways of doing this as well (pseudo-NAT for example).

> 2) Are there limitations to the programs (tcpreplay,tcprewrite & 
> tcpprep) concerning working with huge files? (>1Gbyte)

Not a problem.  If you're planning on looping these files (playing them
multiple times in the same session) I would suggest compiling with
--enable-64bits so that the counters/statistics can deal with values >
2^32.

-- 
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix

------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Tcpreplay-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users

Reply via email to