Pages

Sunday, January 4, 2015

Transfer files between Host OS and Mininet VM

It is possible to transfer files between mininet VM and the host OS. The protocol that is used for doing this is called SCP(Secure Copy Protocol).It is based on Secure Shell Protocol(SSH). It is a means of securely transferring computer files between a local host and and a remote host or between two remote hosts.

Follow the steps below to achieve this.


Step 1: Make sure that the mininet VM has a host-only network adapter configured.

In virtualbox network setting make sure that you have a NAT interface enabled that allows you to connect to internet. It will have an ip address like this : 192.168.56.103 ie a class C address.

Step 2: Install WinSCP

Download WinSCP from this link (Download WinSCP) and install the program.

A window like below will appear after installation.

3. Enter the credentials and connect

File Protocol: SCP
Host Name : 192.168.56.103 (or the ip in your host only adapter interface)
User name : mininet
Password : mininet

Click on Login. A window like below will appear.








3 comments:

  1. The best explanation ever. I tried the scp command for hours and hours and never worked, but this made it happen. Awesome!

    ReplyDelete
  2. Worked for me and it's really easy to use ... thanks a lot

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete