SlideShare a Scribd company logo
1 of 33
DHCP
Overview of DHCP 
• DHCP 
• DHCP IP Leasing Process 
• Renewing an IP Address 
• Installing the DHCP Service 
• DHCP Relay Agent 
• Superscope Implementation 
2
Dynamic Host Configuration Protocol 
(DHCP) 
DHCP is a protocol that allows client computers to automatically 
receive an IP address and TCP/IP settings from a Server. 
Allows servers to assign or lease IP addresses to computers and other 
devices that are enabled as DHCP clients on the network. 
All DHCP messages are carried in User Datagram Protocol (UDP) 
datagrams using the well-known port numbers 67 (from the server) 
and 68 (to the client). 
3
4 
DHCP PORTS 
DHCP(Port-67): 
Bootstrap Protocol (BOOTP) Server; 
DHCP(Port-68): 
Bootstrap Protocol (BOOTP) Client; 
The ipconfig /all command will indicate whether the configuration 
came from a DHCP server computer
5 
DHCP Settings in Client Side
6 
DHCP Details in cmd
7 
Leasing an IP Address 
• An IP address is leased during the boot process 
• The overall process is composed of four broadcast 
packets: 
• It will call DORA Process: 
• DHCPDISCOVER 
• DHCPOFFER 
• DHCPREQUEST 
• DHCPACK
8 
Leasing an IP Address 
• 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
9 
Four Packets In The DHCP IP 
Leasing Process
10 
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. If the renewal 
process fails, it attempts again after 87.5% of the 
lease time has expired. 
• Renewing the lease involves the client sending a 
DHCP Request packet to DHCP Server
11 
Renewing an IP Address
More on the Renewal Process… 
• DHCP Client, at startup, attempts to reach the DHCP 
Server 
Server Available: 
• If the server is available and the lease has not yet 
expired, the client retains the IP address 
• If the server is available and the lease has expired, 
the client attempts to renew the lease. 
12
More on the Renewal Process… 
• DHCP Client, at startup, attempts to reach the DHCP 
Server 
Server Unavailable: 
• If the server is unavailable, the client will ping the 
previously assigned default gateway to determine 
if it’s on the same network. 
• If the gateway responds and the lease hasn’t expired, the 
13 
client retains the IP address 
• If the gateway doesn’t respond the client will send a 
DISCOVER packet to begin the lease process over
14 
Question? 
• When a DHCP Server does not respond to a Client’s call for an 
IP Address, the client will autoconfigure itself APIPA IP. 
• The client selects an IP address from the 169.254.0.0 
subnet 
• The client will attempt to contact a DHCP server using 
DISCOVER packets every 5 minutes 
• The lease duration can be any amount of time between 1 
minute and 999 days, or it can be unlimited. 
• The default lease duration is eight days.
15 
Installing the DHCP Service 
• When placing a DHCP Service on a Server in a Domain: 
• Install the DHCP Server Service 
• Authorize DHCP Server in Active Directory 
• Configure DHCP Server with appropriate scopes, 
exclusions, reservations and options 
• Activate the DHCP Server’s Scopes 
• When placing a DHCP Service on a Server in a Workgroup: 
• Install the DHCP Server Service 
• Configure DHCP Server with appropriate scopes, 
exclusions, reservations and options 
• Activate the DHCP Server’s Scopes
16 
Authorizing the DHCP Service 
• A server that is a member of a domain can be authorized 
• During the installation of the service: the Install Wizard 
provides an option to authorize the server 
• Only members of the Enterprise Admins(win2003,win2008) 
group can authorize a server 
• A server that is a member of a workgroup(win7,xp)does not need 
to be authorized.
17 
Configuring DHCP Scopes 
• Scope defines a range of IP addresses 
• Each scope is configured with: 
• Description- Name of Scope 
• Starting IP address- 192.168.1.51 
• Ending IP address- 192.168.1.200 
• Subnet mask- 255.255.255.0 
• Exclusions 
• Lease duration- 8Day 
Reserve a range of addresses at beginning or end of range that 
can be used for static addresses
18 
Configuring DHCP Scopes 
• Lease duration defines how long client computers are 
allowed to use an IP address 
• Default lease duration varies based on the network 
type and the DHCP Server version 
• A scope must be activated before the DHCP service 
can begin using it
19 
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 
• Reservations are created based on MAC addresses
Creating DHCP Exclusions 
• Exclusions are IP Addresses that are within the 
subnet defined within the scope but that should not be 
assigned to a dhcp client 
20
21 
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
22 
DHCP Relay Agent 
• DHCP packets cannot travel across a router 
• A relay agent is necessary in order to have a single DHCP 
server handle all leases on both network segments 
• This can be a Windows 2003/2008 server with DHCP 
Relay Agent protocol installed or a router that is configured 
as a relay 
• Relay agents receive broadcast DHCP packets and forward 
them as unicast packets to a DHCP server 
• The relay agent must be configured with the IP address of the 
DHCP server 
• The DHCP relay cannot be installed on the same server as the 
DHCP service
23 
Configuring a DHCP Relay
DHCP Relay Agent 
24
UNICASTING AND BROADCASTING 
Unicast Message: 
• When using unicast method, one device will send the message to 
exactly one destination device. If some device needs to send a 
message to multiple devices, it will have to send multiple 
unicast messages, each message addressed to a specific device. 
So, the sender has to send a separate message to each destination 
device. 
Broadcast Message: 
• The second method of sending messages is called the 
broadcasting. Broadcast is a packet that's sent to all devices on 
specific network. The destination address in the packet is the 
special broadcast address. If the packet has a broadcast address, 
all devices that receive that message will process it 
25
26 
Superscopes 
• Used to combine multiple scopes into a single logical 
scope 
• Allows multiple scopes to be treated as a single scope 
• Useful when a single physical network segment 
contains more than one logical subnet 
• If a superscope is used, then the DHCP server offers 
only one lease as opposed to multiple leases
27 
Example 1: No Super scope 
• One physical network 
segment 
• One logical subnet 
(192.168.1) 
• One DHCP Server 
• Single scope is used to 
service all DHCP 
clients on Subnet A
28 
Example 2: Superscope 
• One physical network segment 
• Multiple logical subnets 
• 192.168.1 
• 192.168.2 
• 192.168.3 
• Three single scopes created and 
joined into one superscope 
• One DHCP Server services all 
clients on Subnet A with an IP 
address from the superscope 
• Router configured with multiple 
addresses to allow packets to 
move from one logical network 
to another
29 
Example 3: Superscope 
Implemented across a Router 
• Two physical network 
segments: Subnet A and 
Subnet B 
• One DHCP Server 
• Router configured with 
Relay Agent 
• Something that will pass 
Discover Packets back 
and forth from DHCP 
Clients and DHCP Server
30 
Superscope Implemented across a Router 
• Subnet A: 
• One physical segment 
• One logical subnet (192.168.1) 
• One single scope defined 
• DHCP server distributes 
addresses to clients on Subnet 
A using addresses in single 
scope 
• Subnet B: 
• One physical segment 
• Two logical subnets (192.168.2 
& 192.168.3) 
• Two single scopes defined and 
joined into one Superscope 
• DHCP server distributes 
address to clients on Subnet B 
using addresses in superscope
Saving and Restoring DHCP 
Configuration 
• DHCP Server configurations can be saved to a file 
• These saved settings can then be used to restore the server to a 
known state OR to use the same settings on another server 
• To save the configuration : 
• To restore the configuration: 
31
Advantages & Disadvantages 
Advantages: 
• To implement DHCP requires no additional costs. 
• Duplicated IP addresses are prevented 
• Reduces the amount of time you spend configuring computers on 
your network 
• DHCP servers only allocate IP addresses to clients when they 
request them. 
Disadvantages: 
• The DHCP server can be a single point of failure in networking 
environments that only have one DHCP server. 
• Place a DHCP relay agent on each segment 
• Configure routers to forward Bootstrap Protocol (BootP) 
broadcasts. 
32
33 
Conflict Detection 
• Using DHCP does not prevent static IP configuration 
• A DHCP server may hand out an IP address that was 
already statically assigned 
• Conflict detection prevents a DHCP server from 
creating IP address conflicts 
• A DHCP server pings an IP address before it is leased 
to a client computer

