Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


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
Login/Signup to Answer


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

Seen: 975 times

Last updated: Aug 23 '15