Virtual Machines for Programming Assignments

The programming assignments of this course will be done using the Mininet emulator. The recommended way of accessing mininet is through VM images loaded with Mininet, which will provide easy access to the emulator, without the need for installation or setup. You will have two ways to access the VMs prepared for the 2 programming assignments. You can either install VirtualBox on your own computer and import the VM images, or you can access the images through the teaching systems.

VM images on Virtual Box

MiniNet on CDF

If you don't want to (or can't) deploy the VMs on your personal machines, you can use the workstation machines in the Bahen center to create VM for your assignment.

To use the Mininet VM for CSC458/2209:

  1. Log into one of the CDF teaching lab workstation machines with your teach.cs credentials.

  2. Open a terminal window and run the command

    cvm csc458-1

    for assignment 1's VM, and run

    cvm csc458-2

    for assignment 2's VM. If this is the first time you've used the VM, there may be a few seconds of delay. If the VM is loading, ignore any errors you see in the output.

  3. A new window will pop up showing the VM console. When it is ready to use, you can log in on the console (not recommended), or via ssh from the same host on which you started the VM (recommended), using

    ssh -p PORT USER@localhost

    For assignment 1, the PORT is 8021, the USER is mininet, and the password is mininet.

    For assignment 2, the PORT is 8022, the USER is csc458, and the password is csc458.

Other Things You Should Know