Random Musings

Sporadic thoughts on tech, economics, business, finance and trading

Exam XK0-005 topic 1 question 39

,

The question in the image asks about testing the route between two IP addresses using a command. The correct answer highlighted is:

B. ip route get 192.163.1.40 from 10.0.2.15

Explanation:

  1. ip route get Command:
  • This command retrieves the specific routing information for a packet destined to a given IP address (in this case, 192.163.1.40) when originating from another IP address (here, 10.0.2.15).
  1. Why Other Options are Incorrect:
  • A (route -e get):
    • route commands are legacy and do not include a -e or get option.
  • C (ip route 192.169.1.40):
    • This doesn’t use the get keyword, so it will not fetch a specific route.
  • D (route -n):
    • This shows the entire routing table in numeric format but doesn’t test specific routes.

The ip route get command is modern, more specific, and recommended for testing individual routes.