Dynamic Host Configuration Protocol(DHCP)
Objectives <ul><li>What is DHCP? </li></ul><ul><li>Describe the DHCP lease and renewal process </li></ul><ul><li>Install a...
What is DHCP? <ul><li>It stands for Dynamic Host  Configuration Protocol </li></ul><ul><li>DHCP automatically assign the I...
How to assign IP address to a computer?
Leasing an IP Address <ul><li>An IP address is leased during the boot process </li></ul><ul><li>Default lease period is 8 ...
DORA  Process <ul><li>DORA  process  means  </li></ul><ul><ul><li>DHCP DISCOVER </li></ul></ul><ul><ul><li>DHCP OFFER </li...
Simple network DHCP server discover DHCP server offer DHCP request DHCP acknowledge DHCP protocol is a mainly 4-step proce...
Renewing an IP Address <ul><li>The IP address can either be permanent or timed </li></ul><ul><li>A permanent address is ne...
Renewing an IP Address (continued)
Installation of DHCP <ul><li>Install DHCP on Windows Server 2003 </li></ul><ul><li>Make sure your network connection is st...
Installing DHCP service
Authorizing the DHCP Service
Authorizing the DHCP Service <ul><li>Unauthorized DHCP servers can hand out bad information </li></ul><ul><li>DHCP will no...
Creating a Scope <ul><li>Create a scope to distribute IP addresses to client computers </li></ul><ul><li>Manually enter th...
Configuring DHCP Scope <ul><li>Scope is a range of IP address  </li></ul><ul><li>Each scope is configured with: </li></ul>...
Configuring DHCP Scope
Types of Scope <ul><ul><li>Super Scopes </li></ul></ul><ul><ul><li>Multicast Scopes </li></ul></ul>
Super scopes <ul><li>It is a collection of individual scope </li></ul><ul><li>Combine two scopes into a single logical uni...
Super scopes
Multicast scopes  <ul><li>It is used to deliver multicast address to a group of computers  </li></ul><ul><li>It is defined...
Creating DHCP Reservations <ul><li>Reservations are   used to hand out a specific IP address to a particular client </li><...
Configuring Relay agents <ul><li>DHCP packets cannot travel across a router </li></ul><ul><li>A relay agent   is necessary...
Example with Relay Agent 123.45.67.8 Router Internet Relay agent Router 67 UDP Broadcast Source123.45.67.8 Destination : 1...
Advantage  <ul><ul><li>It minimize the administrative burden </li></ul></ul><ul><ul><li>There is no chance to conflict IP ...
Upcoming SlideShare
Loading in …5
×

Durai presentation of dhcp

