Which command displays the current routing table and can add or remove routes?

Get ready for your networking concepts exam! Study with flashcards and multiple-choice questions that include hints and explanations. Enhance your understanding and achieve success!

Multiple Choice

Which command displays the current routing table and can add or remove routes?

Explanation:
Understanding how packets are directed relies on the routing table—the set of rules that tell the OS where to send each destination. The route command handles this directly. It lets you view the current routes so you can see which gateway or interface will be used for different destinations, and it also lets you modify the table by adding or deleting routes (for example, using route add to introduce a new path or route delete to remove one). This makes it the best fit because it combines both visibility and modification in a single tool. Other utilities serve different purposes: ipconfig shows IP configuration details but not the routing decisions; netstat reports active connections (and on some systems can display a route list, but it isn’t the primary tool for editing routes); nslookup resolves DNS names and has nothing to do with routing.

Understanding how packets are directed relies on the routing table—the set of rules that tell the OS where to send each destination. The route command handles this directly. It lets you view the current routes so you can see which gateway or interface will be used for different destinations, and it also lets you modify the table by adding or deleting routes (for example, using route add to introduce a new path or route delete to remove one).

This makes it the best fit because it combines both visibility and modification in a single tool. Other utilities serve different purposes: ipconfig shows IP configuration details but not the routing decisions; netstat reports active connections (and on some systems can display a route list, but it isn’t the primary tool for editing routes); nslookup resolves DNS names and has nothing to do with routing.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy