Courseiva
Advanced Networking ConfigurationeasyMultiple ChoiceObjective-mapped

LPIC-2 Advanced Networking Configuration Practice Question

To create a simple bridge interface that connects two Ethernet interfaces, which of the following commands should be used?

⚠ Common exam trap

The trap here is that candidates may remember the older `brctl` commands as valid, but fail to notice the syntax error in Option B (adding two interfaces at once) and assume both A and B are correct, leading them to choose Option D.

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 add br0 type bridge && ip link set br0 up

The `ip link add br0 type bridge` command creates a new bridge interface using the modern iproute2 suite, and `ip link set br0 up` activates it. This is the current standard method for bridge creation on Linux, replacing the older brctl tool. The bridge then connects Ethernet interfaces by enslaving them with `ip link set eth0 master br0`.

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 add br0 type bridge && ip link set br0 up

    Why this is correct

    This creates the bridge and brings it up using the iproute2 suite.

  • brctl addbr br0 && brctl addif br0 eth0 eth1

    Why it's wrong here

    This uses the deprecated brctl tool and does not bring up the bridge automatically.

  • ifconfig br0 create && ifconfig br0 up

    Why it's wrong here

    ifconfig does not support creating bridges.

  • Both A and B work correctly

    Why it's wrong here

    While both can be used, the question asks for a single command set that is commonly used; A is the preferred modern method.

About these practice questions

One of 507 original LPIC-2 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This LPIC-2 practice question is part of Courseiva's free LPI 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 LPIC-2 exam.