Note: Read this page entirely first to have a general big picture. Then, follow the detailed instructions.

1. Create a Ubuntu VM: it430a

  1. Download usna-ubuntu-v2.ova
  2. In Windows, double click the ova file you downloaded (you may need to choose "VirtualBox Manger" right after the double-click). Change the name of the VM to it430a as shown below.

  3. Change a NAT network. The detailed instructions are found here.
  4. Change the network setting of it430a. The detailed instructions are found here.
  5. Start the VM it430a. Install the necessary packages by running the following command in the terminal:
    sudo apt install net-tools gedit
  6. Restart the machine.
  7. Choose from the menu: System → Administration → Users and Groups. Create an account for you. (Note: The password for root account vm is also vm)

    Log in with your account mxxxxxx.
  8. Execute the following command in the terminal.
    ifconfig
    Make sure that if the IP address is 192.168.172.xxx. Otherwise, please redo the network settings in the above.
  9. Execute:
    sudo hostnamectl set-hostname it430a
    Then, close the terminal and open a new one. See if the hostname has changed.
  10. Run the following command:
    sudo gedit /etc/hosts
    Modify the hostname vm to it430a (If you see some errors regarding the display, restart the VM and it will be fixed.)

2. Create VM it430b

  1. Clone it430a to it432b.
  2. Start VM it430b.
  3. Execute the following command in the terminal.
    ifconfig
    Check if it430b has a different IP address from it430a.
  4. See if the ping command works between it430a and it430b (use IP addresses for the ping).

    Note: If the above doesn't work, you probably cloned the VM wrongly. Delete the VMs and reclone it. Again, it's important to have different MAC addresses for each different VM.

  5. In VM it430b, execute:
    sudo hostnamectl set-hostname it430b
    Then, close the terminal and open a new one. See if the hostname has changed.
  6. Run the following command:
    sudo gedit /etc/hosts
    Modify the hostname to it430b

3. Create VM it430b

Create it430c similary by taking Step 2 again (replace it430b with with it430c).