SlideShare a Scribd company logo
DHCP …and how it works
Overview Introduction Basics Case - We play DHCP Server Problems  Tasks Solutions Apply what you've learned Conclusion
Basics D ynamic  H ost  C onfiguration  P rotocol Standard protocol Defined by RFC 1541 (superseded by RFC 2131) Created by the  Host Configuration Working Group  of the  I nternet  E ngineering  T ask  F orce (IETF)
Basics Runs over UDP Utilizing ports: 67 – connections to server 68 – connections to client Extension of BOOTP (protocol used for simple interaction) Uses client–server model
Case Got a network Want to add new clients DHCP-Server doesn’t work How do clients get their: IP Address -or-  network configuration parameters (Subnet Mask, Default Gateway, DNS and WINS) Need replacement!!
Case - Theory 1 st  implementation goal of a DHCP Server support of dynamic allocation of Network Addresses  chooses and allocates an IP address  gives network configuration parameters to the client
Case - Theory Need 2 databases Address Pool  is the database which holds IP addresses and other network configuration parameters  Binding database  keeps mapping between an Ethernet address and Address Pool entries
Case - Theory All interactions are initiated by a client Server only replies “obtain an IP address automatically” in NW options configuring the host to the network is done by a simple handshake
Case – in practice Client broadcasts DHCPDISCOVER  One or more servers return DHCPOFFER with available Address and NW Information Clients chooses one offer that it likes best  broadcasts DHCPREQUEST to identify chosen Server/lease DHCPREQUEST also to renew lease
Case - in practice Server sends DHCPACK Lease is finalized Client starts using IP DHCPNAK Client resumes from DHCPDISCOVER point If client doesn’t want IP - DHCPDECLINE is sent DHCPRELEASE gives IP back into pool
Case - Theory Static/Manual allocation   Server allocates IP chosen by the Admin Server configuration includes IP-Address -and- MAC-Address for every client DHCP only used to convey assigned address to client
Case - Theory Automatic allocation IP address is permanently associated with a MAC address till administrator intervenes the infinite lease Dynamic allocation Like Automatic allocation Except: server tracks leases give IP addresses whose lease has expired to other DHCP clients end
Case - Theory Client is responsible to renew/release IP Lease timestamps: Total lease duration  T1 (0.5 * duration_of_lease)  client enters the RENEWING state  contacts the server that originally issued network address T2 (0.875 * duration_of_lease)  client enters the REBINDING state  attempts to contact any server
Case - Theory Lease duration Client holds IP when not connected Clients retire Servers/Databases should have constant IP´s Analyze the NW Often changing clients? Servers/databases? Enough IP Addresses available?
Case - Theory By using the fitting Methods… implementation goals 2-4 of a DHCP Server… server should be able to recycle the IP address when the lease period is expired A network administrator should not configure each client/user interaction of each client should not be required.  support of static allocation and an infinite lease  … can also be realized!!!!
Case - in practice Servers: WEB-Server 192.168.1.1 Access Point 192.168.1.2 Lecturers via Ethernet: Range from .100 to .102 Students via WLAN: Range from .200 to .230 back
Conclusion Insecurity of UDP Broadcast of messages Risk of wrong configuration causing High traffic Waste of IP Addresses A lot more work than expected  Detailed and precise analysis before implementation needed
Conclusion works well if you have to manage a lot of mobile users:  people with laptops working in and out of the office hosts coming and going with a great amount of frequency perfect when Network parameters have changed only one point you have to work at sharing a limited pool of IP addresses  Mixture of allocation types can be used
Conclusion Thank you for your attention    …any questions??
Refrences RFC 2131,  Dynamic Host Configuration Protocol RFC 2322, Management of IP numbers by peg-dhcp  www.ietf.org ,  I nternet  E ngineering  T ask  F orce  www.microsoft.com , Microsoft Knowledge Base Article - 169289

More Related Content

What's hot (20)

