Windows Server 2003 DHCP
How DHCP Allocates IP Addresses DHCP Server DHCP Database IP Address1: Leased to DHCP Client1 IP Address2: Leased to DHCP Client2 IP Address3: Available to be leased IP Address1: Leased to DHCP Client1 IP Address2: Leased to DHCP Client2 IP Address3: Available to be leased DHCP Client2: IP configuration from DHCP server Non-DHCP Client: Static IP configuration DHCP Client1: IP configuration from DHCP server Lease Renewal Lease Generation
The DHCP Lease Generation Process DHCP ServersDHCP Client 11 IP Lease Request 33 IP Lease Selection 22 IP Lease Offer 44 IP Lease Acknowledgement
The DHCP Lease Renewal ProcessDHCPREQUESTDHCPREQUEST Source IP Address = Dest. IP Address = Requested IP Address = Hardware Address = Source IP Address = Dest. IP Address = Requested IP Address = Hardware Address = DHCPACK Source IP Address = Dest. IP Address = Offered IP Address = Client Hardware Address = Subnet Mask = Length of Lease = 8 days Server Identifier = DHCP Option: Router = Source IP Address = Dest. IP Address = Offered IP Address = Client Hardware Address = Subnet Mask = Length of Lease = 8 days Server Identifier = DHCP Option: Router = DHCP ClientDHCP Server
Automatic Private IP Addressing Computer Running Windows XP / 2003 DHCP Server (Offline) Request for IP Address Assigns IP Address No Response Broadcasts the IP Address Broadcasts the IP Address APIPA Generates IP Address APIPA X.X No IP Address Returned
Securing the DHCP Service DHCP Administrators DHCP Users Active Directory DHCP Server 1 DHCP Server 2 Authorized List DHCP Server 1 DHCP Server 2 DHCP Log
Overview of Scopes ScopeScope IP Addresses Available for Lease to Client Computers DHCP Server
Selecting DHCP Options DHCP option Description Routers A preferred list of IP addresses for routers on the same subnet as the DHCP clients DNS servers IP addresses for DNS name servers that DHCP clients use to resolve names DNS domain Domain name that DHCP clients should use when resolving names WINS node type A preferred NetBIOS name resolution method for the DHCP client to use WINS server IP addresses of primary and secondary WINS servers for the DHCP client to use
Reserving IP Addresses for Client Computers A reservation is a specific IP address, within a scope, that is permanently reserved for leased use to a specific DHCP client New Reservation Provide information for a reserved client. Reservation name: IP address: MAC address: Description: Supported types Both DHCP only BOOTP only AddClose Stuttgart Server DHCP Reservation for Server 00a024e2b01a
Examining Option Classes Vendor-defined classes manage DHCP options that are assigned to clients that are identified by vendor type User-defined classes manage DHCP options that are assigned to clients with common configuration requirements Client1 Client2 Client3 DHCP Server Configuration A Configuration B Configuration C
Relative IPCONFIG Options IPCONFIG /all Display full configuration information IPCONFIG /renew Renew the IP address for the specified adapter IPCONFIG /release Release the IP address for the specified adapter
Configuring a Superscope SuperscopeA Scope Scope DHCP Server Scope Scope
Configuring a Multicast Scope Computer2 Computer3 Computer4 Computer1 Multicast Group DHCP Server Request for Multicast Address Multicast Address Assigned
Routed Network Configuration Options DHCP Client Non RFC CompliantRouterRouter RFC-1542 Compliant Windows 2003 Server DHCP Relay Agent DHCP Server Broadcast DHCP Client Non RFC Compliant RouterRouter RFC-1542 Compliant DHCP Relay Agent Broadcast DHCP Client Non RFC Compliant Router DHCP Relay Agent Router RFC-1542 Compliant DHCP Client Non RFC CompliantRouterRouter RFC-1542 Compliant DHCP Relay Agent
Enhancing DHCP Availability with Distributed Scopes DHCP Server Scope for X/24 defined in both DHCP Servers Active Addresses Excluded Addresses
What Is a DHCP Database? The DHCP database contains DHCP configuration data, such as information about scopes, reservations, options, and leases Windows Server 2003 stores the DHCP database in the directory % Systemroot% \System32\Dhcp The DHCP database files include: DHCP.mdb Tmp.edb J50.log and J50*.log DHCP.mdb Tmp.edb J50.log and J50*.log Res*.log J50.chk Res*.log J50.chk
How a DHCP Database Is Reconciled Example Summary informationDetailed informationReconciled DHCP database Client has IP address IP address is available Create an active lease entry DHCP Server DHCP Database Registry Summary IP address lease information Detailed IP address lease information Compares information to find inconsistencies Reconciles inconsistencies in the DHCP database
What Are DHCP Statistics? DHCP statistics represent statistics collected at either the server level or scope level since the DHCP service was last started DHCP Server
What Is a DHCP Audit Log File? A DHCP audit log is a log of service-related events, such as when: the service starts and stops; authorizations have been verified; or IP addresses are leased, renewed, released, or denied