DHCP
DHCP
DHCP
Address Assignment
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-1
Overview
Overview of DHCP
Installing the DHCP Service
Authorizing the DHCP Service
Creating and Configuring a Scope
Customizing DHCP Functionality
Configuring DHCP in a Routed Network
Supporting DHCP
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-2
• Overview of DHCP
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-3
Manual vs. Automatic TCP/IP
Configuration
IP Address1
DHCP Client:
IP configuration IP Address2
from DHCP server
DHCP
Database DHCP
IP Address1 Server
IP Address2
IP Address3
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-5
The DHCP Lease Generation Process
DHCP Client DHCP Servers
IP Lease Offer 2
IP Lease
4
Acknowledgement
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-6
The DHCP Lease Renewal Process
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
DHCP Client Server Identifier = 192.168.0.108 DHCP Server
DHCP Option: Router = 192.168.0.1
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-7
Requirements for DHCP Servers and
Clients
To add or remove a component, click the check box. A shaded box means that only part
of the component will be installed. To see what’s included in a component, click Details.
OK Cancel
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-9
Authorizing the DHCP Service
Domain
Controller/
If authorized, DHCP server
DHCP
the service starts
properly Service
If unauthorized, Checks
the service logs For
an error and will Authoriza
not tion
respond to clients
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-10
Lab A: Creating and Authorizing a
DHCP Server
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-11
• Creating and Configuring a Scope
Overview of Scopes
Using The New Scope Wizard
Configuring a Scope with Options
Customizing the Use of Scope Options
Reserving IP Addresses for Client
Computers
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-12
Overview of Scopes
Scope
192.168.1.0
192.168.1.1
IP Addresses
192.168.1.2 Available for
192.168.1.3 Lease to Client
192.168.1.4 Computers
DHCP Server
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-13
Using the New Scope Wizard
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-14
Configuring a Scope with Options
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-15
Customizing the Use of Scope
Options
Scope Options
Server Level
Scope Level
Class Level
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-16
Reserving IP Addresses for Client
Computers
New Reservation
Supported types
Both
DHCP only
BOOTP only
Add Close
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-17
Lab B: Configuring a DHCP Scope
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-18
Customizing DHCP Functionality
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-19
Using Option Classes
Client1
Client2
DHCP Configuration A
Client3
Server
Configuration B
Configuration C
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-20
Combining Scopes by Using
Superscopes
SuperscopeA
DHCP Scope1 Scope2
Server 192.168.1.1192.168.2.1
192.168.1.254
192.168.2.254
192.168.1.1
192.168.1.254
192.168. 2.1
192.168. 2.254
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-21
Issuing Multicast Addresses by Using
Multicast Scopes
Computer2
Multicast
Address Assigned
Computer1 Computer3
Computer4
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-22
• Configuring DHCP in a Routed
Network
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-23
Routed Network Configuration
Options
DHCP Client
Broadcast
DHCP
Relay Broadcast
Agent
DHCP Client
Windows
2000 DHCP Server
Server
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-24
Using a DHCP Relay Agent
DHCP Client Subnet 1
DHCP relay agent
DHCP relay agent
DHCP client
detects the
DHCP client
receives receives
reply from
broadcastsand
broadcast a DHCP
sends
the broadcast
DCHP server and
message
the message to the
sends a broadcast
DHCP server
Broadcast
Router
Broadcast
Subnet 2
DHCP Relay DHCP Server
Agent
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-25
Supporting DHCP
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-26
Monitoring The DHCP Server Service
Dhcp S rv L o g
DHCP
Database
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-27
Troubleshooting DHCP Database
Problems
DHCP
Database systemroot\system32\dhcp
Stored
systemroot\system32\dhcp\backup\jet\new
Backup
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-28
Removing a DHCP Server from
Service
Before Removing a DHCP Server from Service
Set short lease durations for
clients
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-29
Review
Overview of DHCP
Requirements for DHCP Servers and Clients
Installing the DHCP Service
Authorizing the DHCP Service
Creating and Configuring a Scope
Customizing DHCP Functionality
Supporting DHCP
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-30