LPIC-2 Advanced Networking Configuration Practice Question
Which TWO commands display the current kernel routing table? (Choose two.)
⚠ Common exam trap
Candidates often confuse `route show` (which is invalid) with the valid `route -n` command, or they mistakenly think `ifconfig -a` displays routing information instead of interface configuration.
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 route show
The `ip route show` command (from the iproute2 suite) displays the current kernel routing table in a structured, human-readable format. It is the modern replacement for legacy tools like `route` and `netstat`, and it directly reads routing information from the kernel's FIB (Forwarding Information Base).
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
route show
Why it's wrong here
Invalid command; 'route' without options shows routing table, but 'route show' is not standard.
- ✗
cat /proc/net/route
Why it's wrong here
Raw file, not a command, and output is not human-friendly for quick troubleshooting.
- ✓
ip route show
Why this is correct
iproute2 command to view routing table.
- ✗
ifconfig -a
Why it's wrong here
Shows interface addresses and flags, not routing table.
- ✓
netstat -rn
Why this is correct
Displays kernel routing table.
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.