What command line utility provides gateway information?

While on the phone with technical support, the technician asks you to provide your default gateway. What command line utility would be the easiest way to get this information?

A) msinfo

B) dxdiag

C) ipconfig

D) regedit

E) sodium-pentothal

The answer: C) ipconfig

The default gateway is the router that is used to send IP traffic to other IP subnets, and one of the fastest ways to display your IP address, subnet mask, and default gateway is with the ipconfig command.

Want to know more? Watch “Command Line Utilities.”

There is a wealth of Windows utilities that can be run directly from the command line or launched from the Start menu. In this video, we’ll examine utilities like telnet, ping, msconfig, dxdiag, and many more.