300 likes | 466 Views
Lesson 32. Dynamic Host Configuration Protocol (DHCP). Objectives. At the end of this Presentation, you will be able to:. Explain the purpose of DHCP/Bootp. Predict the impact of modifying, adding , or removing DHCP services on resources and users.
E N D
Objectives At the end of this Presentation, you will be able to:
Explain the purpose of DHCP/Bootp. Predict the impact of modifying, adding , or removing DHCP services on resources and users. Given a network configuration, select the appropriate configuration settings for DHCP.
Network+ Domains covered: 2.10 3.11 4.6
IP Address Default Gateway Subnet Mask
Dynamic Host Configuration Protocol (DHCP)and Bootstrap Protocol (BOOTP)
Dynamic vs. Static IP Addresses Static IP Address – Never changes. Dynamic IP Address – The server assigns an IP address each time a client logs on to the network.
Dynamic Host Configuration Protocol (DHCP) Implemented in the Server. Hands out IP addresses as needed. Keeps track of which IP addresses are being used. Returns addresses to the pool when no longer in use.
The DHCP server provides: IP Address Subnet Mask Default Gateway Address DNS Server Address WINS Server Address Optional
DHCP Server Requirements: A static IP address, subnet mask, and other TCP/IP parameters. That is, the DHCP server can not provide its own TCP/IP parameters. The DHCP Service must be installed. The TCP/IP parameters to be doled out must be specified. This is called the scope. Once created the scope must also be activated. Finally, it must be authorized to act as the DHCP server.
The DHCP Process When a client boots-up, it broadcasts a request for an IP address from the DHCP server. The DHCP server responds with a broadcast of the offer of an IP address and subnet mask.
The DHCP Process (Continued) The client receives the offer and responds with a message saying: “Yes, sign me up for that one.” The DHCP server responds with a message saying: “Okay, you got it.” It also includes any additional TCP/IP configuration information such as Default Gateway, DNS address, WINS server address, etc.
The DHCP Lease The allocation of TCP/IP parameters is called a lease. The length of the lease is set in the scope. Leases periodically expire and must be renewed. Clients automatically attempt to renew their leases well before the lease expires.
Renewing and Releasing the Lease Use the IPCONFIG command IPCONFIG is a TCP/IP utility that is executed from the command line prompt. IPCONFIG /RENEW IPCONFIG /RELEASE
Segment 1 DHCP Server Router DHCP Server Segment 2
Segment 1 Router with DHCP forwarding DHCP Server Segment 2
Segment 1 Router with DHCP forwarding DHCP Server 1 Segment 2
Segment 1 DHCP Server 2 Router with DHCP forwarding Segment 2
Segment 1 Router with DHCP forwarding 3 DHCP Server Segment 2
Segment 1 4 Router with DHCP forwarding DHCP Server Segment 2
Segment 1 DHCP Server Router with DHCP forwarding Segment 2
Segment 1 Configured for DHCP Relay Agent DHCP Server Router WITHOUT DHCP forwarding Segment 2
When the DHCP server is on another subnet, configure: OR DHCP broadcast forwarding on the router. DHCP Relay Agent on the Server.
BOOTP Short for Bootstrap Protocol Allows diskless workstations to boot and obtain their required IP addressing information from a BOOTP server. The BOOTP server maintains a list of host’s MAC addresses and corresponding IP address information. The BOOTP server distributes the IP addresses as the hosts boot-up.
Both DHCP and BOOTP: Use UDP as their communications transport. Clients transmit address requests from their port 68. Servers receive the requests on port 67. Blocking ports 68 on clients or 67 on the server will defeat DHCP or BOOTP.
Explain the purpose of DHCP/Bootp. Predict the impact of modifying, adding , or removing DHCP services on resources and users. Given a network configuration, select the appropriate configuration settings for DHCP.