QuestionQ208

Networking

Which of these commands can be used to display the local routing table?

Choose two
  • A ifconfig
  • B dig
  • C netstat
  • D route
  • E trackroute
Explanation

Both the netstat command (using the -r option) and the route command (run without arguments) display the kernel's IP routing table on Linux systems. ifconfig only shows network interface configuration details, not routing information; dig is a DNS query tool; and trackroute is not a valid standard networking command (the real traceroute utility, spelled differently, tests network paths rather than showing the routing table).

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!