PPSX
Lesson 6: Dynamic Host Configuration Protocol A
Mahmmoud Mahdi
 
PPT
Dhcp presentation
Saqib Malik
 
PPT
Internet control message protocol
asimnawaz54
 
PPTX
CCNA PPT
AIRTEL
 
PPT
Domain name service
ishapadhy
 
PPT
Dns
Sanoj Kumar
 
PPT
Configuration DHCP
Tan Huynh Cong
 
PPT
Domain name system
Diwaker Pant
 
PPT
Address resolution protocol
asimnawaz54
 
PPTX
DNS Presentation
Shubham Srivastava
 
PPT
DHCP
Nitin Bhasin
 
PPT
Ipv4 vs Ipv6 comparison
Shailesh Pachori
 
PPTX
DHCP & DNS
NetProtocol Xpert
 
PDF
DHCP (dynamic host configuration protocol)
Netwax Lab
 
PPT
Domain Name System
ABDUL GAFOOR K V
 
PDF
Presentation on Domain Name System
Chinmay Joshi
 
PDF
Intro to DNS
ThousandEyes
 
PPTX
Bgp protocol
Smriti Tikoo
 
PPT
DHCP
Kashif Latif
 
PDF
DNS (Domain Name System)
Shashidhara Vyakaranal
 
Lesson 6: Dynamic Host Configuration Protocol A
Mahmmoud Mahdi
 
Dhcp presentation
Saqib Malik
 
Internet control message protocol
asimnawaz54
 
CCNA PPT
AIRTEL
 
Domain name service
ishapadhy
 
Configuration DHCP
Tan Huynh Cong
 
Domain name system
Diwaker Pant
 
Address resolution protocol
asimnawaz54
 
DNS Presentation
Shubham Srivastava
 
Ipv4 vs Ipv6 comparison
Shailesh Pachori
 
DHCP & DNS
NetProtocol Xpert
 
DHCP (dynamic host configuration protocol)
Netwax Lab
 
Domain Name System
ABDUL GAFOOR K V
 
Presentation on Domain Name System
Chinmay Joshi
 
Intro to DNS
ThousandEyes
 
Bgp protocol
Smriti Tikoo
 
DNS (Domain Name System)
Shashidhara Vyakaranal
 

Viewers also liked (10)

PPT
Moac291 Week02
guestd2761d
 
PPT
How-To: Manage DHCP Servers with SolarWinds IP Address Manager
SolarWinds
 
PPTX
Routing
Suryaprakash Nehra
 
PPT
Rajesh basics of networking and routing
r123027
 
PPTX
Bellman ford Algorithm
taimurkhan803
 
PPT
Dynamic Host Configuration Protocol
gueste98b36
 
PPT
Routing in Manet
shiujinghan
 
PPTX
Basics about IP address, DNS and DHCP.
abhishek bhandare
 
PPTX
Ipv6
satish 486
 
Moac291 Week02
guestd2761d
 
How-To: Manage DHCP Servers with SolarWinds IP Address Manager
SolarWinds
 
Rajesh basics of networking and routing
r123027
 
Bellman ford Algorithm
taimurkhan803
 
Dynamic Host Configuration Protocol
gueste98b36
 
Routing in Manet
shiujinghan
 
Basics about IP address, DNS and DHCP.
abhishek bhandare
 
Ad

Similar to Dhcp presentation 01 (20)

PPT
080 DHCP
VIPAL PATEL
 
PDF
DYNAMIC HOST CONFIGURATION PROTOCOL
VENKATESHAN A S
 
PDF
14047721
VENKATESHAN A S
 
PPT
13 - DHCP Service.ppt
ssuserf7cd2b
 
PPT
Dhcp by lalit bhati
Lalit Bhati
 
PDF
DHCP in windows server 2012
Abaady Sahal
 
PPT
zuiqui_DHC.ppt
KushalAsodia
 
PPTX
DHCP (Dynamic Host Configuration Protocol)
Faisal Jatt
 
