Overview
I checked the interface addresses, routes and DNS settings on a Linux VM and tested it with both the VirtualBox bridged and NAT network modes.
What I set out to do
- Confirm addressing, routing and name lookups in different VM network modes.
What I did
- I checked the IP and route settings.
- I switched the VM between bridged and NAT network adapters.
Screenshots
They are in the same order as in my repository. Click one to see it full size.
1. IP Address and Route VerificationVerified the Linux network interface configuration, assigned IP address and default routing information. 2. Network Connectivity VerificationVerified connectivity to the local network gateway using ICMP ping. 3. DNS VerificationVerified DNS resolution by testing domain name connectivity from the Linux server. 4. DNS Resolver VerificationVerified the active DNS resolver configuration and configured DNS servers using `resolvectl`. 5. VirtualBox Bridged AdapterConfigured the VM with a VirtualBox Bridged Adapter and verified the assigned network address and route. 6. VirtualBox NATSwitched the VM to NAT networking and verified the new IP address and default gateway. 7. Internet and DNS ConnectivityVerified Internet connectivity and DNS resolution with 0% packet loss.
How I tested it
- Pings to the gateway and DNS lookups worked.
- Internet and DNS tests had 0% packet loss.
Repository
My full notes and the original screenshots are on GitHub: linux-projects/04-linux-networking