• Save
DHCP
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

DHCP

on

  • 473 views

 

Statistics

Views

Total Views
473
Views on SlideShare
473
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

DHCP Presentation Transcript

  • 1. 70-291: MCSE Guide toManaging a Microsoft WindowsServer 2003 NetworkChapter 4: Dynamic HostConfiguration Protocol
  • 2. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 2Objectives• 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 DHCPrelay• Install and configure a DHCP relay
  • 3. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 3DHCP Overview• Used to automatically deliver IP addressing• Reduces the amount of time you spend configuringcomputers on your network• Used by default unless you specify otherwise• The ipconfig /all command will indicate whether theconfiguration came from a DHCP server computer
  • 4. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 4DHCP Overview (continued)
  • 5. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 5DHCP Overview (continued)
  • 6. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 6Leasing an IP Address• An IP address is leased during the boot process• The overall process is composed of four broadcastpackets:• DHCPDISCOVER• DHCPOFFER• DHCPREQUEST• DHCPACK
  • 7. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 7Leasing an IP Address(continued)• Any DHCP server that receives the DHCPDISCOVERpacket responds with a DHCPOFFER packet• The DHCP client responds to the DHCPOFFERpacket it receives with a DHCPREQUEST packet• A DHCPACK packet indicates confirmation that theclient can use the lease• Once DHCPACK is received, the client can start usingthe IP address and options in the lease
  • 8. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 8Leasing an IP Address(continued)
  • 9. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 9Renewing an IP Address• The IP address can either be permanent or timed• A permanent address is never reused for anotherclient• Timed leases expire after a certain amount of time• Windows clients attempt to renew their lease after50% of the lease time has expired• A DHCP server may either honor or reject a renewrequest
  • 10. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 10Renewing an IP Address(continued)
  • 11. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 11Installing and Authorizing theDHCP Service• A DHCP service must be authorized after installation
  • 12. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 12Installing 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. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 13Installing the DHCP Service(continued)
  • 14. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 14Activity 4-1: Installing DHCP• Objective: Install DHCP on Windows Server 2003• Make sure your network connection is staticallyconfigured• Install the service using the Add/Remove WindowsComponents utility
  • 15. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 15Authorizing the DHCP Service• Unauthorized DHCP servers can hand out badinformation• DHCP will not start unless authorized• If Active Directory is used, authorization takes placein Active Directory• DHCP servers are automatically authorized undercertain conditions
  • 16. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 16Authorizing the DHCP Service(continued)
  • 17. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 17Authorizing the DHCP Service(continued)
  • 18. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 18Activity 4-2:Starting an Authorized DHCPServer• Objective: View the results of starting a DHCP serverthat does not participate in an Active Directorydomain• Check to make sure the service is running• Check out any relevant events using the System Log
  • 19. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 19Activity 4-3:Installing the Active DirectoryService• Objective: Install the Active Directory service onyour computer and participate in an Active Directorydomain• Use the dcpromo utility• Select “domain controller for a new domain”• Select “domain in a new forest”• Continue through the resulting dialogs
  • 20. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 20Activity 4-4:Starting an Unauthorized DHCPServer• Objective: View the results of starting an unauthorizedDHCP server• View the System Log to see the result of starting anunauthorized DHCP server
  • 21. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 21Activity 4-5:Authorizing a DHCP Server• Objective: Authorize a DHCP server in ActiveDirectory• Go to the DHCP snap-in and choose the activateoption
  • 22. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 22Configuring 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 andending IP addresses• Allow all and exempt the few static addresses• Use only the addresses not already in use
  • 23. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 23Configuring DHCP Scopes(continued)
  • 24. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 24Configuring DHCP Scopes(continued)• Exclusions are used to prevent some IP addressesfrom being handed out dynamically• Lease duration defines how long client computers areallowed to use an IP address• Default lease duration is eight days• A scope must be activated before the DHCP servicecan begin using it
  • 25. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 25Activity 4-6: Creating a Scope• Objective: Create a scope to distribute IP addresses toclient computers• Manually enter the IP configuration settings asdirected by the text• Create a new scope using the configuration settingsprovided
  • 26. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 26Activity 4-7:Activating and Testing a Scope• Objective: Activate a DHCP scope, and then test itwith a partner• One person will activate the scope created in theprevious activity• Another person will try to obtain an automatic IPaddress from the server
  • 27. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 27Superscopes• Used to combine multiple scopes into a single logicalscope• Allows multiple scopes to be treated as a single scope• If a superscope is used, then the DHCP server offersonly one lease as opposed to multiple leases
  • 28. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 28Superscopes (continued)
  • 29. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 29Activity 4-8:Configuring a Superscope• Objective: Combine two scopes into a single logicalunit using a superscope• First, create a second scope in addition to the scopealready created in a previous activity• Create a superscope to encompass the two scopes• Use the DHCP snap-in for this activity
  • 30. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 30Activity 4-9:Deleting a Superscope• Objective: Delete a superscope, leaving each scopeindependent• Make sure you delete the superscope without deletingthe subscopes
  • 31. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 31Multicast Scopes• Used to deliver multicast addresses to applicationsthat require it• Multicast addresses are used to deliver packets togroups of computers• Start and end IP addresses define the range ofaddresses that can be handed out by DHCP servers• TTL defines the number of routers through which amulticast packet can move
  • 32. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 32Multicast Scopes (continued)• Exclusions define addresses that should not behanded out• Lease duration defines the length of time that anapplication can use a multicast address• Default lease length is 30 days
  • 33. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 33Activity 4-10:Creating a Multicast Scope• Objective: Create a multicast scope to delivermulticast addresses to applications• Setting up a multicast scope is very similar to settingup any other scope• Set the scope configuration to that specified in thetext
  • 34. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 34Activity 4-11:Deleting a Multicast Scope• Objective: Delete a multicast scope• Right click on the scope and issue the delete command
  • 35. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 35Creating DHCP Reservations• Reservations are used to hand out a specific IPaddress to a particular client• Useful when delivering IP addresses to devices thatwould normally use static addresses• Can also be beneficial when firewalls are in place• Reservations are created based on MAC addresses
  • 36. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 36Creating DHCP Reservations(continued)
  • 37. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 37Activity 4-12:Creating and Testing aReservation• Objective: Create a DHCP reservation, and test itwith a client• Configure the server to reserve an IP address for aclient machine• Test to see if the client machine picks up the reservedaddress
  • 38. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 38Configuring DHCP Options• DHCP can hand out a variety of other IP configurationoptions• It is common that all workstations within an entireorganization use the same DNS servers• DNS is often configured at the server level
  • 39. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 39Configuring DHCP Options(continued)
  • 40. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 40Configuring DHCP Options(continued)
  • 41. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 41Activity 4-13:Setting Server Options• Objective: Set the DNS server option for a DHCPserver• Check 006 DNS servers option• Add the IP address x.0.0.250
  • 42. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 42Activity 4-14:Setting Scope Options• Objective: Set the default gateway in the scopeoptions• Use the DHCP snap-in to complete this activity
  • 43. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 43Activity 4-15:Testing Server & Scope Options• Objective: Activate a DHCP scope, and then test itwith a partner to ensure that scope options are handedout• Activate a DHCP scope• Configure a client to access the server• Check the default gateway and DNS settings to findout whether or not the configurations entered inprevious activities were done correctly
  • 44. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 44Vendor and User Classes• Used to differentiate between clients within a scope• Vendor classes are based on the operating system• User classes are defined based on networkconnectivity or the administrator• You can use the ipconfig /setclassid command to setthe DHCP user class ID
  • 45. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 45Vendor and User Classes(continued)
  • 46. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 46Vendor and User Classes(continued)
  • 47. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 47Configuring a DHCP Relay• DHCP packets cannot travel across a router• A relay agent is necessary in order to have a singleDHCP server handle all leases• Relay agents receive broadcast DHCP packets andforward them as unicast packets to a DHCP server• The DHCP relay cannot be installed on the sameserver as the DHCP service
  • 48. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 48Configuring a DHCP Relay(continued)
  • 49. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 49Configuring a DHCP Relay(continued)
  • 50. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 50Activity 4-16:Configuring a DHCP Relay• Objective: Uninstall the DHCP service from yourcomputer and configure it as a DHCP relay• Uninstall the DHCP service• Configure the computer as a relay by using theRouting and Remote Access tool provided inWindows
  • 51. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 51Summary• DHCP dynamically assigns IP address information to clientson 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%, and100% of the lease time• The commands ipconfig /release and ipconfig /renew can beused to release and renew DHCP leases
  • 52. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 52Summary (continued)• If the Active Directory service is present on yournetwork, each DHCP server must be authorized inActive Directory to lease addresses to clients• A scope defines a range of IP addresses that areleased to clients• A superscope combines two scopes into a singlelogical unit to service network segments with twosubnets
  • 53. 70-291: MCSE Guide to Managing a Microsoft Windows Server Network 53Summary (continued)• An exclusion in a scope can stop a DHCP server fromhanding out specific addresses• A reservation allows you to give a specificworkstation a defined IP address by tying the DHCPlease to the MAC address of the client• Vendor and user classes can be used to configuresome client computers with different options,depending on the class to which they belong• A DHCP relay agent is required on each network thatrequires IP configuration from a DHCP server acrossa router