Ask Your Question

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

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

anonymous user


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

edit retag flag offensive close merge delete


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

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 1234 < out.txt


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

refer for Netcat

simply type "help" on Mininet prompt for options.


edit flag offensive delete publish link more


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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]


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

Seen: 442 times

Last updated: Aug 23 '15