LPIC-2 Advanced Networking Configuration Practice Question
Exhibit
Refer to the exhibit. # ip route show default via 192.168.1.1 dev eth0 10.0.0.0/8 via 192.168.2.1 dev eth1 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.100 192.168.2.0/24 dev eth1 proto kernel scope link src 192.168.2.100
A Linux host has a routing table entry that sends all traffic destined for the 10.0.0.0/8 network out interface eth1. A packet is sent from 192.168.1.100 to 10.0.0.5. Which interface will the packet exit?
⚠ Common exam trap
Many candidates assume the packet must first exit the source interface (eth0) and then be routed, but in reality the routing decision happens before any packet transmission, and the kernel selects the exit interface based solely on the destination IP and routing table, not on the source interface.
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
✓
eth1
The routing decision is made by looking up the destination address in the routing table. Since the destination is 10.0.0.5, which matches the route for 10.0.0.0/8 via eth1, the packet is sent out eth1. The source address does not affect the routing decision; the kernel selects the exit interface based solely on the destination IP and the routing table.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
eth0, then eth1 after ARP
Why it's wrong here
The routing decision is based on destination; the packet goes out eth1 directly.
- ✗
eth0
Why it's wrong here
Default route is eth0 but specific route overrides.
- ✓
eth1
Why this is correct
The route for 10.0.0.0/8 uses eth1.
- ✗
lo
Why it's wrong here
Loopback is only for local traffic.
Go deeper
Related to this question
About these practice questions
Courseiva writes every LPIC-2 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 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.