190 likes | 787 Views
Windows Server 2003 DHCP 安裝設定與管理維護. 林寶森 jeffl@ms11.hinet.net. DHCP Client2: IP configuration from DHCP server. Non-DHCP Client: Static IP configuration. Lease Renewal . Lease Generation . DHCP Server . DHCP Database. DHCP Client1: IP configuration from DHCP server.
E N D
Windows Server 2003DHCP 安裝設定與管理維護 林寶森 jeffl@ms11.hinet.net
DHCP Client2:IP configuration from DHCP server Non-DHCP Client:Static IP configuration Lease Renewal Lease Generation DHCP Server DHCP Database DHCP Client1:IP configuration from DHCP server IP Address1: Leased to DHCP Client1 IP Address2: Leased to DHCP Client2 IP Address3: Available to be leased How DHCP Allocates IP Addresses
The DHCP Lease Generation Process DHCP Client DHCP Servers IP Lease Request 1 IP Lease Offer 2 IP Lease Selection 3 IP Lease Acknowledgement 4
DHCPREQUEST Source IP Address = 192.168.0.77 Dest. IP Address = 192.168.0.108 Requested IP Address = 192.168.0.77 Hardware Address = 08004.... DHCPACK Source IP Address = 192.168.0.108 Dest. IP Address = 192.168.0.77 Offered IP Address = 192.168.0.77 Client Hardware Address = 08004... Subnet Mask = 255.255.255.0 Length of Lease = 8 days Server Identifier = 192.168.0.108 DHCP Option: Router = 192.168.0.1 The DHCP Lease Renewal Process DHCP Client DHCP Server
DHCP Server (Offline) Request for IP Address Computer RunningWindows XP / 2003 No IP Address Returned APIPA Generates IP Address 169.254.X.X Broadcasts the IP Address No Response Assigns IP Address Automatic Private IP Addressing
Active Directory DHCP Log Authorized List DHCP Server 1 DHCP Server 2 Securing the DHCP Service DHCP Server 1 DHCP Server 2 DHCP Administrators DHCP Users
Overview of Scopes Scope 192.168.1.0 192.168.1.1 192.168.1.2 192.168.1.3 192.168.1.4 IP Addresses Available for Lease to Client Computers DHCP Server
New Reservation Provide information for a reserved client. Reservation name: Stuttgart Server 192 . 168 . 1 . 201 IP address: MAC address: 00a024e2b01a Description: DHCP Reservation for Server Supported types Both DHCP only BOOTP only Add Close 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
Client1 ConfigurationA Client2 DHCP Server ConfigurationB Client3 ConfigurationC 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
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
SuperscopeA Scope1 192.168.1.1 192.168.1.254 Scope2 192.168.2.1 192.168.2.254 DHCP Server 192.168.1.1 192.168.1.254 192.168.2.1 192.168.2.254 Configuring a Superscope
Configuring a Multicast Scope Computer2 DHCP Server MulticastGroup Request for Multicast Address Multicast Address Assigned Computer1 Computer3 Computer4
Broadcast Broadcast Non RFC Compliant Non RFC Compliant RFC-1542 Compliant RFC-1542 Compliant RFC-1542 Compliant Broadcast Router Router Router Router Router DHCPRelay Agent DHCPRelay Agent DHCPRelay Agent DHCPRelay Agent Broadcast Routed Network Configuration Options DHCP Client DHCP Client DHCP Client DHCP Client Non RFC Compliant Non RFC Compliant RFC-1542 Compliant Router Router Router DHCP Client DHCP Client DHCP Client Windows 2003 Server DHCP Server
Enhancing DHCP Availability with Distributed Scopes Scope for 192.168.1.X/24 defined in both DHCP Servers Active Addresses Excluded Addresses Active Addresses Excluded Addresses DHCP Server DHCP Server
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 • Res*.log • J50.chk
How a DHCP Database Is Reconciled Detailed IP address lease information DHCP Database Compares information to find inconsistencies Summary IP address lease information Registry Reconciles inconsistencies in the DHCP database DHCP Server
What Are DHCP Statistics? DHCP Server DHCP statistics represent statistics collected at either the server level or scope level since the DHCP service was last started
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