LFCS Networking Practice Question
A server with two network interfaces (eth0 and eth1) needs to be configured as a bridge (br0) to allow KVM virtual machines to share the host's physical network. Which steps are correct?
⚠ Common exam trap
It's easy for candidates to think the physical interface must retain its IP address or that both interfaces must be added to the bridge, confusing bridging with routing or bonding.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create bridge br0, add eth0 as port, assign IP to br0, remove IP from eth0.
Bridging requires the physical interface (eth0) to be added as a port to the bridge (br0) without an IP address, while the bridge itself gets the IP address to act as the network layer endpoint. This allows KVM virtual machines connected to br0 to communicate through eth0, which operates at layer 2. Removing the IP from eth0 prevents IP conflicts and ensures all traffic is handled by the bridge.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create bridge br0, add eth0 as port, assign IP to br0, remove IP from eth0.
Why this is correct
This is the standard procedure for configuring a bridge with a physical interface.
- ✗
Create bridge br0, add eth0 as port, assign IP to eth0, do not assign IP to br0.
Why it's wrong here
The IP address must be assigned to the bridge interface, not the physical port.
- ✗
Create bond0 from eth0 and eth1, then add bond0 to bridge br0.
Why it's wrong here
This combines bonding and bridging, which is not required for a simple bridge setup.
- ✗
Create bridge br0, add eth0 and eth1 as bridge ports, assign IP to br0, remove IP from eth0 and eth1.
Why it's wrong here
Adding both interfaces is unnecessary; typically only one physical interface is used as a bridge port.
Go deeper
Related to this question
About these practice questions
Courseiva writes every LFCS question from scratch — 507 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LFCS practice question is part of Courseiva's free Linux Foundation certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LFCS exam.