As part of a server-consolidation project, you are deploying a new KVM guest on a RHEL-based host that is managed with libvirt. The virtual machine will run a license server that must 1) obtain its IPv4 configuration directly from the same DHCP server that services the physical 10.25.16.0/24 production network, 2) appear on that network with its own unique MAC address, and 3) accept inbound SSH connections from any workstation on the subnet without adding static routes, destination-NAT, or port-forwarding rules on the hypervisor. Which libvirt networking mode should you configure for the VM to meet these requirements?
Routed networking (virtual network with )
Isolated or host-only networking (no forward element)
Bridged networking connects the VM's virtual NIC to a Linux bridge that is attached to a physical NIC on the host. Because the bridge switches frames at Layer 2, the guest's MAC address is visible on the upstream switch, DHCP broadcast traffic reaches the external DHCP server, and the guest receives an address in the same subnet as the host. Inbound traffic from any host on that subnet is delivered directly to the VM without additional routing or NAT.
NAT mode places the guest behind the host's private virbrN network; the guest can initiate outbound connections, but external hosts cannot reach it unless specific port-forwarding rules are added. Routed mode provides Layer 3 connectivity with separate subnets, so DHCP broadcasts and layer-2 discovery traffic do not cross the boundary. Isolated (host-only) mode confines traffic to the host and other guests and has no path to the physical network. Therefore, bridged networking is the only option that satisfies all of the stated requirements.
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 bridged networking in libvirt?
Open an interactive chat with Bash
How does bridged networking differ from NAT networking in libvirt?
Open an interactive chat with Bash
Why can't routed networking or isolated networking meet the requirements for this setup?
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...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .