Courseiva
Advanced Networking ConfigurationhardMultiple SelectObjective-mapped

LPIC-2 Advanced Networking Configuration Practice Question

Which THREE actions are typically required to configure a VLAN interface on a Linux system?

⚠ Common exam trap

Many candidates think VLAN configuration requires bridging or iptables rules, but the core steps are simply loading the 8021q module, creating the VLAN interface with `ip link`, and assigning an IP address.

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 the VLAN interface using ip link.

The `ip link` command is used to create a VLAN interface by specifying the parent physical interface and the VLAN ID (e.g., `ip link add link eth0 name eth0.10 type vlan id 10`). This creates a virtual network interface that tags outgoing frames with the specified 802.1Q VLAN ID and strips tags from incoming frames.

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 the VLAN interface using ip link.

    Why this is correct

    The VLAN interface is created with a command like 'ip link add link eth0 name eth0.10 type vlan id 10'.

  • Add the physical interface to a bridge.

    Why it's wrong here

    Bridging is optional and not required for VLAN operation.

  • Load the 802.1q kernel module.

    Why this is correct

    The 802.1q module implements VLAN tagging.

  • Configure iptables rules for the VLAN.

    Why it's wrong here

    Firewall rules are not required for basic VLAN functionality.

  • Assign an IP address to the VLAN interface.

    Why this is correct

    Typically, an IP is assigned to the VLAN interface for communication.

Visual reference

Switch VLAN 10 Sales (192.168.10.0/24) PC-A PC-B VLAN 20 HR (192.168.20.0/24) PC-C PC-D Router VLANs isolate traffic — inter-VLAN routing requires a Layer 3 device

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.