Introduction


System administrators have to wear several different hats. They have to be part server administrator, security professional, storage administrator, and network administrator. In this chapter, I'll cover many of the network-based activities that Windows system administrators have to do, including configuring an IP address and DNS and viewing network activity.

Using a Graphical User Interface

The Network Connections applet hasn't changed significantly since Windows NT, with the exception of adding a few more tabs and buttons. You can do most network configuration tasks with it, but it is not a very efficient or intuitive interface.

For viewing current network activity, I talk about the Sysinternals TCPView (Recipe 10.9) and Microsoft Network Monitor (Recipe 10.11) later in the chapter. Both tools are invaluable for troubleshooting network connectivity issues. Get familiar with them if you haven't already.

Using a Command-Line Interface

Table 10.1 lists all of the command-line tools used in this chapter.

Table Command-line tools used in this chapter

Tool

Windows Server 2003

Windows 2000 Server

Recipes

devcon

MS KB 311272

MS KB 311272

10.2

ipconfig

%SystemRoot%\system32

%SystemRoot%\system32

10.1, 10.4, 10.6

linkspeed

Windows Server 2003 Resource Kit

N/A

10.13

netcap

Windows Server 2003 Support Tools

N/A

10.11

netdiag

Windows Server 2003 Support Tools

Windows 2000 Support Tools

10.10

netsh

%SystemRoot%\system32

%SystemRoot%\system32

10.1, 10.3, 10.5, 10.14

netstat

%SystemRoot%\system32

%SystemRoot%\system32

10.9

netstatp

Sysinternals

Sysinternals

10.9

nltest

Windows Server 2003 Support Tools

Windows 2000 Support Tools

10.7

ping

%SystemRoot%\system32

%SystemRoot%\system32

10.10

reg

%SystemRoot%\system32

Windows 2000 Support Tools

10.7, 10.12

route

%SystemRoot%\system32

%SystemRoot%\system32

10.8

tracert

%SystemRoot%\system32

%SystemRoot%\system32

10.10

wmic

%SystemRoot%\system32\wbem

N/A

10.1, 10.12


Using VBScript

Table 10.2 lists WMI classes used in this chapter, including the recipe numbers where each was used.

Table WMI classes used in this chapter

WMI class

Description

Recipes

SNMP_RFC1213_MIB_tcpConnTable

Represents the current TCP connections on a system.

10.9

SNMP_RFC1213_MIB_udpTable

Represents the current UDP connections on a system.

10.9

Win32_IP4RouteTable

Represents the routing table of a network adapter. This class is new to Windows Server 2003.

10.8

Win32_NetworkAdapter

Represents network adapters installed in the computer. This class has several read-only properties that describe the manufacturer hardware and software settings.

10.1, 10.3, 10.4

Win32_NetworkAdapterConfiguration

Represents the network configuration of network adapters. This class has several properties for reading network configuration information and numerous methods for modifying various settings.

10.1, 10.3, 10.4, 10.8, 10.12




Windows Server Cookbook
Windows Server Cookbook for Windows Server 2003 and Windows 2000
ISBN: 0596006330
EAN: 2147483647
Year: 2006
Pages: 380
Authors: Robbie Allen

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net