COMP 332: Computer Networks
Spring 2023
         Home Schedule Policies Resources         

Homework 7: Routing and Traceroute

Handout:
Code distribution:
Solutions:
Virtual machine set-up:

For the coding portion of this homework and homework 8 you will need to set up a Linux virtual machine. Using the Mac terminal or Windows linux subsystem will not be sufficient. The preferred option is to create a Linux Virtual Machine (VM) using VirtualBox, following the instructions described next. If you find you are having trouble doing this, please bring your laptop to my office hours or a help session and we will set it up together or find an alternative solution.
  • Step 1. Download and install the most recent version of VirtualBox. VirtualBox is virtualization software that runs on your computer and permits you to run a virtual computer on your computer, in your case, a computer running Linux rather than Windows. You should read the beginning of Chapter 1 (First Steps)
    before continuing.

  • Step 2. Download a linux iso. Go to the Ubuntu website and download at least this version: ubuntu-16.04.7-desktop-amd64.iso

  • Step 3. Create your linux virtual machine following the instructions here and choosing the following options.

    Type: Linux
    Version: Ubuntu (64-bit)
    Memory size: 1024 MB
    Create a virtual hard disk now: create
    VDI (VirtualBox Disk Image)
    Statically allocated
    File location and size: 20 GB

  • Step 4. I recommend also installing guest additions to make using your virtual machine easier. Follow the instructions here.
VirtualBox does not work with Apple Silicon M1 chips, but UTM is an alternative, with instructions about how to set-up it up here.