SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Dhcp presentation 01
Dhcp presentation 01Dhcp presentation 01
Dhcp presentation 01
maverick4489
 
Domain name system
Domain name systemDomain name system
Domain name system
Diwaker Pant
 

Was ist angesagt? (20)

DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 
DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentation
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
 
Basics about IP address, DNS and DHCP.
Basics about IP address, DNS and DHCP.Basics about IP address, DNS and DHCP.
Basics about IP address, DNS and DHCP.
 
DHCP & DNS
DHCP & DNSDHCP & DNS
DHCP & DNS
 
Bgp protocol
Bgp protocolBgp protocol
Bgp protocol
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
 
Dhcp presentation 01
Dhcp presentation 01Dhcp presentation 01
Dhcp presentation 01
 
Presentation on Domain Name System
Presentation on Domain Name SystemPresentation on Domain Name System
Presentation on Domain Name System
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Wintel ppt for dhcp
Wintel ppt for dhcpWintel ppt for dhcp
Wintel ppt for dhcp
 
Telnet presentation
Telnet presentationTelnet presentation
Telnet presentation
 
DNS Presentation
DNS PresentationDNS Presentation
DNS Presentation
 
Intro to DNS
Intro to DNSIntro to DNS
Intro to DNS
 

Ähnlich wie DHCP

Microsoft Offical Course 20410C_06
Microsoft Offical Course 20410C_06Microsoft Offical Course 20410C_06
Microsoft Offical Course 20410C_06
gameaxt
 
Durai presentation of dhcp
Durai presentation of dhcpDurai presentation of dhcp
Durai presentation of dhcp
duraimurugan89
 
Session 3 Tp 3
Session 3 Tp 3Session 3 Tp 3
Session 3 Tp 3
githe26200
 

Ähnlich wie DHCP (20)

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
 
6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCP
 

Mehr von 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
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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)
 

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