1,032 views

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,032
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
36
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Durai presentation of dhcp

  1. 1. Dynamic Host Configuration Protocol(DHCP)
  2. 2. Objectives <ul><li>What is DHCP? </li></ul><ul><li>Describe the DHCP lease and renewal process </li></ul><ul><li>Install and authorize the DHCP service </li></ul><ul><li>Configure DHCP scopes </li></ul><ul><li>Create DHCP reservations for client computers </li></ul><ul><li>Configure DHCP options </li></ul><ul><li>Understand and describe the purpose of a DHCP relay </li></ul><ul><li>Install and configure a DHCP relay </li></ul>
  3. 3. What is DHCP? <ul><li>It stands for Dynamic Host Configuration Protocol </li></ul><ul><li>DHCP automatically assign the IP address to the computer </li></ul><ul><li>The ipconfig /all command will indicate whether the configuration came from a DHCP server computer </li></ul>
  4. 4. How to assign IP address to a computer?
  5. 5. Leasing an IP Address <ul><li>An IP address is leased during the boot process </li></ul><ul><li>Default lease period is 8 days </li></ul><ul><li>Maximum lease period is 999 days </li></ul><ul><li>Leasing an IP address is performed by DORA process </li></ul>
  6. 6. DORA Process <ul><li>DORA process means </li></ul><ul><ul><li>DHCP DISCOVER </li></ul></ul><ul><ul><li>DHCP OFFER </li></ul></ul><ul><ul><li>DHCP REQUEST </li></ul></ul><ul><ul><li>DHCP ACK </li></ul></ul>
  7. 7. Simple network DHCP server discover DHCP server offer DHCP request DHCP acknowledge DHCP protocol is a mainly 4-step process: DHCP Server DHCP Clients Hello Mr. Server, I need to connect to the Internet, could you be kind to hook me up with an IP address? Ok dude, I got some in my pool of address, I lend you it. Check it out? Your IP : 123.45.78.6 Thank you Mr. Server, I like your offer. I will use it. You’re welcome, here is your configuration but it’s only for 3 days. Router Internet DHCP Server UDP Port 68 UDP Port 68 UDP Port 68 UDP Port 67 DHCP Clients Broadcast Unicast
  8. 8. Renewing an IP Address <ul><li>The IP address can either be permanent or timed </li></ul><ul><li>A permanent address is never reused for another client </li></ul><ul><li>Timed leases expire after a certain amount of time </li></ul><ul><li>Windows clients attempt to renew their lease after 50% of the lease time has expired </li></ul><ul><li>A DHCP server may either honor or reject a renew request </li></ul>
  9. 9. Renewing an IP Address (continued)
  10. 10. Installation of DHCP <ul><li>Install DHCP on Windows Server 2003 </li></ul><ul><li>Make sure your network connection is statically configured </li></ul><ul><li>Install the service using the Add/Remove Windows Components utility </li></ul>
  11. 11. Installing DHCP service
  12. 12. Authorizing the DHCP Service
  13. 13. Authorizing the DHCP Service <ul><li>Unauthorized DHCP servers can hand out bad information </li></ul><ul><li>DHCP will not start unless authorized </li></ul><ul><li>If Active Directory is used, authorization takes place in Active Directory </li></ul><ul><li>DHCP servers are automatically authorized under certain conditions </li></ul>
  14. 14. Creating a Scope <ul><li>Create a scope to distribute IP addresses to client computers </li></ul><ul><li>Manually enter the IP configuration settings as directed by the text </li></ul><ul><li>Create a new scope using the configuration settings provided </li></ul>
  15. 15. Configuring DHCP Scope <ul><li>Scope is a range of IP address </li></ul><ul><li>Each scope is configured with: </li></ul><ul><ul><li>Description </li></ul></ul><ul><ul><li>Starting IP address </li></ul></ul><ul><ul><li>Ending IP address </li></ul></ul><ul><ul><li>Subnet mask </li></ul></ul><ul><ul><li>Exclusions Range </li></ul></ul><ul><ul><li>Lease duration </li></ul></ul>
  16. 16. Configuring DHCP Scope
  17. 17. Types of Scope <ul><ul><li>Super Scopes </li></ul></ul><ul><ul><li>Multicast Scopes </li></ul></ul>
  18. 18. Super scopes <ul><li>It is a collection of individual scope </li></ul><ul><li>Combine two scopes into a single logical unit using a super scopes </li></ul><ul><li>First, create a second scope in addition to the scope already created in a previous activity </li></ul><ul><li>Create a super scopes to encompass the two scopes </li></ul><ul><li>Use the DHCP snap-in for this activity </li></ul>
  19. 19. Super scopes
  20. 20. Multicast scopes <ul><li>It is used to deliver multicast address to a group of computers </li></ul><ul><li>It is defined by using the following parameters </li></ul><ul><ul><ul><li>Starting IP address </li></ul></ul></ul><ul><ul><ul><li>Ending IP address </li></ul></ul></ul><ul><ul><ul><li>TTL </li></ul></ul></ul><ul><ul><ul><li>Exclusions </li></ul></ul></ul><ul><ul><ul><li>Lease duration </li></ul></ul></ul>
  21. 21. Creating DHCP Reservations <ul><li>Reservations are used to hand out a specific IP address to a particular client </li></ul><ul><li>Reservations are created based on MAC addresses </li></ul>
  22. 22. Configuring Relay agents <ul><li>DHCP packets cannot travel across a router </li></ul><ul><li>A relay agent is necessary in order to have a single DHCP server handle all leases </li></ul><ul><li>Relay agents receive broadcast DHCP packets and forward them as unicast packets to a DHCP server </li></ul><ul><li>The DHCP relay cannot be installed on the same server as the DHCP service </li></ul>
  23. 23. Example with Relay Agent 123.45.67.8 Router Internet Relay agent Router 67 UDP Broadcast Source123.45.67.8 Destination : 1.1.1.1 Client IP : 123.45.68.7 DHCPOFFER Broadcast Source : 0.0.0.0 Destination : 1.1.1.1 DHCPDISCOVER Unicas t Source : 123.45.67.8 Destination : 123.45.55. 3 Unicas t Source : 123.45.67.8 Destination : 123.45.55. 3 DHCP Server 123.45.55.3 Unicas t Source : 123.45.67.8 Destination : 123.45.55. 3 Client IP: 123.45.68.7 DHCPOFFER Unicas t Source : 123.45.53 Destination : 123.45.68 Client IP : 123.45.68.7 New DHCP Client 68 UDP
  24. 24. Advantage <ul><ul><li>It minimize the administrative burden </li></ul></ul><ul><ul><li>There is no chance to conflict IP address </li></ul></ul><ul><ul><li>It supports multiple scope like multicast scope and super scope </li></ul></ul><ul><ul><li>Disadvantage </li></ul></ul><ul><ul><ul><li>The machine name does not change when you get a new IP address </li></ul></ul></ul><ul><ul><ul><li>When DHCP server is unavailable client unable to access the network </li></ul></ul></ul>

×