17.2. Using ipconfig and ifconfig

The utilities known as ipconfig (in Windows), and ifconfig (in Unix/Linux/Mac) will display the current configuration of TCP/IP on a given workstation—including the current IP address, DNS configuration, Windows Internet Naming Service (WINS) configuration, and default gateway. In the following sections, we will discuss how to use both.

17.2.1. Using the ipconfig Utility

With the new Macs, Vista, and Windows Server 2008, you can see the IPv6 configuration because IPv6 is enabled by default. The output of the ipconfig command provides the basic routed protocol information on your machine. From a DOS prompt, type ipconfig, and you'll see something like this:

C:\Users\tlammle>ipconfig Windows IP Configuration ...

Get CompTIA Network+® Study Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.