More Related Content

What's hot

送信ドメイン認証 導入指南 2018
送信ドメイン認証 導入指南 2018送信ドメイン認証 導入指南 2018
送信ドメイン認証 導入指南 2018Takahiko Suzuki
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentationSaqib Malik
 
CCNA CDP LLDP NTP
CCNA CDP LLDP NTP CCNA CDP LLDP NTP
CCNA CDP LLDP NTP Networkel
 
Introduction to OpenFlow
Introduction to OpenFlowIntroduction to OpenFlow
Introduction to OpenFlowJoel W. King
 
IPv6 Addressing Plan Fundamentals
IPv6 Addressing Plan FundamentalsIPv6 Addressing Plan Fundamentals
IPv6 Addressing Plan FundamentalsRIPE NCC
 
DHCP Server & Client Presentation
DHCP Server & Client PresentationDHCP Server & Client Presentation
DHCP Server & Client Presentationraini
 
FRRouting Overview and Current Status
FRRouting Overview and Current StatusFRRouting Overview and Current Status
FRRouting Overview and Current StatusAPNIC
 
Re-define network visibility for capacity planning & forecasting with Grafana
Re-define network visibility for capacity planning & forecasting with GrafanaRe-define network visibility for capacity planning & forecasting with Grafana
Re-define network visibility for capacity planning & forecasting with GrafanaBangladesh Network Operators Group
 
