How can i send a file or custom data using mininet?
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
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.
© 2014 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a trademark of The OpenDaylight Project, Inc.
Linux Foundation is a registered trademark of The Linux Foundation.
Linux is a registered trademark of Linus Torvalds.