PPTX
PACE-IT: DHCP in the Network - N10 006
Pace IT at Edmonds Community College
 
PPTX
dhcpppt-130331044148-phpapp02.pptx
KushalAsodia
 
PPTX
dynamichost configuration protocol
rajisri2
 
PPS
Linux05 DHCP Server
Jainul Musani
 
PDF
Investigation of dhcp packets using wireshark
jpratt59
 
DOCX
Networking DHCP server Setup Reports
Jiaul Hasan Jony
 
DOCX
DHCP Server Guaidlines using CISCO PACKET TRACER
COMSATS Institute of Information Technology
 
PPT
Zoran - 70-216 DHCP.ppt
IggiePoppins
 
PPT
DHCP
ssusered887b
 
PPT
DHCP sever configration in computer .ppt
imranahmadrana28
 
PPTX
Dhcp
lyndyv
 
080 DHCP
VIPAL PATEL
 
DYNAMIC HOST CONFIGURATION PROTOCOL
VENKATESHAN A S
 
14047721
VENKATESHAN A S
 
13 - DHCP Service.ppt
ssuserf7cd2b
 
Dhcp by lalit bhati
Lalit Bhati
 
DHCP in windows server 2012
Abaady Sahal
 
zuiqui_DHC.ppt
KushalAsodia
 
DHCP (Dynamic Host Configuration Protocol)
Faisal Jatt
 
PACE-IT: DHCP in the Network - N10 006
Pace IT at Edmonds Community College
 
dhcpppt-130331044148-phpapp02.pptx
KushalAsodia
 
dynamichost configuration protocol
rajisri2
 
Linux05 DHCP Server
Jainul Musani
 
Investigation of dhcp packets using wireshark
jpratt59
 
Networking DHCP server Setup Reports
Jiaul Hasan Jony
 
DHCP Server Guaidlines using CISCO PACKET TRACER
COMSATS Institute of Information Technology
 
Zoran - 70-216 DHCP.ppt
IggiePoppins
 
DHCP sever configration in computer .ppt
imranahmadrana28
 
Dhcp
lyndyv
 
Ad

Recently uploaded (20)

PPTX
Cybersecurity: How to Protect your Digital World from Hackers
vaidikpanda4
 
PPTX
YSPH VMOC Special Report - Measles Outbreak Southwest US 7-20-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
PDF
Tips for Writing the Research Title with Examples
Thelma Villaflores
 
PPTX
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
PPTX
Basics and rules of probability with real-life uses
ravatkaran694
 
PPTX
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
PPTX
Introduction to Probability(basic) .pptx
purohitanuj034
 
PPTX
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PPTX
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
Celine George
 
PPTX
Unlock the Power of Cursor AI: MuleSoft Integrations
Veera Pallapu
 
PPTX
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
PPTX
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
DOCX
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
PPTX
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
PDF
John Keats introduction and list of his important works
vatsalacpr
 
PPTX
ENGLISH 8 WEEK 3 Q1 - Analyzing the linguistic, historical, andor biographica...
OliverOllet
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
Cybersecurity: How to Protect your Digital World from Hackers
vaidikpanda4
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 7-20-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Tips for Writing the Research Title with Examples
Thelma Villaflores
 
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
Basics and rules of probability with real-life uses
ravatkaran694
 
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
Introduction to Probability(basic) .pptx
purohitanuj034
 
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
Celine George
 
Unlock the Power of Cursor AI: MuleSoft Integrations
Veera Pallapu
 
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
John Keats introduction and list of his important works
vatsalacpr
 
ENGLISH 8 WEEK 3 Q1 - Analyzing the linguistic, historical, andor biographica...
OliverOllet
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 

