+ All Categories
Home > Documents > DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process...

DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process...

Date post: 24-Dec-2015
Category:
Upload: anna-mosley
View: 219 times
Download: 0 times
Share this document with a friend
Popular Tags:
30
DHCP Dynamic Host Configuration Protocol 1
Transcript
Page 1: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

DHCP Dynamic Host Configuration Protocol

1

Page 2: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

ObjectivesDescribe the DHCP lease and renewal

processUnderstand and describe the purpose of a

DHCP relayInstall DHCPConfigure DHCP scopes, superscopes,

reservations, vendor classes, and user classesManage and monitor DHCPTroubleshoot DHCPInstall and configure a DHCP relay

2

Page 3: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

The DHCP ProcessUsed to automatically deliver IP addressing

information to client computers on a network

Can also deliver IP address information to servers and other devices such as printers

Use of DHCP reduces time spent configuring computers on network

Client computers use DHCP by default unless static IP address is specified during installation

3

Page 4: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Windows XP TCP/IP Properties

4

Page 5: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Leasing an IP AddressProcess to lease an address is composed of four packetsDHCPDISCOVER: sent from the client

computer to the broadcast IP address 255.255.255.255

DHCPOFFER: response sent after receiving DHCPDISCOVER packet

DHCPREQUEST: response of DHCP client after receiving DHCPOFFER packet

DHCPACK: response sent by chosen DHCP server indicating confirmation that lease has been chosen and client can now use the lease

5

Page 6: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

The Four Packets in the DHCP Lease Process

6

Page 7: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Renewing an IP AddressAn IP address leased using DHCP can be either permanent or timed

Permanent addressDHCP server never reuses the address for

another clientTimed lease

Allows clients to use an IP address for a specified period of time

Windows clients attempt to renew their lease after 50% of lease time has expired

ipconfig /release command is used to force the release of a DHCP address

7

Page 8: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

The DHCP Lease Renewal Process

8

Page 9: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

DHCP RelayDHCP packetsAre broadcast packets during the leasing

processCannot travel across a router

DHCP relayReceives broadcast DHCP packets from clients

and forwards them as unicast packets to a DHCP server

Must be configured with IP address of the DHCP server to deliver unicast packets

DHCP Relay Service cannot be installed on the same server as the DHCP Service

9

Page 10: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Installing DHCP

10

Page 11: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

AuthorizationControl over DHCP is very importantAn unauthorized DHCP server can quickly

hand out incorrect IP addressing information to hundreds of client computers

To exercise control over DHCPWindows Server 2003 must be authorized

to start DHCP Service Authorization of a DHCP server takes place

in Active Directory

11

Page 12: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Authorization (Continued)

To authorize DHCP serverMust be a member of Enterprise Admins

group orMember of Enterprise Admins group must

delegate permissions to you

12

Page 13: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Unauthorized DHCP server error in Event Viewer

13

Page 14: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

The DHCP Management Snap-In

14

Page 15: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Authorized DHCP server information in Event Viewer

15

Page 16: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Configuring DHCPNormally accomplished with the DHCP

management snap-inNETSH

Command used to configure DHCPUsed in larger organizations where there is

a need to make changes programmatically using batch files

16

Page 17: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Configuring DHCP (Continued)DHCP elements that can be configured

includeScopesSuperscopesMulticast scopesReservationsVendor and user classesScope, server, and reservation options

17

Page 18: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

ScopesUsed to define a range of IP addresses for the DHCP server to hand out to client computers

Each scope is configured withNameDescriptionStarting IP addressEnding IP addressSubnet maskExclusionsLease duration

18

Page 19: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Scopes (Continued)Name and description

Appears in the DHCP management snap-inStarting and ending IP addresses

Define range of IP addresses that can be handed out by the DHCP server

Strategies when defining starting and ending IP addressesConfigure scope to use all available

addresses on a subnet, then exclude the static IP addresses being used by hosts

Configure scope to use addresses that are not already in use

19

Page 20: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Scopes (Continued)Exclusions

Used to prevent some IP addresses in a scope from being handed out dynamically

Lease durationDefines how long client computers are

allowed to use an IP addressDefault lease duration used by Windows

Server 2003 is eight daysDHCP server

Does not begin using a scope immediately after creation

Scope must be activated before DHCP Service can begin using the scope

20

Page 21: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Scope Settings

21

Page 22: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Superscopes

Used to combine multiple scopes into a single logical scope

Used when a single physical part of the network has two subnets

22

Page 23: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

A Superscope Containing Two Scopes

23

Page 24: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Multicast ScopesUsed to deliver multicast addresses to

applications that require itTime To Live (TTL)

Defines the number of routers through which a multicast packet can move

ExclusionsDefine addresses between the start and

end IP addresses that are not handed outLease duration

The length of time that an application can use a multicast address

Default lease length is 30 days

24

Page 25: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

ReservationsUsed to hand out a specific IP address to a particular client computer or device on the network

Can also be beneficial when firewalls are in place

Created based on the MAC address of the network card

25

Page 26: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Creating a Reservation

26

Page 27: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Configuring OptionsDHCP can hand out the following IP

configuration optionsDefault gatewayDNS serverWINS server

DNS is often configured at the server level

27

Page 28: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

SummaryDHCP

Dynamically assigns IP addressesCan assign multicast IP addresses

DHCP lease processComposed of DHCPDISCOVER,

DHCPOFFER, DHCPREQUEST, and DHCPACK

DHCPNAK: used by DHCP servers to decline renewal of lease

DHCPRELEASE: used by clients to inform DHCP server that lease is no longer required

28

Page 29: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Summary (Continued)

Renewing leaseClients attempt to renew at 50%, 87.5%,

and 100% of lease timeCommands ipconfig /release and

ipconfig /renewCan release and renew DHCP leases

DHCP serverMust be authorized in Active Directory to

lease addressesMust be member of Enterprise Admins to

authorize DHCP

29

Page 30: DHCP Dynamic Host Configuration Protocol 1. Objectives Describe the DHCP lease and renewal process Understand and describe the purpose of a DHCP relay.

Summary (Continued)Scope

Defines range of IP addresses that are leased to clients

Must be activated before DHCP server leases addresses in the scope

SuperscopeCombines two scopes into single scope

Exclusion in scopeUsed to stop a DHCP server from handing

out specific addresses or range of addresses within a scope

30


Recommended