A systems administrator is configuring networking for several KVM virtual machines on a single Linux host. The host has one network interface connected to the internet. The requirements are that all VMs must be able to access the internet for updates, but they should not be directly reachable from the external network. Which virtual network type should the administrator configure to meet these requirements?
The correct option is NAT. Network Address Translation (NAT) mode allows virtual machines to access external networks by using the host's IP address. The host acts as a router, translating the private IP addresses of the VMs to its own public IP for outgoing traffic. This configuration prevents external devices from initiating connections directly to the VMs, meeting the security requirement.
Bridged networking connects the VMs directly to the physical network, making them appear as separate devices on the LAN. This would make them directly accessible from the external network, which violates the stated requirements.
Host-only/isolated networking creates a network that is completely contained within the host. VMs can communicate with each other and the host, but they cannot access any external networks, including the internet.
Routed networking connects the virtual network to the physical network but without using NAT. This requires additional static route configuration on the physical network's router to make the VMs reachable, and it does not inherently hide the VMs behind the host's IP in the same way NAT does.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
How does NAT ensure that VMs can access the internet but remain unreachable from external networks?
Open an interactive chat with Bash
What is the key difference between NAT and Bridged networking in virtualization?
Open an interactive chat with Bash
Why is Host-only networking unsuitable for allowing VMs to access the internet?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access