SlideShare une entreprise Scribd logo
1  sur  42
Dynamic Host
Configuration Protocol
2
Objectives
• Outline the benefits of using DHCP
• Describe the DHCP lease and renewal process
• Install and authorize the DHCP service
• Configure DHCP scopes
• Create DHCP reservations for client computers
• Configure DHCP options
• Understand and describe the purpose of a DHCP
relay
• Install and configure a DHCP relay
3
DHCP Overview
• Used to automatically deliver IP addressing
• Reduces the amount of time you spend configuring
computers on your network
• Used by default unless you specify otherwise
• The ipconfig /all command will indicate whether the
configuration came from a DHCP server computer
4
DHCP Overview (continued)
5
DHCP Overview (continued)
6
Leasing an IP Address
• An IP address is leased during the boot process
• The overall process is composed of four broadcast
packets:
• DHCPDISCOVER
• DHCPOFFER
• DHCPREQUEST
• DHCPACK
7
Leasing an IP Address
(continued)
• Any DHCP server that receives the DHCPDISCOVER
packet responds with a DHCPOFFER packet
• The DHCP client responds to the DHCPOFFER
packet it receives with a DHCPREQUEST packet
• A DHCPACK packet indicates confirmation that the
client can use the lease
• Once DHCPACK is received, the client can start using
the IP address and options in the lease
8
Leasing an IP Address
(continued)
9
Renewing an IP Address
• The IP address can either be permanent or timed
• A permanent address is never reused for another
client
• Timed leases expire after a certain amount of time
• Windows clients attempt to renew their lease after
50% of the lease time has expired
• A DHCP server may either honor or reject a renew
request
10
Renewing an IP Address
(continued)
11
Installing and Authorizing the
DHCP Service
• A DHCP service must be authorized after installation
12
Installing the DHCP Service
• DHCP is a standard service
• It is included in Windows Server 2003
• It is not installed as part of a default installation
13
Installing the DHCP Service
(continued)
14
Activity 4-1: Installing DHCP
• Objective: Install DHCP on Windows Server 2003
• Make sure your network connection is statically
configured
• Install the service using the Add/Remove Windows
Components utility
15
Authorizing the DHCP Service
• Unauthorized DHCP servers can hand out bad
information
• DHCP will not start unless authorized
• If Active Directory is used, authorization takes place
in Active Directory
• DHCP servers are automatically authorized under
certain conditions
16
Authorizing the DHCP Service
(continued)
17
Authorizing the DHCP Service
(continued)
18
Activity 4-2:
Starting an Authorized DHCP
Server
• Objective: View the results of starting a DHCP server
that does not participate in an Active Directory
domain
• Check to make sure the service is running
• Check out any relevant events using the System Log
19
Activity 4-3:
Installing the Active Directory
Service
• Objective: Install the Active Directory service on
your computer and participate in an Active Directory
domain
• Use the dcpromo utility
• Select “domain controller for a new domain”
• Select “domain in a new forest”
• Continue through the resulting dialogs
20
Activity 4-4:
Starting an Unauthorized DHCP
Server
• Objective: View the results of starting an unauthorized
DHCP server
• View the System Log to see the result of starting an
unauthorized DHCP server
21
Activity 4-5:
Authorizing a DHCP Server
• Objective: Authorize a DHCP server in Active
Directory
• Go to the DHCP snap-in and choose the activate
option
22
Configuring DHCP Scopes
• Scope defines a range of IP addresses
• Each scope is configured with:
• Description
• Starting IP address
• Ending IP address
• Subnet mask
• Exclusions
• Lease duration
• Two strategies exist for defining the starting and
ending IP addresses
• Allow all and exempt the few static addresses
• Use only the addresses not already in use
23
Configuring DHCP Scopes
(continued)
24
Configuring DHCP Scopes
(continued)
• Exclusions are used to prevent some IP addresses
from being handed out dynamically
• Lease duration defines how long client computers are
allowed to use an IP address
• Default lease duration is eight days
• A scope must be activated before the DHCP service
can begin using it
25
Activity 4-6: Creating a Scope
• Objective: Create a scope to distribute IP addresses to
client computers
• Manually enter the IP configuration settings as
directed by the text
• Create a new scope using the configuration settings
provided
26
Activity 4-7:
Activating and Testing a Scope
• Objective: Activate a DHCP scope, and then test it
with a partner
• One person will activate the scope created in the
previous activity
• Another person will try to obtain an automatic IP
address from the server
27
Creating DHCP Reservations
• Reservations are used to hand out a specific IP
address to a particular client
• Useful when delivering IP addresses to devices that
would normally use static addresses
• Can also be beneficial when firewalls are in place
• Reservations are created based on MAC addresses
28
Creating DHCP Reservations
(continued)
29
Activity 4-12:
Creating and Testing a
Reservation
• Objective: Create a DHCP reservation, and test it
with a client
• Configure the server to reserve an IP address for a
client machine
• Test to see if the client machine picks up the reserved
address
30
Configuring DHCP Options
• DHCP can hand out a variety of other IP configuration
options
• It is common that all workstations within an entire
organization use the same DNS servers
• DNS is often configured at the server level
31
Configuring DHCP Options
(continued)
32
Configuring DHCP Options
(continued)
33
Activity 4-13:
Setting Server Options
• Objective: Set the DNS server option for a DHCP
server
• Check 006 DNS servers option
• Add the IP address x.0.0.250
34
Activity 4-14:
Setting Scope Options
• Objective: Set the default gateway in the scope
options
• Use the DHCP snap-in to complete this activity
35
Activity 4-15:
Testing Server & Scope Options
• Objective: Activate a DHCP scope, and then test it
with a partner to ensure that scope options are handed
out
• Activate a DHCP scope
• Configure a client to access the server
• Check the default gateway and DNS settings to find
out whether or not the configurations entered in
previous activities were done correctly
36
Configuring a DHCP Relay
• DHCP packets cannot travel across a router
• A relay agent is necessary in order to have a single
DHCP server handle all leases
• Relay agents receive broadcast DHCP packets and
forward them as unicast packets to a DHCP server
• The DHCP relay cannot be installed on the same
server as the DHCP service
37
Configuring a DHCP Relay
(continued)
38
Configuring a DHCP Relay
(continued)
39
Activity 4-16:
Configuring a DHCP Relay
• Objective: Uninstall the DHCP service from your
computer and configure it as a DHCP relay
• Uninstall the DHCP service
• Configure the computer as a relay by using the
Routing and Remote Access tool provided in
Windows
40
Summary
• DHCP dynamically assigns IP address information to clients
on a network
• The DHCP lease process is composed of four packets:
• DHCPDISCOVER
• DHCPOFFER
• DHCPREQUEST
• DHCPACK
• A DHCP client attempts to renew its lease at 50%, 87.5%, and
100% of the lease time
• The commands ipconfig /release and ipconfig /renew can be
used to release and renew DHCP leases
41
Summary (continued)
• If the Active Directory service is present on your
network, each DHCP server must be authorized in
Active Directory to lease addresses to clients
• A scope defines a range of IP addresses that are
leased to clients
• A superscope combines two scopes into a single
logical unit to service network segments with two
subnets
42
Summary (continued)
• An exclusion in a scope can stop a DHCP server from
handing out specific addresses
• A reservation allows you to give a specific
workstation a defined IP address by tying the DHCP
lease to the MAC address of the client
• Vendor and user classes can be used to configure
some client computers with different options,
depending on the class to which they belong
• A DHCP relay agent is required on each network that
requires IP configuration from a DHCP server across
a router

