Ask Your Question
0

How can i send the file or custom data using mininet?

asked 2015-08-23 10:10:28 -0700

anonymous user

Anonymous

How can i send a file or custom data using mininet?

edit retag flag offensive close merge delete

Comments

Are you looking for FTP transfer between 2 hosts?

Mandeep ( 2015-08-23 20:43:12 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-23 22:14:25 -0700

labry gravatar image

You can Netcat or ftp for that.

Open a terminal using xterm h1 and run below for receiving,

nc -l -p 1234 > rx.txt

Open another terminal using xterm h2, and run below for sending:

nc -w 3 10.0.0.1 1234 < out.txt

or,

You can simply use iperf h1 h2 to check the bandwidth.

refer for Netcat http://nakkaya.com/2009/04/15/using-netcat-for-file-transfers/

simply type "help" on Mininet prompt for options.

Justin

edit flag offensive delete publish link more

Comments

it doesn't have to be a text file it can be zip file or whatever format. :-D Have fun!

labry ( 2015-08-24 01:49:55 -0700 )edit

thanks Sir. it works

shafaan ( 2015-09-05 07:28:35 -0700 )edit
Login/Signup to Answer

Stats

Asked: 2015-08-23 10:10:28 -0700

Seen: 486 times

Last updated: Aug 23 '15