Title: Dynamic Host Configuration Protocol
1Chapter 3
- Dynamic Host Configuration Protocol
2Learning Objectives
- Describe the dynamic host configuration protocol
(DHCP) - Describe the dynamic IP leasing process
- Configure a client to use DHCP
- Install the DHCP server service
- Configure scopes within the DHCP server service
continued
3Learning Objectives
- Define and create scope options
- Authorize a DHCP server in Active Directory
- Configure DHCP for integration with DNS
- Manage, monitor, and troubleshoot DHCP
4Overview of DHCP
- Provides an easy way for network administrators
to provide IP addressing information for network
clients - Reduces the work associated with moving clients
between subnets - DHCP server service can be used to create a pool
of IP addresses known as scopes that can be
dynamically assigned to clients - Options can include default gateway address, or a
DNS and a WINS server address
5New Features of DHCP Server with Windows 2000
- Rogue DHCP server detection
- Integration with DNS
- Support for superscopes
- Support for multicast scopes
- Increased monitoring and management tools
6DHCP Lease Process
7Step 1 DHCPDiscover
8Step 2 DHCPOffer
9Step 3 DHCPRequest
10Step 3 DHCPRequest
11Step 4 DHCPAcknowledgment
12DHCP Renewal Process
13Configuring a Windows 2000 Server with the DHCP
Server Service
- Configure a static IP address, subnet mask, and
default gateway on the server - Install the DHCP server service
- Create scopes and, if needed, multicast scopes
and superscopes - Create and specify options on a server, scope,
vendor-defined, user-defined, or reserved client
basis - Authorize the DHCP server in Active Directory
14Client Configuration for DHCP
- Any client that supports a standard
implementation of DHCP can obtain an IP address
from a Windows 2000 DHCP server - To configure Windows clients, specify that they
obtain an IP address automatically by accessing
the Internet Protocols (TCP/IP) properties found
under Local Area Connections properties
15Client Configuration for DHCP
16Installing the DHCP Server Service
- Minimum requirements
- Windows 2000 server machine configured with a
static IP address, subnet mask, and, on networks
with multiple subnets or networks, a default
gateway - Range of addresses that can be used to create
scopes (ranges of IP addresses configured for
lease to clients via DHCP) - Active Directory installed and configured to
allow DHCP servers to be authorized in AD
17Installing the DHCP Server Service
- Many ways to install DHCP
- One of the easiest ways is to access Network and
Dial-up connections via the Start menu or
right-click on My Network Places and select
Properties
18Installing DHCP
19Installing DHCP
20Installing DHCP
- Common problem on networks attempting to
implement DHCP routers do not pass broadcasts - Solutions
- Configure a router to pass DHCP traffic
- Place second DHCP server on same segment as the
client - Use a DHCP relay agent to act as a proxy for a
DHCP server
21Router Blocking DHCPDiscover Packets
22Configuring a DHCP Server per Physical Segment
23DHCP Relay Agents
24Configuring Scopes
25Items in theNew Scope Wizard
- Name and Description
- IP Address range
- Subnet mask
- Add Exclusions
- Lease duration
- Configure DHCP Options
26Configuring Scopes
- Multicast scopes
- Ranges of multicast addresses configured to be
dynamically assigned to host via DHCP - Superscopes
- Multiple scopes grouped together to allow
centralized management - Also allow for more than one range of IP
addresses on a single physical subnet
27Reserving a Specific IP Address for a Specific
Client
28Scope Options
- Options that apply to all clients in one scope
only - Vendor-defined option classes
- User-defined option classes
- Reserved client options
29Main Options Used with DHCP
30DHCP and Active Directory
- Create a DHCP object within Active Directory to
validate DHCP servers - Requirements
- All DHCP servers must run Windows 2000
- First DHCP server in your network must be
installed as either a domain controller or member
server
31Integrating DHCP and DNS
- You can configure DHCP to create Dynamic DNS
entries for clients that do not support DDNS - Helps with support of legacy, non-DDNS aware
clients - Windows clients can register their own A records
but they still rely on the DHCP server to create
reverse lookup records
32Integrating DHCP and DNS
33Managing DHCP
- Create scopes, manage options, configure most
DHCP settings with the DHCP snap-in - Stop the DHCP service
- Compact the DHCP database with the jetpack
command - Manage DHCP clients with ipconfig/all,
ipconfig/release, and ipconfig/renew - Move DHCP database to a different DHCP server
34Monitoring DHCP
- Use DHCP snap-in for basic monitoring (server
uptime, numbers of available addresses, number of
leased addresses) - Generate daily log of DHCP activity with DHCP
audit log - Perform detailed monitoring with System Monitor
35Monitoring DHCP with the DHCP Snap-in
36Monitoring DHCP with the Audit Log
37Monitoring DHCP with the Audit Log
38Monitoring DHCP with System Monitor
39Troubleshooting DHCP
- Misconfigured scopes or options
- Use ipconfig/all command to verify client
settings and information - Change options within the DHCP snap-in
- A stopped DHCP server service
- Use the net start dhcpserver command
continued
40Troubleshooting DHCP
- A scope that has run out of addresses
- Decrease length of lease for the scope
- Increase range of addresses in the scope
- Renumber entire scope with new, larger range of
addresses - Remove some clients from overcrowded network
segment - An improperly configured network
- Place a DHCP server on each subnet
- Implement DHCP relay agents on subnets without
DHCP servers
41Chapter Summary
- Overview of DHCP
- Process used by clients to obtain dynamic IP
addresses from a DHCP server - Client configuration for DHCP
- Configuring scopes
- Scope options
continued
42Chapter Summary
- Installing and configuring a Windows 2000 server
as a DHCP server - Integrating a DHCP server with WINS and DNS
- Basic monitoring, troubleshooting, and management
procedures for Windows 2000 DHCP servers