Contenu connexe

Tendances

6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCPHameda Hurmat
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol AMahmmoud Mahdi
 
DHCP (Dynamic Host Configuration Protocol)
DHCP (Dynamic Host Configuration Protocol)DHCP (Dynamic Host Configuration Protocol)
DHCP (Dynamic Host Configuration Protocol)Faisal Jatt
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPTAIRTEL
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocolasimnawaz54
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting PresentationTouhidul Fahim
 
Ip addressing
Ip addressingIp addressing
Ip addressingOnline
 
Domain Name System DNS
Domain Name System DNSDomain Name System DNS
Domain Name System DNSAkshay Tiwari
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPTPijush Kanti Das
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP AddressingKushal Sheth
 
Dynamic Host Configuration Protocol
Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol
Dynamic Host Configuration Protocolgueste98b36
 
Presentation on Domain Name System
Presentation on Domain Name SystemPresentation on Domain Name System
Presentation on Domain Name SystemChinmay Joshi
 

Tendances (20)

6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCP
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
 
Dhcp
DhcpDhcp
Dhcp
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
 
DHCP (Dynamic Host Configuration Protocol)
DHCP (Dynamic Host Configuration Protocol)DHCP (Dynamic Host Configuration Protocol)
DHCP (Dynamic Host Configuration Protocol)
 
DHCP Protocol
DHCP ProtocolDHCP Protocol
DHCP Protocol
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocol
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting Presentation
 
DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
ccna networking ppt
ccna networking pptccna networking ppt
ccna networking ppt
 
Domain Name System DNS
Domain Name System DNSDomain Name System DNS
Domain Name System DNS
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
 
DHCP & DNS
DHCP & DNSDHCP & DNS
DHCP & DNS
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Dynamic Host Configuration Protocol
Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol
Dynamic Host Configuration Protocol
 
Dns
DnsDns
Dns
 
Presentation on Domain Name System
Presentation on Domain Name SystemPresentation on Domain Name System
Presentation on Domain Name System
 

Similaire à DHCP (20)

dynamic host configuration protocol
dynamic host configuration protocoldynamic host configuration protocol
dynamic host configuration protocol
 
Dhcp edu
Dhcp eduDhcp edu
Dhcp edu
 
Dhcp
DhcpDhcp
Dhcp
 
Dhcp
DhcpDhcp
Dhcp
 
Microsoft Offical Course 20410C_06
Microsoft Offical Course 20410C_06Microsoft Offical Course 20410C_06
Microsoft Offical Course 20410C_06
 
Implementing Dynamic Host
Implementing Dynamic HostImplementing Dynamic Host
Implementing Dynamic Host
 
080 DHCP
080 DHCP080 DHCP
080 DHCP
 
13 - DHCP Service.ppt
13 - DHCP Service.ppt13 - DHCP Service.ppt
13 - DHCP Service.ppt
 
6421 b Module-02
6421 b Module-026421 b Module-02
6421 b Module-02
 
DHCP PROTOCOL
DHCP PROTOCOLDHCP PROTOCOL
DHCP PROTOCOL
 
Durai presentation of dhcp
Durai presentation of dhcpDurai presentation of dhcp
Durai presentation of dhcp
 
Module (8) DHCP Server.pptx
Module (8) DHCP Server.pptxModule (8) DHCP Server.pptx
Module (8) DHCP Server.pptx
 
Group-7-DHCPv4.pptx
Group-7-DHCPv4.pptxGroup-7-DHCPv4.pptx
Group-7-DHCPv4.pptx
 
Configuring a DHCP Server
Configuring a DHCP Server Configuring a DHCP Server
Configuring a DHCP Server
 
MCSA 70-412 Chapter 01
MCSA 70-412 Chapter 01MCSA 70-412 Chapter 01
MCSA 70-412 Chapter 01
 
Session 3 Tp 3
Session 3 Tp 3Session 3 Tp 3
Session 3 Tp 3
 
Linux05 DHCP Server
Linux05 DHCP ServerLinux05 DHCP Server
Linux05 DHCP Server
 
Dhcp server configuration
Dhcp server configurationDhcp server configuration
Dhcp server configuration
 
162 15-768
162 15-768162 15-768
162 15-768
 
DHCP.pptx
DHCP.pptxDHCP.pptx
DHCP.pptx
 

Plus de Kashif Latif

Linear Programming Application
Linear Programming ApplicationLinear Programming Application
Linear Programming ApplicationKashif Latif
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of VarianceKashif Latif
 
Core 2 Duo Processor
Core 2 Duo ProcessorCore 2 Duo Processor
Core 2 Duo ProcessorKashif Latif
 
SRX3600 Cluster & IDP
SRX3600 Cluster & IDPSRX3600 Cluster & IDP
SRX3600 Cluster & IDPKashif Latif
 
Routing Polices And Firewall Filter
Routing Polices And Firewall FilterRouting Polices And Firewall Filter
Routing Polices And Firewall FilterKashif Latif
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information ProtocolKashif Latif
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path FirstKashif Latif
 
Link Aggregation Control Protocol
Link Aggregation Control ProtocolLink Aggregation Control Protocol
Link Aggregation Control ProtocolKashif Latif
 
Label Distribution Protocol
Label Distribution ProtocolLabel Distribution Protocol
Label Distribution ProtocolKashif Latif
 
HA, SRX Cluster & Redundancy Groups
HA, SRX Cluster & Redundancy GroupsHA, SRX Cluster & Redundancy Groups
HA, SRX Cluster & Redundancy GroupsKashif Latif
 
Ex8216 Core Switch
Ex8216 Core SwitchEx8216 Core Switch
Ex8216 Core SwitchKashif Latif
 
Difference Between XFP & SFP
Difference Between XFP & SFPDifference Between XFP & SFP
Difference Between XFP & SFPKashif Latif
 
Chassis Cluster Configuration
Chassis Cluster ConfigurationChassis Cluster Configuration
Chassis Cluster ConfigurationKashif Latif
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway ProtocolKashif Latif
 

