Date First Published: 4th April 2022
Topic: Computer Networking
Subtopic: Internet Protocols
Article Type: Computer Terms & Definitions
Difficulty: AdvancedDifficulty Level: 8/10
Learn more about what DHCP is in this article.
Not to be confused with DCCP (Datagram Congestion Control Protocol).
Short for Dynamic Host Configuration Protocol, DHCP is a network configuration protocol that automatically assigns an IP address to devices on a network. Dynamic addressing enables each device to have a different IP address every time it connects to the network and it eliminates the need for manually assigning an IP address to a device. Most routers and other networking equipment use this protocol by default. Dynamic devices can use any communication protocol, such as TCP and UDP as well as network services, such as DNS.
In small businesses and homes, the router acts as the DHCP server. Single computers may have that purpose in large networks. In addition, the period of time that it takes for a device to connect through DHCP varies depending on the speed of the router and type of network and DHCP works in the same way for both wired and wireless connections.
There are times when DHCP should not be used and static IP addresses should be considered. It should not be used for devices that do not move around and need frequent access. Examples include printers. Assigning a printer with a changing IP address would be inconvenient as it would cause every device that is connected to the printer to have to update its settings on a regular basis in order to connect to the printer.
The same goes when remote access is required to a computer in a home network since DHCP will cause the computer to get a new IP address, meaning that the IP address that was recorded for that computer will only be accurate for a short period of time. It is recommended to disable DHCP and use static IP addresses for that device in the event that remote access software that relies on IP address-based is used.
DHCP works by using the five steps below.
DHCP can be configured to control the range of IP addresses that are available for use. For example, if the IP range was 123.123.123.1 from 123.123.123.100, all available IP addresses would fall in that range and a device assigned to 123.123.123.200 would never be seen. These configuration settings are called IP pool starting address and IP pool ending address. The start IP address, which is 123.123.123.1 would be reserved for the router or server in this example. The advantage of this setting is that it can put a limit on the number of devices that are connected to the router or server at the same time. However, if the range was too small, it would prevent new devices from being connected to each other. DHCP is useful since it allows multiple devices to connect together without the need for a large pool of IP addresses.
TCP/IP Protocol | Application layer | BGP• DHCP • DNS • FTP • HTTP • IMAP • LDAP • MGCP • NNTP • NTP • OSPF • POP • PTP • ONC/RPC • RTP • RTSP • RIP • SIP • SMTP • SNMP • SSH • Telnet • XMPP | Transport layer | TCP • UDP • DCCP • SCTP • RSVP • QUIC | Internet layer | IP • ICMP • NDP • ECN • IGMP. | Link layer | Tunnels • PPP • MAC |
---|
If so, it is important that you tell me as soon as possible on this page.
Network Services Network Setups Network Standards Network Hardware Network Identifiers Network Software Internet Protocols Internet Organisations Data Transmission Technologies Web Development Web Design Web Advertising Web Applications Web Organisations Web Technologies Web Services SEO Threats To Systems, Data & Information Security Mechanisms & Technologies Computer Hardware Computer Software Ethics & Sustainability Legislation & User Data Protection