CompTIA Linux+ (XK0-005) — Question 106
A systems administrator wants to test the route between IP address 10.0.2.15 and IP address 192.168.1.40. Which of the following commands will accomplish this task?
Answer options
- A. route -e get to 192.168.1.40 from 10.0.2.15
- B. ip route get 192.163.1.40 from 10.0.2.15
- C. ip route 192.169.1.40 to 10.0.2.15
- D. route -n 192.168.1.40 from 10.0.2.15
Correct answer: B
Explanation
The correct command is B, 'ip route get 192.163.1.40 from 10.0.2.15', as it properly checks the route to the specified IP address. The other options either contain incorrect IP addresses or incorrect syntax that would not successfully test the route.