Plus de Kashif Latif (17)

Linear Programming Application
Linear Programming ApplicationLinear Programming Application
Linear Programming Application
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 
Cyber Space
Cyber SpaceCyber Space
Cyber Space
 
Core 2 Duo Processor
Core 2 Duo ProcessorCore 2 Duo Processor
Core 2 Duo Processor
 
OSI Layers
OSI LayersOSI Layers
OSI Layers
 
SRX3600 Cluster & IDP
SRX3600 Cluster & IDPSRX3600 Cluster & IDP
SRX3600 Cluster & IDP
 
Routing Polices And Firewall Filter
Routing Polices And Firewall FilterRouting Polices And Firewall Filter
Routing Polices And Firewall Filter
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
 
MX960 Router
MX960 RouterMX960 Router
MX960 Router
 
Link Aggregation Control Protocol
Link Aggregation Control ProtocolLink Aggregation Control Protocol
Link Aggregation Control Protocol
 
Label Distribution Protocol
Label Distribution ProtocolLabel Distribution Protocol
Label Distribution Protocol
 
HA, SRX Cluster & Redundancy Groups
HA, SRX Cluster & Redundancy GroupsHA, SRX Cluster & Redundancy Groups
HA, SRX Cluster & Redundancy Groups
 
Ex8216 Core Switch
Ex8216 Core SwitchEx8216 Core Switch
Ex8216 Core Switch
 
Difference Between XFP & SFP
Difference Between XFP & SFPDifference Between XFP & SFP
Difference Between XFP & SFP
 
Chassis Cluster Configuration
Chassis Cluster ConfigurationChassis Cluster Configuration
Chassis Cluster Configuration
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
 

