This lab was about exploring network configuration in NAT mode and bridge mode. I used commands such as ifconfig to display the current network configuration, route to view the routing table, netstat to list current TCP connections, ping to test network connectivity, and host to perform DNS queries. I also used the cat command to display the contents of the files that store the system’s hostname and DNS server information.
One challenge I faced was figuring out how to change the system’s hostname permanently, since my initial commands only changed it temporarily. After some trial and error, I learned that I needed to modify the /etc/hostname file directly to make the change persistent. Overall, this lab helped me understand how to configure network devices both temporarily and permanently, and how network configurations can differ depending on the mode being used.