NAT64 and DNS64 in 30 minutes
NAT64 and DNS64 in 30 minutesNAT64 and DNS64 in 30 minutes
NAT64 and DNS64 in 30 minutesIvan Pepelnjak
 
DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)Netwax Lab
 
MPLS для чайников: основы технологии провайдеров и операторов связи
MPLS для чайников: основы технологии провайдеров и операторов связиMPLS для чайников: основы технологии провайдеров и операторов связи
MPLS для чайников: основы технологии провайдеров и операторов связиSkillFactory
 

What's hot (20)

Dcn lecture 3
Dcn lecture 3Dcn lecture 3
Dcn lecture 3
 
Trabajo de redes dhcp
Trabajo de redes dhcpTrabajo de redes dhcp
Trabajo de redes dhcp
 
Linux05 DHCP Server
Linux05 DHCP ServerLinux05 DHCP Server
Linux05 DHCP Server
 
送信ドメイン認証 導入指南 2018
送信ドメイン認証 導入指南 2018送信ドメイン認証 導入指南 2018
送信ドメイン認証 導入指南 2018
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentation
 
DHCP Protocol
DHCP ProtocolDHCP Protocol
DHCP Protocol
 
DHCP
DHCPDHCP
DHCP
 
CCNA CDP LLDP NTP
CCNA CDP LLDP NTP CCNA CDP LLDP NTP
CCNA CDP LLDP NTP
 
Bgp
BgpBgp
Bgp
 
Introduction to OpenFlow
Introduction to OpenFlowIntroduction to OpenFlow
Introduction to OpenFlow
 
IPv6 Addressing Plan Fundamentals
IPv6 Addressing Plan FundamentalsIPv6 Addressing Plan Fundamentals
IPv6 Addressing Plan Fundamentals
 
hpsr-2020-srv6-tutorial
hpsr-2020-srv6-tutorialhpsr-2020-srv6-tutorial
hpsr-2020-srv6-tutorial
 
DHCP
DHCPDHCP
DHCP
 
DHCP Server & Client Presentation
DHCP Server & Client PresentationDHCP Server & Client Presentation
DHCP Server & Client Presentation
 
FRRouting Overview and Current Status
FRRouting Overview and Current StatusFRRouting Overview and Current Status
FRRouting Overview and Current Status
 
Re-define network visibility for capacity planning & forecasting with Grafana
Re-define network visibility for capacity planning & forecasting with GrafanaRe-define network visibility for capacity planning & forecasting with Grafana
Re-define network visibility for capacity planning & forecasting with Grafana
 
NAT64 and DNS64 in 30 minutes
NAT64 and DNS64 in 30 minutesNAT64 and DNS64 in 30 minutes
NAT64 and DNS64 in 30 minutes
 
DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)
 