Dernier

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Dernier (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

DHCP

  • 2. 2 Objectives • Outline the benefits of using DHCP • Describe the DHCP lease and renewal process • Install and authorize the DHCP service • Configure DHCP scopes • Create DHCP reservations for client computers • Configure DHCP options • Understand and describe the purpose of a DHCP relay • Install and configure a DHCP relay
  • 3. 3 DHCP Overview • Used to automatically deliver IP addressing • Reduces the amount of time you spend configuring computers on your network • Used by default unless you specify otherwise • The ipconfig /all command will indicate whether the configuration came from a DHCP server computer
  • 6. 6 Leasing an IP Address • An IP address is leased during the boot process • The overall process is composed of four broadcast packets: • DHCPDISCOVER • DHCPOFFER • DHCPREQUEST • DHCPACK
  • 7. 7 Leasing an IP Address (continued) • Any DHCP server that receives the DHCPDISCOVER packet responds with a DHCPOFFER packet • The DHCP client responds to the DHCPOFFER packet it receives with a DHCPREQUEST packet • A DHCPACK packet indicates confirmation that the client can use the lease • Once DHCPACK is received, the client can start using the IP address and options in the lease
  • 8. 8 Leasing an IP Address (continued)
  • 9. 9 Renewing an IP Address • The IP address can either be permanent or timed • A permanent address is never reused for another client • Timed leases expire after a certain amount of time • Windows clients attempt to renew their lease after 50% of the lease time has expired • A DHCP server may either honor or reject a renew request
  • 10. 10 Renewing an IP Address (continued)
  • 11. 11 Installing and Authorizing the DHCP Service • A DHCP service must be authorized after installation
  • 12. 12 Installing the DHCP Service • DHCP is a standard service • It is included in Windows Server 2003 • It is not installed as part of a default installation
  • 13. 13 Installing the DHCP Service (continued)
  • 14. 14 Activity 4-1: Installing DHCP • Objective: Install DHCP on Windows Server 2003 • Make sure your network connection is statically configured • Install the service using the Add/Remove Windows Components utility
  • 15. 15 Authorizing the DHCP Service • Unauthorized DHCP servers can hand out bad information • DHCP will not start unless authorized • If Active Directory is used, authorization takes place in Active Directory • DHCP servers are automatically authorized under certain conditions
  • 16. 16 Authorizing the DHCP Service (continued)
  • 17. 17 Authorizing the DHCP Service (continued)
  • 18. 18 Activity 4-2: Starting an Authorized DHCP Server • Objective: View the results of starting a DHCP server that does not participate in an Active Directory domain • Check to make sure the service is running • Check out any relevant events using the System Log
  • 19. 19 Activity 4-3: Installing the Active Directory Service • Objective: Install the Active Directory service on your computer and participate in an Active Directory domain • Use the dcpromo utility • Select “domain controller for a new domain” • Select “domain in a new forest” • Continue through the resulting dialogs
  • 20. 20 Activity 4-4: Starting an Unauthorized DHCP Server • Objective: View the results of starting an unauthorized DHCP server • View the System Log to see the result of starting an unauthorized DHCP server
  • 21. 21 Activity 4-5: Authorizing a DHCP Server • Objective: Authorize a DHCP server in Active Directory • Go to the DHCP snap-in and choose the activate option
  • 22. 22 Configuring DHCP Scopes • Scope defines a range of IP addresses • Each scope is configured with: • Description • Starting IP address • Ending IP address • Subnet mask • Exclusions • Lease duration • Two strategies exist for defining the starting and ending IP addresses • Allow all and exempt the few static addresses • Use only the addresses not already in use
  • 24. 24 Configuring DHCP Scopes (continued) • Exclusions are used to prevent some IP addresses from being handed out dynamically • Lease duration defines how long client computers are allowed to use an IP address • Default lease duration is eight days • A scope must be activated before the DHCP service can begin using it
  • 25. 25 Activity 4-6: Creating a Scope • Objective: Create a scope to distribute IP addresses to client computers • Manually enter the IP configuration settings as directed by the text • Create a new scope using the configuration settings provided
  • 26. 26 Activity 4-7: Activating and Testing a Scope • Objective: Activate a DHCP scope, and then test it with a partner • One person will activate the scope created in the previous activity • Another person will try to obtain an automatic IP address from the server
  • 27. 27 Creating DHCP Reservations • Reservations are used to hand out a specific IP address to a particular client • Useful when delivering IP addresses to devices that would normally use static addresses • Can also be beneficial when firewalls are in place • Reservations are created based on MAC addresses
  • 29. 29 Activity 4-12: Creating and Testing a Reservation • Objective: Create a DHCP reservation, and test it with a client • Configure the server to reserve an IP address for a client machine • Test to see if the client machine picks up the reserved address
  • 30. 30 Configuring DHCP Options • DHCP can hand out a variety of other IP configuration options • It is common that all workstations within an entire organization use the same DNS servers • DNS is often configured at the server level
  • 33. 33 Activity 4-13: Setting Server Options • Objective: Set the DNS server option for a DHCP server • Check 006 DNS servers option • Add the IP address x.0.0.250
  • 34. 34 Activity 4-14: Setting Scope Options • Objective: Set the default gateway in the scope options • Use the DHCP snap-in to complete this activity
  • 35. 35 Activity 4-15: Testing Server & Scope Options • Objective: Activate a DHCP scope, and then test it with a partner to ensure that scope options are handed out • Activate a DHCP scope • Configure a client to access the server • Check the default gateway and DNS settings to find out whether or not the configurations entered in previous activities were done correctly
  • 36. 36 Configuring a DHCP Relay • DHCP packets cannot travel across a router • A relay agent is necessary in order to have a single DHCP server handle all leases • Relay agents receive broadcast DHCP packets and forward them as unicast packets to a DHCP server • The DHCP relay cannot be installed on the same server as the DHCP service
  • 37. 37 Configuring a DHCP Relay (continued)
  • 38. 38 Configuring a DHCP Relay (continued)
  • 39. 39 Activity 4-16: Configuring a DHCP Relay • Objective: Uninstall the DHCP service from your computer and configure it as a DHCP relay • Uninstall the DHCP service • Configure the computer as a relay by using the Routing and Remote Access tool provided in Windows
  • 40. 40 Summary • DHCP dynamically assigns IP address information to clients on a network • The DHCP lease process is composed of four packets: • DHCPDISCOVER • DHCPOFFER • DHCPREQUEST • DHCPACK • A DHCP client attempts to renew its lease at 50%, 87.5%, and 100% of the lease time • The commands ipconfig /release and ipconfig /renew can be used to release and renew DHCP leases
  • 41. 41 Summary (continued) • If the Active Directory service is present on your network, each DHCP server must be authorized in Active Directory to lease addresses to clients • A scope defines a range of IP addresses that are leased to clients • A superscope combines two scopes into a single logical unit to service network segments with two subnets
  • 42. 42 Summary (continued) • An exclusion in a scope can stop a DHCP server from handing out specific addresses • A reservation allows you to give a specific workstation a defined IP address by tying the DHCP lease to the MAC address of the client • Vendor and user classes can be used to configure some client computers with different options, depending on the class to which they belong • A DHCP relay agent is required on each network that requires IP configuration from a DHCP server across a router