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

The following instructions were written for course IT432. Instead of creating different VMs for IT430, we will use the same VMs. In particular, we will keep the VM names it432a, it432b, it432c.

1. Create a Ubuntu VM: it432a

  1. Please, follow the instructions given here. Use version 2 (Ubutnu 20) in the Previous Years Images.
  2. Change a NAT network. The detailed instructions are found here.
  3. Change the network setting of it432a. The detailed instructions are found here.

2. Clone it432a to create two more VMs

  1. Create another Ubuntu VM (name: it432b) by cloning VM it432a. Detailed instructions are found here.
  2. Similar to above, create another Ubuntu VM (name: it432c) by cloning VM it432a. Make sure to choose the setting of New MAC addresses.

3. Check the network status of VMs

  1. Use the ifconfig command, and check if all VMs have IP addresses.
  2. See if the ping command works from one VM's IP address to another VM's IP address.
Note: If the above doesn't work, you probably need to cloned the VM wrong. Delete the VMs and reclone it. Again, it's important to have different MAC addresses for each different VM.

4. Change the hostnames

  1. In VM it432b, execute:
    sudo hostnamectl set-hostname it432b
    Then, close the terminal and open a new one. See if the hostname has changed.
  2. Run the following command:
    sudo gedit /etc/hosts
    Modify the hostname it432a to it432b
  3. Change the hostname for VM it432c likewise.