MPLS для чайников: основы технологии провайдеров и операторов связи
MPLS для чайников: основы технологии провайдеров и операторов связиMPLS для чайников: основы технологии провайдеров и операторов связи
MPLS для чайников: основы технологии провайдеров и операторов связи
 
Inter as vpn option c
Inter as vpn option c Inter as vpn option c
Inter as vpn option c
 

Viewers also liked

Working on internet
Working on internetWorking on internet
Working on internetOnline
 
Advantages and disadvantages solaris
Advantages and disadvantages solarisAdvantages and disadvantages solaris
Advantages and disadvantages solarisNur Shukri
 
ip addressing & routing
 ip addressing & routing ip addressing & routing
ip addressing & routingVikas Jagtap
 
domain network services (dns)
 domain network services (dns) domain network services (dns)
domain network services (dns)Vikas Jagtap
 
Network address translation pdf
Network address translation pdfNetwork address translation pdf
Network address translation pdfMadhusudhan Anand
 
Oracle Solaris 11 as a BIG Data Platform Apache Hadoop Use Case
Oracle Solaris 11 as a BIG Data Platform Apache Hadoop Use CaseOracle Solaris 11 as a BIG Data Platform Apache Hadoop Use Case
Oracle Solaris 11 as a BIG Data Platform Apache Hadoop Use CaseOrgad Kimchi
 
Network address translation
Network address translationNetwork address translation
Network address translationVarsha Honde
 
Nat presentation
Nat presentationNat presentation
Nat presentationhassoon3
 
Dhcp, dns and proxy server (1)
Dhcp, dns and proxy server (1)Dhcp, dns and proxy server (1)
Dhcp, dns and proxy server (1)Sahira Khan
 
Network configuration
Network configurationNetwork configuration
Network configurationengshemachi
 
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3OTN Systems Hub
 
Solaris Operating System
Solaris Operating SystemSolaris Operating System
Solaris Operating SystemJoshua Guillano
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basicsMahmmoud Mahdi
 
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.abhishek bhandare
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnettingcbtvid
 

Viewers also liked (20)

Dhcp ppt
Dhcp pptDhcp ppt
Dhcp ppt
 
Working on internet
Working on internetWorking on internet
Working on internet
 
Advantages and disadvantages solaris
Advantages and disadvantages solarisAdvantages and disadvantages solaris
Advantages and disadvantages solaris
 
ip addressing & routing
 ip addressing & routing ip addressing & routing
ip addressing & routing
 
domain network services (dns)
 domain network services (dns) domain network services (dns)
domain network services (dns)
 
Network address translation pdf
Network address translation pdfNetwork address translation pdf
Network address translation pdf
 
Oracle Solaris 11 as a BIG Data Platform Apache Hadoop Use Case
Oracle Solaris 11 as a BIG Data Platform Apache Hadoop Use CaseOracle Solaris 11 as a BIG Data Platform Apache Hadoop Use Case
Oracle Solaris 11 as a BIG Data Platform Apache Hadoop Use Case
 
Network address translation
Network address translationNetwork address translation
Network address translation
 
Nat
Nat Nat
Nat
 
Nat presentation
Nat presentationNat presentation
Nat presentation
 
Dhcp, dns and proxy server (1)
Dhcp, dns and proxy server (1)Dhcp, dns and proxy server (1)
Dhcp, dns and proxy server (1)
 
Network configuration
Network configurationNetwork configuration
Network configuration
 
What is Network Address Translation (NAT)
What is Network Address Translation (NAT)What is Network Address Translation (NAT)
What is Network Address Translation (NAT)
 
Oracle Solaris Overview
Oracle Solaris OverviewOracle Solaris Overview
Oracle Solaris Overview
 
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
 
Solaris Operating System
Solaris Operating SystemSolaris Operating System
Solaris Operating System
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basics
 
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 presentation
Dhcp presentationDhcp presentation
Dhcp presentation
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnetting
 

Similar to Dhcp edu

13 - DHCP Service.ppt
13 - DHCP Service.ppt13 - DHCP Service.ppt
13 - DHCP Service.pptssuserf7cd2b
 
Implementing Dynamic Host
Implementing Dynamic HostImplementing Dynamic Host
Implementing Dynamic HostNapoleon NV
 
