Homework 4: Ubuntu Network Configuration and ipcalc#
Due Date: Tuesday, September 29, 2026
Log into your Virtual Desktop (VD).
Create a working directory named
HW_4:mkdir HW_4 cd HW_4
Inside the
HW_4directory, create a file namedREADME.Document all commands used to complete the following exercises inside your
READMEfile.
Ubuntu Network Configuration#
Modify the network settings of the
netplanVirtual Machine (VM) to change the static IP address to192.168.122.192. Record the updated YAML configuration file in yourREADME.Modify the network settings of the
netplanVM to configure them using Dynamic Host Configuration Protocol (DHCP). Record the updated YAML configuration file in yourREADME.
Using ipcalc for Network Calculations#
Complete Exercise 4.17 to ensure that
ipcalcis installed on your Virtual Desktop.Given the following set of IP addresses and netmasks:
170.15.25.34/27170.15.25.192/27170.15.25.100/27138.10.10.1/25138.10.10.15/25138.10.10.250/25
Questions:
A) How many unique subnets are represented in this list?
B) Which of the listed IP addresses belong to the same subnet?