
sudo apt install net-tools gedit
vm is also vm)

ifconfigMake sure that if the IP address is 192.168.172.xxx. Otherwise, please redo the network settings in the above.
sudo hostnamectl set-hostname it430aThen, close the terminal and open a new one. See if the hostname has changed.
sudo gedit /etc/hostsModify the hostname
vm to it430a
(If you see some errors regarding the display, restart the VM and it will be
fixed.)
ifconfigCheck if it430b has a different IP address from it430a.
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.
sudo hostnamectl set-hostname it430bThen, close the terminal and open a new one. See if the hostname has changed.
sudo gedit /etc/hostsModify the hostname to
it430b