• Chapter 1. Installing and Configuring Windows Server 2003
  • software development Company Server 2003
  • Chapter 1. Installing and Configuring Windows Server 2003
  • New Features in Windows Server 2003
  • Best Practices
  • Moving Forward
  • Version Comparisons
  • Hardware Recommendations
  • Installation Checklist
  • Functional Overview of Windows Server 2003 Setup
  • Installing Windows Server 2003
  • Post Setup Configurations
  • Functional Description of the Windows Server 2003 Boot Process
  • Correcting Common Setup Problems
  • Chapter 2. Performing Upgrades and Automated Installations
  • New Features in Windows Server 2003
  • NT4 Upgrade Functional Overview
  • Upgrading an NT4 or Windows 2000 Server
  • Automating Windows Server 2003 Deployments
  • Moving Forward
  • Chapter 3. Adding Hardware
  • New Features in Windows Server 2003
  • Functional Description of Windows Server 2003 Architecture
  • Overview of Windows Server 2003 Plug and Play
  • Installing and Configuring Devices
  • Troubleshooting New Devices
  • Moving Forward
  • Chapter 4. Managing NetBIOS Name Resolution
  • New Features in Windows Server 2003
  • Moving Forward
  • Overview of Windows Server 2003 Networking
  • Name Resolution and Network Services
  • Network Diagnostic Utilities
  • Resolving NetBIOS Names Using Broadcasts
  • Resolving NetBIOS Names Using Lmhosts
  • Resolving NetBIOS Names Using WINS
  • Managing WINS
  • Disabling NetBIOS-over-TCP/IP Name Resolution
  • Chapter 5. Managing DNS
  • New Features in Windows Server 2003
  • Configuring a Caching-Only Server
  • Configuring a DNS Server to Use a Forwarder
  • Managing Dynamic DNS
  • Configuring Advanced DNS Server Parameters
  • Examining Zones with Nslookup
  • Command-Line Management of DNS
  • Configuring DHCP to Support DNS
  • Moving Forward
  • Overview of DNS Domain Structure
  • Functional Description of DNS Query Handling
  • Designing DNS Domains
  • Active Directory Integration
  • Configuring DNS Clients
  • Installing and Configuring DNS Servers
  • Configuring Secondary DNS Servers
  • Integrating DNS Zones into Active Directory
  • Chapter 6. Understanding Active Directory Services
  • New Features in Windows Server 2003
  • Active Directory Support Files
  • Active Directory Utilities
  • Bulk Imports and Exports
  • Moving Forward
  • Limitations of Classic NT Security
  • Directory Service Components
  • Brief History of Directory Services
  • X.500 Overview
  • LDAP Information Model
  • LDAP Namespace Structure
  • Active Directory Namespace Structure
  • Active Directory Schema
  • Chapter 7. Managing Active Directory Replication
  • New Features in Windows Server 2003
  • Replication Overview
  • Detailed Replication Transaction Descriptions
  • Designing Site Architectures
  • Configuring Inter-site Replication
  • Controlling Replication Parameters
  • Special Replication Operations
  • Troubleshooting Replication Problems
  • Moving Forward
  • Chapter 8. Designing Windows Server 2003 Domains
  • New Features in Windows Server 2003
  • Design Objectives
  • DNS and Active Directory Namespaces
  • Domain Design Strategies
  • Strategies for OU Design
  • Flexible Single Master Operations
  • Domain Controller Placement
  • Moving Forward
  • Chapter 9. Deploying Windows Server 2003 Domains
  • New Features in Windows Server 2003
  • Preparing for an NT Domain Upgrade
  • In-Place Upgrade of an NT4 Domain
  • In-Place Upgrade of a Windows 2000 Forest
  • Migrating from NT and Windows 2000 Domains to Windows Server 2003
  • Additional Domain Operations
  • Moving Forward
  • Chapter 10. Active Directory Maintenance
  • New Features in Windows Server 2003
  • Loss of a DNS Server
  • Loss of a Domain Controller
  • Loss of Key Replication Components
  • Backing Up the Directory
  • Performing Directory Maintenance
  • Moving Forward
  • Chapter 11. Understanding Network Access Security and Kerberos
  • New Features in Windows Server 2003
  • Windows Server 2003 Security Architecture
  • Security Components
  • Password Security
  • Authentication
  • Analysis of Kerberos Transactions
  • MITv5 Kerberos Interoperability
  • Security Auditing
  • Moving Forward
  • Chapter 12. Managing Group Policies
  • New Features in Windows Server 2003
  • Group Policy Operational Overview
  • Managing Individual Group Policy Types
  • Moving Forward
  • Chapter 13. Managing Active Directory Security
  • New Features in Windows Server 2003
  • Overview of Active Directory Security
  • Using Groups to Manage Active Directory Objects
  • Service Accounts
  • Using the Secondary Logon Service and RunAs
  • Using WMI for Active Directory Event Notification
  • Moving Forward
  • Chapter 14. Configuring Data Storage
  • New Features in Windows Server 2003
  • Functional Description of Windows Server 2003 Data Storage
  • Performing Disk Operations on IA32 Systems
  • Recovering Failed Fault Tolerant Disks
  • Working with GPT Disks
  • Moving Forward
  • Chapter 15. Managing File Systems
  • New Features in Windows Server 2003
  • Overview of Windows Server 2003 File Systems
  • NTFS Attributes
  • Link Tracking Service
  • Reparse Points
  • File System Recovery and Fault Tolerance
  • Quotas
  • File System Operations
  • Moving Forward
  • Chapter 16. Managing Shared Resources
  • New Features in Windows Server 2003
  • Functional Description of Windows Resource Sharing
  • Configuring File Sharing
  • Connecting to Shared Folders
  • Resource Sharing Using the Distributed File System (Dfs)
  • Printer Sharing
  • Configuring Windows Server 2003 Clients to Print
  • Managing Print Services
  • Moving Forward
  • Chapter 17. Managing File Encryption
  • New Features in Windows Server 2003
  • File Encryption Functional Description
  • Certificate Management
  • Encrypted File Recovery
  • Encrypting Server-Based Files
  • EFS File Transactions and WebDAV
  • Special EFS Guidelines
  • EFS Procedures
  • Moving Forward
  • Chapter 18. Managing a Public Key Infrastructure
  • New Features in Windows Server 2003
  • Moving Forward
  • PKI Goals
  • Cryptographic Elements in Windows Server 2003
  • Public/Private Key Services
  • Certificates
  • Certification Authorities
  • Certificate Enrollment
  • Key Archival and Recovery
  • Command-Line PKI Tools
  • Chapter 19. Managing the User Operating Environment
  • New Features in Windows Server 2003
  • Side-by-Side Assemblies
  • User State Migration
  • Managing Folder Redirection
  • Creating and Managing Home Directories
  • Managing Offline Files
  • Managing Servers via Remote Desktop
  • Moving Forward
  • Chapter 20. Managing Remote Access and Internet Routing
  • New Features in Windows Server 2003
  • Configuring a Network Bridge
  • Configuring Virtual Private Network Connections
  • Configuring Internet Authentication Services (IAS)
  • Moving Forward
  • Functional Description of WAN Device Support
  • PPP Authentication
  • NT4 RAS Servers and Active Directory Domains
  • Deploying Smart Cards for Remote Access
  • Installing and Configuring Modems
  • Configuring a Remote Access Server
  • Configuring a Demand-Dial Router
  • Configuring an Internet Gateway Using NAT
  • Chapter 21. Recovering from System Failures
  • New Features in Windows Server 2003
  • Functional Description Ntbackup
  • Backup and Restore Operations
  • Recovering from Blue Screen Stops
  • Using Emergency Management Services (EMS)
  • Using Safe Mode
  • Restoring Functionality with the Last Known Good Configuration
  • Recovery Console
  • Moving Forward
  • Who Should Read This Book
  • Who This Book Is Not For
  • Conventions
  • Acknowledgments
  • About the Author
  • About the Technical Reviewers
  • Index
  • Index A
  • Index B
  • Index C
  • Index D
  • Index E
  • Index F
  • Index G
  • Index H
  • Index I
  • Index J
  • Index K
  • Index L
  • Index M
  • Index N
  • Index O
  • Index P
  • Index Q
  • Index R
  • Index S
  • Index SYMBOL
  • Index T
  • Index U
  • Index V
  • Index W
  • Index X
  • Index Z
  • Preface
  • Previous Section Next Section

    Overview of Windows Server 2003 Networking

    This topic covers the methods used by Windows Server 2003 to determine the proper address and port at each Network layer. It uses the standard Open System Interconnection (OSI) model as a road map (see Figure 4.2). Windows networking doesn't precisely follow OSI, but the structure is close enough to permit parallels.

    Figure 4.2. Diagram of OSI layers and Windows Server 2003 network drivers.


    Data Link Layer

    In the OSI model, the data link layer defines methods for packaging data to be transmitted over physical media. The OSI data link layer is divided by IEEE 802.1 into a Media Access Control (MAC) layer and a Logical Link Control (LLC) layer.

    Windows networking does not implement separate MAC and LLC drivers. Instead, the network transport drivers handle LLC, whereas MAC duties are handled by the Network Driver Interface Specification driver (NDIS), Ndis.sys, along with a set of miniport and filter drivers written by vendors. Adapter miniport drivers come in the form of SYS drivers stored under \Windows\Drivers. A driver is installed with the help of an associated INF file located in \Windows\Inf. The network INF files are prefixed with NET*.

    The NDIS and adapter miniport drivers work with the controller chip on the adapter to frame data for transmission. The transmission method depends on the physical media. It could be Ethernet, Token Ring, IEEE 802.11b wireless, or some other communication method.

    A transmission frame requires a MAC address to identify the destination interface. NDIS cannot discover this address. A higher-level protocol must supply it.

    MAC Address Components

    The MAC address is branded into the adapter's ROM. It consists of a unique six-octet number. The first three octets identify the manufacturer. (For example, the machine I'm using has a NetGear adapter branded with 00A0CC for the manufacturer's ID.) Most major manufacturers have several MAC IDs assigned to them. The final three octets of the MAC address are assigned in sequence by the manufacturer.

    Network and Transport Layers

    A little further up the OSI stack is the Network layer, responsible for traffic management, and the Transport layer, responsible for connection management. In TCP/IP, Network layer functions are assigned to the Internet Protocol (IP) and Transport layer functions are assigned to either the Transport Control Protocol (TCP) or the User Datagram Protocol (UDP). Windows Server 2003 uses a single driver, Tcpip.sys, to implement both protocols.

    Addressing at the Network layer takes the form of an IP address, a 32-bit number normally shown in dotted-decimal notation, such as Every IP packet must contain the IP address of the destination host unless it is a broadcast or multicast packet. A key responsibility of Tcpip.sys is to determine the IP address associated with a packet's destination.

    Addressing at the Transport layer takes the form of a port number. Many TCP/IP network applications have well-known port numbers. For example, FTP uses TCP port 21 and HTTP uses TCP port 80. RFC 1700, "Assigned Numbers," lists these port numbers.

    The combination of an IP address and a port number is called a socket. A high-level application provides a socket number that the Tcpip.sys driver parses into its component parts when constructing datagrams and packets.

    Some high-level applications do not use TCP or UDP. These so-called raw IP applications communicate directly to the IP layer. Windows Server 2003 supports raw IP applications as long as they use standard API calls where the host identification can be extracted. A respected member of the Internet community, Steve Gibson, has voiced concerns over this raw IP support because of the potential for Denial-of-Service and spoofing exploits. Read a summary of Mr. Gibson's white paper at grc.com/dos/xpsummary.htm.

    Session Layer

    The OSI Session layer is responsible for handling connection-oriented communications. This works in a similar fashion to human communication. You and I make eye contact, we shake hands, and we maintain each other's attention while we alternately speak and listen.

    IPv6 Support in Windows Server 2003

    The standard 32-bit IP address space is becoming a deployment barrier thanks to the limited number of networks and hosts it can support. Its 128-bit replacement, IPv6, has been in standards track for several years but is making slow inroads. Legacy hardware must be upgraded to support it, and the proliferation of Network Address Translation (NAT) has taken away the urgency to upgrade. IPv6 is described in RFC 2460, "Internet Protocol, Version 6 (IPv6) Specification."

    If you want to enable IPv6 support in Windows Server 2003, do so by running ipv6 install at a command prompt or by clicking install in the interface properties window. This makes no changes to the UI tools. All IPv6 protocol management is performed using the ipv6 utility. The IPv4 and IPv6 address spaces can coexist on the same machine.

    Rather than create a separate driver for session management, the TCP/IP stack gives responsibility to the TCP protocol to implement Session layer functionality. TCP assigns a session number to a connection, sequences the datagrams exchanged across the connection, and guarantees delivery of those datagrams. High-level applications usually obtain session support by calling upon TCP, but they are also free to use their own session-control methods.

    Sessionless applications resemble dysfunctional relationships where one computer listens only as long as the other computer has something interesting to say. When it is not necessary to build a session, high-level applications use the UDP protocol. UDP is capable of packaging data into a single datagram and does not guarantee delivery of that datagram. Applications typically use UDP for broadcasts/multicasts and brief messages. DNS, for example, uses UDP.

    Presentation Layer

    Presentation layer functionality, such as encryption and data translation, is not implemented as a distinct set of drivers in Windows Server 2003. Applications must provide this service, if they require it.

    Application Layer

    At the top of the OSI model sits the Application layer. This is where the Windows Server 2003 network services live. An example is the LAN Manager Workstation service and its complementary file system driver, Mrxsmb.sys. The workstation service communicates with the LAN Manager Server service and its file system driver, Srv.sys.

    Network applications can use any method they desire for identifying their peers. Windows networking components such as LAN Manager Workstation and LAN Manager Server use computer names. These names are often called NetBIOS names because the underlying command protocol, Server Message Block (SMB), has its roots in NetBIOS. See section, "SMB and NetBIOS Names," for more information.

    A NetBIOS name consists of 15 characters and a 1-byte service identifier. If the actual name has fewer than 15 characters, the name is padded to 15 bytes before appending the service identifier. For example, the Messenger service on computer SVR3 would identify itself in an SMB message as SVR3 <03>. The number in angle brackets is the service ID.

    NetBIOS Name Restrictions

    NetBIOS names are often called flat names because they have no hierarchical structure. Flat names must be unique within a Windows domain. Also, flat names must be unique regardless of their domain or workgroup affiliation if the hosts share the same network segment. For example, a computer in the LOX domain with an IP address of cannot have the same name as a computer in the BAGEL domain with the IP address This is not true of TCP/IP host names. DNS is perfectly happy saying, "This is my brother Darrell and this is my other brother Darrell."

    NetBIOS Scope Options

    Quite a while back, Microsoft and IBM tried to introduce a form of hierarchical domain naming called scope options into NetBIOS, but these scopes were clumsy to use and never really caught on. The design simulated DNS naming hierarchies in a very limited way, but was too convoluted to be effective.

    NetBIOS names can contain any ANSI character, including spaces, with the following exceptions: /\[]":;|<>+=,?*. Acceptable NetBIOS names include the following:


    Some characters are permitted in NetBIOS names but not included in standard DNS naming. See RFC 952, "DOD Internet Host Table Specification," and RFC 1123, "Requirements for Internet Hosts—Application and Support," for more information. Because Windows Server 2003 computers live in both the TCP/IP world and the NetBIOS world, you may want to avoid characters not supported by DNS. A commonly used character in Windows names, the underscore, is now part of the official DNS character set but not universally recognized thanks to older DNS servers.

    SMB and NetBIOS Names

    NetBIOS is a high-level network interface. It got its name because it was originally implemented in hardware. A NetBIOS application builds a data structure called a Network Control Block (NCB) then initiates a BIOS function call to send the NCB contents to a network adapter. Windows Server 2003 supports NetBIOS applications using a NetBIOS emulator, which traps the BIOS calls and converts them to network function calls.

    NetBIOS applications are becoming very rare. SMB applications such as LanMan Workstation and LanMan Server use NetBIOS naming but are not NetBIOS applications. The reason for the similar nomenclature lies in their shared history. IBM co-developed NetBIOS with Sytek and it became a de facto standard for PC network interfaces. At the same time, IBM and Microsoft were working with 3Com to develop the network command language that eventually became SMB. Early versions of SMB applications used NetBIOS as a network interface with NETBEUI (NetBIOS Extended User Interface) as a transport protocol.

    Beginning with NT Advanced Server (and versions of OS/2 LAN Manager and Warp from IBM), SMB matured into a transport-independent command language. Because SMB and NetBIOS grew up together, backward compatibility required that a few NetBIOS conventions be retained in SMB. This includes NetBIOS naming and NetBIOS name resolution.

    NetBIOS Services

    The final byte in a NetBIOS computer name designates a service such as Browser, Domain Controller, and so forth. The combination of the computer name in the first 15 bytes and the service ID in the 16th byte forms a unique identifier, similar to the way an IP address and TCP/UDP port number combine to form a unique socket. Figure 4.3 shows a list of the NetBIOS record types managed by a WINS server. See the "Installing WINS" topic in this chapter for information on using the WINS console.

    Figure 4.3. WINS console showing NetBIOS record types managed by a WINS server.


    The combination of NetBIOS name and service identifiers are classified into NetBIOS name types. The Netbt.sys driver uses NetBIOS name types to handle name registration. Here are the registration handling methods:

    • Unique. The associated name/service combination can use only one IP address. If another computer tries to register the same name/service combination with a different IP address, it will be challenged. If one Windows Server 2003 computer named BORIS is already on the network, for example, a second computer named BORIS will not be permitted to register the same NetBIOS service.

    • Group. Multiple computers can use the associated name/service combination. The Netbt.sys driver uses the Group type to define multicast groups. An SMB message directed at a multicast group in network, for example, would use an IP multicast address of Multicasting reduces the processing load on computers in the network because only members of the multicast group need to examine the packet.

    • Multihomed. This name/service combination must be unique, but can be associated with multiple IP addresses. The Netbt.sys driver uses the Multihomed type to designate services registered by a machine with multiple network adapters. The computer's name/service combination is registered with the IP address of each adapter.

    • Internet. This special group designation identifies primary and backup domain controllers. A primary domain controller (PDC) normally replicates with its backup domain controllers (BDCs) using multicasts for efficiency. Some routers block multicast packets. This is where WINS takes over. The WINS server takes the multicast replication packets and directs them as unicast packets directly to the IP addresses of BDCs in its database. These unicast packets make it through intervening routers to their respective BDCs.

      Previous Section Next Section