LFCS Networking Practice Question
An administrator is configuring a bridge using iproute2. Which command correctly attaches eth0 to bridge br0?
⚠ Common exam trap
Candidates often confuse the order of arguments in the `ip link set` command, mistakenly using `ip link set br0 master eth0` (Option A) because they think the bridge should be the 'master' of the interface, but the syntax requires the slave interface first followed by `master <bridge>`.
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
✓
ip link set eth0 master br0
The `ip link set eth0 master br0` command attaches the physical interface `eth0` as a slave port of the bridge `br0` using the iproute2 suite. The `master` keyword specifies the bridge device that should become the master of the specified interface, which is the standard way to add an interface to a bridge with iproute2.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
ip link set br0 master eth0
Why it's wrong here
This sets br0 as a master of eth0, which is incorrect.
- ✓
ip link set eth0 master br0
Why this is correct
This is the correct iproute2 command.
- ✗
nmcli device modify eth0 master br0
Why it's wrong here
nmcli is for NetworkManager, not iproute2.
- ✗
brctl addif br0 eth0
Why it's wrong here
brctl is part of the deprecated bridge-utils package.
Go deeper
Related to this question
About these practice questions
This LFCS question is part of Courseiva's 507-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.