You are configuring a KVM host with libvirt. The host connects to the company LAN through a wireless interface that cannot be bridged. You create the following virtual network and attach several VMs to it:
Each VM receives an address such as 10.200.0.10 and can ping the host (10.200.0.1), but attempts to ping other LAN devices fail. Likewise, computers on the LAN cannot initiate connections (for example, ping or SSH) to the VMs.
Which action will allow ordinary hosts on the LAN to reach the VMs without introducing Network Address Translation (NAT) or port-forwarding?
Keep the routed network but change the forward mode to "open" and disable the host firewall.
Change the virtual network's forward mode to "nat" so the host masquerades guest traffic.
Add a static route for 10.200.0.0/24 on the upstream router that points to the host's LAN IP address.
Replace the routed network with a bridge attached to the wireless interface.
In libvirt's routed forwarding mode, the host forwards packets between the VM subnet and the physical network at layer 3 without performing NAT. For return traffic to reach the VMs, the upstream router (or any device acting as the LAN's default gateway) must know that the 10.200.0.0/24 network is reachable via the host's LAN address. Adding a static route on that router satisfies this requirement and makes the VMs reachable from anywhere on the LAN.
Changing the network to nat would still block unsolicited inbound sessions unless additional port-forwarding rules were configured. Bridging the wireless interface is generally unsupported because Wi-Fi adapters cannot participate in a standard Linux bridge. Switching the network to open mode merely removes libvirt's firewall rules; it still relies on the same external static-route requirement and therefore does not solve the reachability problem by itself.
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.
What is libvirt's routed forwarding mode?
Open an interactive chat with Bash
Why can't wireless interfaces be used with a standard Linux bridge?
Open an interactive chat with Bash
What is the role of a static route in this configuration?
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