Sunteți pe pagina 1din 30

Automating IP

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

Manual vs. Automatic TCP/IP Configuration


DHCP Operation
The DHCP Lease Generation Process
The DHCP Lease Renewal Process
Requirements for DHCP Servers and Clients

© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-3
Manual vs. Automatic TCP/IP
Configuration

Manual TCP/IP Configuration


Automatic TCP/IP Configuration
Disadvantages Advantages
IP addresses entered IP addresses are
manually on each supplied automatically
client computer to client computers
Ensures that clients
Possibility of
always use correct
entering incorrect or
configuration
invalid IP address
Incorrect information
configuration can Elimination of common
lead to source of network
communication and problems
Administrative
network problems Client configuration
overload on
updated automatically
networks where
to reflect changes in
computers are
network structure
frequently moved
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-4
DHCP Operation

Non-DHCP Client: DHCP Client:


static IP IP configuration
configuration from
DHCP server

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

1IP Lease Request

IP Lease Offer 2

3IP Lease Selection

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

DHCP Server Requirements (Windows 2000


Server)
• The DHCP service
• Static IP address, subnet mask, default gateway
• Range of valid IP addresses
DHCP Clients
• Windows 2000 Professional or Windows 2000
Server
• Windows NT Server or Workstation 3.51 or later
• Windows 95 or Windows 98
• Windows for Workgroups 3.11, running TCP/IP-
32
• Microsoft Network Client 3.0 for MS-DOS
• LAN Manager 2.2c
• Non-Microsoft operating systems
© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-8
Installing the DHCP Service
Networking Services

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.

Subcomponents of Networking Services:

COM Internet Services Proxy 0.0 MB


0.8 MB
Domain Name System (DNS) 0.0 MB
Dynamic Host Configuration Protocol (DHCP) 0.0 MB
Internet Authentication Service 0.0 MB
QoS Admission Control Service 0.0 MB
Simple TCP/IP Services 0.0 MB
Site Server LDAP Services 1.8 MB

Description: Enables a network connected to the Internet to automatically assign a


temporary IP address to a host when the host connects to the network.

Total disk space required: 0.9 MB Details...


Space available on disk: 912.4 MB

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

DHCP Server Clients DHCP Server

© 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

You use the New Scope Wizard to:


• Configure scope parameters
• Change the default lease duration
• Activate a scope

© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-14
Configuring a Scope with Options

Scope Options Supported by DHCP Include:


• IP Address of a Router
• IP Address of a DNS Server
• DNS Domain Name
• IP Address of a WINS Server
• Type of NetBIOS over TCP/IP Name Resolution

© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-15
Customizing the Use of Scope
Options

Scope Options

Server Level

Scope Level

Class Level

Reserved Client Level

© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-16
Reserving IP Addresses for Client
Computers

New Reservation

Provide information for a reserved client.

Reservation name: Stuttgart Server

IP address: 192 . 168 . 1 . 201

MAC address: 00a024e2b01a

Description: DHCP Reservation for Server

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

Using Option Classes


Combining Scopes by Using Superscopes
Issuing Multicast Addresses by Using
Multicast Scopes

© 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

DHCP Server Multicast


Group
Request for
Multicast Address

Multicast
Address Assigned
Computer1 Computer3

Computer4

© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-22
• Configuring DHCP in a Routed
Network

Routed Network Configuration Options


Using a DHCP Relay Agent

© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-23
Routed Network Configuration
Options
DHCP Client

Non RFC RFC


Compliant Compliant
Broadcast
Router Router
Broadcast

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

Monitoring the DHCP Server Service


Troubleshooting DHCP Database Problems
Removing a DHCP Server from Service

© 2003, cdaga tech, Inc. All rights reserved. Course acronym #-26
Monitoring The DHCP Server Service

When You Enable Logging, the DHCP


Server Creates Log Files Called
DhcpSrvLog.xxx. The DHCP Server
Stores These Files in the DHCP
Database Directory

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

 Ensure new lease for clients

 Record any reserved addresses

 Large address pool in other DHCP


servers
 Transfer IP address to the new
scope

© 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

S-ar putea să vă placă și