LPIC-1 Exam 102 v5 (Linux Administrator) — Question 67
Which of the following commands will delete the default gateway from the system's IP routing table? (Choose two.)
Answer options
- A. ifconfig unset default
- B. route del default
- C. ip route del default
- D. netstat -r default
- E. sysctl ipv4.default_gw=0
Correct answer: B, C
Explanation
The commands 'route del default' and 'ip route del default' are specifically designed to delete the default gateway from the routing table. The other options either do not perform this action or are not valid commands for removing a default gateway.