Microsoft Offical Course 20410C_06
Microsoft Offical Course 20410C_06Microsoft Offical Course 20410C_06
Microsoft Offical Course 20410C_06gameaxt
 
Durai presentation of dhcp
Durai presentation of dhcpDurai presentation of dhcp
Durai presentation of dhcpduraimurugan89
 
Module (8) DHCP Server.pptx
Module (8) DHCP Server.pptxModule (8) DHCP Server.pptx
Module (8) DHCP Server.pptxGeorgeThoreJr
 
Dhcp server configuration
Dhcp server configurationDhcp server configuration
Dhcp server configurationUttamAgarwal9
 
Session 3 Tp 3
Session 3 Tp 3Session 3 Tp 3
Session 3 Tp 3githe26200
 
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...Vignesh kumar
 
6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCPHameda Hurmat
 

Similar to Dhcp edu (20)

13 - DHCP Service.ppt
13 - DHCP Service.ppt13 - DHCP Service.ppt
13 - DHCP Service.ppt
 
DHCP PROTOCOL
DHCP PROTOCOLDHCP PROTOCOL
DHCP PROTOCOL
 
080 DHCP
080 DHCP080 DHCP
080 DHCP
 
Implementing Dynamic Host
Implementing Dynamic HostImplementing Dynamic Host
Implementing Dynamic Host
 
Microsoft Offical Course 20410C_06
Microsoft Offical Course 20410C_06Microsoft Offical Course 20410C_06
Microsoft Offical Course 20410C_06
 
Durai presentation of dhcp
Durai presentation of dhcpDurai presentation of dhcp
Durai presentation of dhcp
 
DHCP.pptx
DHCP.pptxDHCP.pptx
DHCP.pptx
 
Wintel ppt for dhcp
Wintel ppt for dhcpWintel ppt for dhcp
Wintel ppt for dhcp
 
MTCTCE.pdf
MTCTCE.pdfMTCTCE.pdf
MTCTCE.pdf
 
Dhcp
DhcpDhcp
Dhcp
 
Dhcp
DhcpDhcp
Dhcp
 
Module (8) DHCP Server.pptx
Module (8) DHCP Server.pptxModule (8) DHCP Server.pptx
Module (8) DHCP Server.pptx
 
6421 b Module-02
6421 b Module-026421 b Module-02
6421 b Module-02
 
Dhcp server configuration
Dhcp server configurationDhcp server configuration
Dhcp server configuration
 
zuiqui_DHC.ppt
zuiqui_DHC.pptzuiqui_DHC.ppt
zuiqui_DHC.ppt
 
Session 3 Tp 3
Session 3 Tp 3Session 3 Tp 3
Session 3 Tp 3
 
162 15-768
162 15-768162 15-768
162 15-768
 
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
 
6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCP
 
Configuring a DHCP Server
Configuring a DHCP Server Configuring a DHCP Server
Configuring a DHCP Server
 

Recently uploaded

CRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptx
CRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptxCRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptx
CRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptxRishabh332761
 
LANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURE
LANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURELANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURE
LANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHUREF2081syahirahliyana
 
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证wpkuukw
 
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一uodye
 
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理uodye
 
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制uodye
 
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证wpkuukw
 
一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证
一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证
一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证wpkuukw
 
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证ehyxf
 
Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...gajnagarg
 
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证tufbav
 
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理uodye
 
Guwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime Guwahati
Guwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime GuwahatiGuwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime Guwahati
Guwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime Guwahatimeghakumariji156
 
Hilti's Latest Battery - Hire Depot.pptx
Hilti's Latest Battery - Hire Depot.pptxHilti's Latest Battery - Hire Depot.pptx
Hilti's Latest Battery - Hire Depot.pptxhiredepot6
 
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in DammamAbortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammamahmedjiabur940
 
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...samsungultra782445
 
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信oopacde
 
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一ougvy
 
怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证
怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证
怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证ehyxf
 

Recently uploaded (20)

CRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptx
CRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptxCRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptx
CRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptx
 
In Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pills
In Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pillsIn Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pills
In Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pills
 
LANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURE
LANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURELANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURE
LANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURE
 
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
 
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
 
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
 
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
 
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
 
一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证
一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证
一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证
 
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
 
Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...
 
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
 
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
 
Guwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime Guwahati
Guwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime GuwahatiGuwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime Guwahati
Guwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime Guwahati
 
Hilti's Latest Battery - Hire Depot.pptx
Hilti's Latest Battery - Hire Depot.pptxHilti's Latest Battery - Hire Depot.pptx
Hilti's Latest Battery - Hire Depot.pptx
 
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in DammamAbortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
 
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
 
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
 
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
在线制作(ANU毕业证书)澳大利亚国立大学毕业证成绩单原版一比一
 
怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证
怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证
怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证
 

Dhcp edu

  • 2. Overview of DHCP • DHCP • DHCP IP Leasing Process • Renewing an IP Address • Installing the DHCP Service • DHCP Relay Agent • Superscope Implementation 2
  • 3. Dynamic Host Configuration Protocol (DHCP) DHCP is a protocol that allows client computers to automatically receive an IP address and TCP/IP settings from a Server. Allows servers to assign or lease IP addresses to computers and other devices that are enabled as DHCP clients on the network. All DHCP messages are carried in User Datagram Protocol (UDP) datagrams using the well-known port numbers 67 (from the server) and 68 (to the client). 3
  • 4. 4 DHCP PORTS DHCP(Port-67): Bootstrap Protocol (BOOTP) Server; DHCP(Port-68): Bootstrap Protocol (BOOTP) Client; The ipconfig /all command will indicate whether the configuration came from a DHCP server computer
  • 5. 5 DHCP Settings in Client Side
  • 6. 6 DHCP Details in cmd
  • 7. 7 Leasing an IP Address • An IP address is leased during the boot process • The overall process is composed of four broadcast packets: • It will call DORA Process: • DHCPDISCOVER • DHCPOFFER • DHCPREQUEST • DHCPACK
  • 8. 8 Leasing an IP Address • 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
  • 9. 9 Four Packets In The DHCP IP Leasing Process
  • 10. 10 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. If the renewal process fails, it attempts again after 87.5% of the lease time has expired. • Renewing the lease involves the client sending a DHCP Request packet to DHCP Server
  • 11. 11 Renewing an IP Address
  • 12. More on the Renewal Process… • DHCP Client, at startup, attempts to reach the DHCP Server Server Available: • If the server is available and the lease has not yet expired, the client retains the IP address • If the server is available and the lease has expired, the client attempts to renew the lease. 12
  • 13. More on the Renewal Process… • DHCP Client, at startup, attempts to reach the DHCP Server Server Unavailable: • If the server is unavailable, the client will ping the previously assigned default gateway to determine if it’s on the same network. • If the gateway responds and the lease hasn’t expired, the 13 client retains the IP address • If the gateway doesn’t respond the client will send a DISCOVER packet to begin the lease process over
  • 14. 14 Question? • When a DHCP Server does not respond to a Client’s call for an IP Address, the client will autoconfigure itself APIPA IP. • The client selects an IP address from the 169.254.0.0 subnet • The client will attempt to contact a DHCP server using DISCOVER packets every 5 minutes • The lease duration can be any amount of time between 1 minute and 999 days, or it can be unlimited. • The default lease duration is eight days.
  • 15. 15 Installing the DHCP Service • When placing a DHCP Service on a Server in a Domain: • Install the DHCP Server Service • Authorize DHCP Server in Active Directory • Configure DHCP Server with appropriate scopes, exclusions, reservations and options • Activate the DHCP Server’s Scopes • When placing a DHCP Service on a Server in a Workgroup: • Install the DHCP Server Service • Configure DHCP Server with appropriate scopes, exclusions, reservations and options • Activate the DHCP Server’s Scopes
  • 16. 16 Authorizing the DHCP Service • A server that is a member of a domain can be authorized • During the installation of the service: the Install Wizard provides an option to authorize the server • Only members of the Enterprise Admins(win2003,win2008) group can authorize a server • A server that is a member of a workgroup(win7,xp)does not need to be authorized.
  • 17. 17 Configuring DHCP Scopes • Scope defines a range of IP addresses • Each scope is configured with: • Description- Name of Scope • Starting IP address- 192.168.1.51 • Ending IP address- 192.168.1.200 • Subnet mask- 255.255.255.0 • Exclusions • Lease duration- 8Day Reserve a range of addresses at beginning or end of range that can be used for static addresses
  • 18. 18 Configuring DHCP Scopes • Lease duration defines how long client computers are allowed to use an IP address • Default lease duration varies based on the network type and the DHCP Server version • A scope must be activated before the DHCP service can begin using it
  • 19. 19 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 • Reservations are created based on MAC addresses
  • 20. Creating DHCP Exclusions • Exclusions are IP Addresses that are within the subnet defined within the scope but that should not be assigned to a dhcp client 20
  • 21. 21 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
  • 22. 22 DHCP Relay Agent • DHCP packets cannot travel across a router • A relay agent is necessary in order to have a single DHCP server handle all leases on both network segments • This can be a Windows 2003/2008 server with DHCP Relay Agent protocol installed or a router that is configured as a relay • Relay agents receive broadcast DHCP packets and forward them as unicast packets to a DHCP server • The relay agent must be configured with the IP address of the DHCP server • The DHCP relay cannot be installed on the same server as the DHCP service
  • 23. 23 Configuring a DHCP Relay
  • 25. UNICASTING AND BROADCASTING Unicast Message: • When using unicast method, one device will send the message to exactly one destination device. If some device needs to send a message to multiple devices, it will have to send multiple unicast messages, each message addressed to a specific device. So, the sender has to send a separate message to each destination device. Broadcast Message: • The second method of sending messages is called the broadcasting. Broadcast is a packet that's sent to all devices on specific network. The destination address in the packet is the special broadcast address. If the packet has a broadcast address, all devices that receive that message will process it 25
  • 26. 26 Superscopes • Used to combine multiple scopes into a single logical scope • Allows multiple scopes to be treated as a single scope • Useful when a single physical network segment contains more than one logical subnet • If a superscope is used, then the DHCP server offers only one lease as opposed to multiple leases
  • 27. 27 Example 1: No Super scope • One physical network segment • One logical subnet (192.168.1) • One DHCP Server • Single scope is used to service all DHCP clients on Subnet A
  • 28. 28 Example 2: Superscope • One physical network segment • Multiple logical subnets • 192.168.1 • 192.168.2 • 192.168.3 • Three single scopes created and joined into one superscope • One DHCP Server services all clients on Subnet A with an IP address from the superscope • Router configured with multiple addresses to allow packets to move from one logical network to another
  • 29. 29 Example 3: Superscope Implemented across a Router • Two physical network segments: Subnet A and Subnet B • One DHCP Server • Router configured with Relay Agent • Something that will pass Discover Packets back and forth from DHCP Clients and DHCP Server
  • 30. 30 Superscope Implemented across a Router • Subnet A: • One physical segment • One logical subnet (192.168.1) • One single scope defined • DHCP server distributes addresses to clients on Subnet A using addresses in single scope • Subnet B: • One physical segment • Two logical subnets (192.168.2 & 192.168.3) • Two single scopes defined and joined into one Superscope • DHCP server distributes address to clients on Subnet B using addresses in superscope
  • 31. Saving and Restoring DHCP Configuration • DHCP Server configurations can be saved to a file • These saved settings can then be used to restore the server to a known state OR to use the same settings on another server • To save the configuration : • To restore the configuration: 31
  • 32. Advantages & Disadvantages Advantages: • To implement DHCP requires no additional costs. • Duplicated IP addresses are prevented • Reduces the amount of time you spend configuring computers on your network • DHCP servers only allocate IP addresses to clients when they request them. Disadvantages: • The DHCP server can be a single point of failure in networking environments that only have one DHCP server. • Place a DHCP relay agent on each segment • Configure routers to forward Bootstrap Protocol (BootP) broadcasts. 32
  • 33. 33 Conflict Detection • Using DHCP does not prevent static IP configuration • A DHCP server may hand out an IP address that was already statically assigned • Conflict detection prevents a DHCP server from creating IP address conflicts • A DHCP server pings an IP address before it is leased to a client computer