Dhcp presentation 01

  • 1. DHCP …and how it works
  • 2. Overview Introduction Basics Case - We play DHCP Server Problems Tasks Solutions Apply what you've learned Conclusion
  • 3. Basics D ynamic H ost C onfiguration P rotocol Standard protocol Defined by RFC 1541 (superseded by RFC 2131) Created by the Host Configuration Working Group of the I nternet E ngineering T ask F orce (IETF)
  • 4. Basics Runs over UDP Utilizing ports: 67 – connections to server 68 – connections to client Extension of BOOTP (protocol used for simple interaction) Uses client–server model
  • 5. Case Got a network Want to add new clients DHCP-Server doesn’t work How do clients get their: IP Address -or- network configuration parameters (Subnet Mask, Default Gateway, DNS and WINS) Need replacement!!
  • 6. Case - Theory 1 st implementation goal of a DHCP Server support of dynamic allocation of Network Addresses chooses and allocates an IP address gives network configuration parameters to the client
  • 7. Case - Theory Need 2 databases Address Pool is the database which holds IP addresses and other network configuration parameters Binding database keeps mapping between an Ethernet address and Address Pool entries
  • 8. Case - Theory All interactions are initiated by a client Server only replies “obtain an IP address automatically” in NW options configuring the host to the network is done by a simple handshake
  • 9. Case – in practice Client broadcasts DHCPDISCOVER One or more servers return DHCPOFFER with available Address and NW Information Clients chooses one offer that it likes best broadcasts DHCPREQUEST to identify chosen Server/lease DHCPREQUEST also to renew lease
  • 10. Case - in practice Server sends DHCPACK Lease is finalized Client starts using IP DHCPNAK Client resumes from DHCPDISCOVER point If client doesn’t want IP - DHCPDECLINE is sent DHCPRELEASE gives IP back into pool
  • 11. Case - Theory Static/Manual allocation Server allocates IP chosen by the Admin Server configuration includes IP-Address -and- MAC-Address for every client DHCP only used to convey assigned address to client
  • 12. Case - Theory Automatic allocation IP address is permanently associated with a MAC address till administrator intervenes the infinite lease Dynamic allocation Like Automatic allocation Except: server tracks leases give IP addresses whose lease has expired to other DHCP clients end
  • 13. Case - Theory Client is responsible to renew/release IP Lease timestamps: Total lease duration T1 (0.5 * duration_of_lease) client enters the RENEWING state contacts the server that originally issued network address T2 (0.875 * duration_of_lease) client enters the REBINDING state attempts to contact any server
  • 14. Case - Theory Lease duration Client holds IP when not connected Clients retire Servers/Databases should have constant IP´s Analyze the NW Often changing clients? Servers/databases? Enough IP Addresses available?
  • 15. Case - Theory By using the fitting Methods… implementation goals 2-4 of a DHCP Server… server should be able to recycle the IP address when the lease period is expired A network administrator should not configure each client/user interaction of each client should not be required. support of static allocation and an infinite lease … can also be realized!!!!
  • 16. Case - in practice Servers: WEB-Server 192.168.1.1 Access Point 192.168.1.2 Lecturers via Ethernet: Range from .100 to .102 Students via WLAN: Range from .200 to .230 back
  • 17. Conclusion Insecurity of UDP Broadcast of messages Risk of wrong configuration causing High traffic Waste of IP Addresses A lot more work than expected Detailed and precise analysis before implementation needed
  • 18. Conclusion works well if you have to manage a lot of mobile users: people with laptops working in and out of the office hosts coming and going with a great amount of frequency perfect when Network parameters have changed only one point you have to work at sharing a limited pool of IP addresses Mixture of allocation types can be used
  • 19. Conclusion Thank you for your attention …any questions??
  • 20. Refrences RFC 2131, Dynamic Host Configuration Protocol RFC 2322, Management of IP numbers by peg-dhcp www.ietf.org , I nternet E ngineering T ask F orce www.microsoft.com , Microsoft Knowledge Base Article - 169289

Editor's Notes

  • #8: a peg is a 'token' and represents one IP-number, therefore making the status of the IP-number (allocated or not allocated) visible