In this video, I demonstrate how to configure hostname resolution between two Linux virtual machines by updating the `/etc/hosts` file manually.
Before editing the hosts file, I used the `nmtui` tool to configure static IPv4 addresses for both VMs.
Commands used:
nmtui
Then I updated the hosts file:
vim /etc/hosts
Entries added:
192.168.122.10 node01.lab.com node01
192.168.122.20 node02.lab.com node02
After updating the hosts file, I tested connectivity between both VMs using:
ping node01
ping node02
Finally, I verified neighbor discovery and ARP table information with:
ip neigh
This lab helps understand:
Static IP configuration using `nmtui`
Local hostname resolution
Linux networking basics
VM-to-VM communication
Troubleshooting connectivity in Linux environments
#Linux #Networking #VirtualMachines #LinuxAdmin #DevOps #SysAdmin #Ping #LinuxNetworking #nmtui
👍 If you found this helpful, don’t forget to:
Like the video
Subscribe for more Linux & Red Hat tutorials
Share with others preparing for RHCSA