Network Verification: Checking Configuration

Verifying a network isn’t difficult, you can run three commands from a command window to verify the basic configuration of each computer. These commands are net config workstation, net config server, and ipconfig.

The net config workstation command displays basic information about the computer’s network configuration. Here’s a sample of the output it displays:

C:>net config workstation
Computer name                        \DOUG
Full Computer name                   doug
User name                            Doug Lowe
Workstation active on
        NetbiosSmb (000000000000)
        NetBT_Tcpip_{FC6D2F39-FDDD-448E-9B3C-0C12847F2B61} (0050BA843911)
Software version                     Windows 2002
Workstation domain                   WORKGROUP
Workstation Domain DNS Name          (null)
Logon domain                         DOUG
COM Open Timeout (sec)               0
COM Send Count (byte)                16
COM Send Timeout (msec)              250
The command completed successfully.

The most important information to check in the net config workstation command’s output is the computer name and domain information.

If the computer is configured to enable file and print sharing, you can also run net config server to display basic information about the server configuration. Here’s a sample of its output:

C:>net config server
Server Name                           \DOUG
Server Comment
Software version                      Windows 2002
Server is active on
        NetbiosSmb (000000000000)
        NetBT_Tcpip_{FB6D2F79-FDDF-418E-9B7C-0C82887F2A61} (0050ba843911)
Server hidden                         No
Maximum Logged On Users               5
Maximum open files per session        16384
Idle session time (min)               15
The command completed successfully.

The ipconfig command displays information about the computer’s TCP/IP configuration. If you type ipconfig by itself, the computer’s IP address, subnet mask, and default gateway are displayed. If you type ipconfig /all, you see more detailed information. Here’s typical output from the ipconfig /all command:

C:>ipconfig /all
Windows IP Configuration
        Host Name . . . . . . . . . . . . : doug
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
        Connection-specific DNS Suffix  . : we1.client2.attbi.com
        Description . . . . . . . . . . . : D-Link DFE-530TX+ PCI Adapter
        Physical Address. . . . . . . . . : 00-50-BA-84-39-11
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.1.100
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1
        DHCP Server . . . . . . . . . . . : 192.168.1.1
        DNS Servers . . . . . . . . . . . : 204.127.198.19
                                            63.240.76.19
        Lease Obtained. . . . . . . . . . : Saturday, May 24, 2003 6:28:49 PM
        Lease Expires . . . . . . . . . . : Sunday, May 25, 2003 6:28:49 PM

The most important information to glean from this output is the computer’s IP address. You should also verify that the default gateway matches the IP address of your Internet router and that the IP addresses for the DHCP and DNS servers are correct.