Of the Linux network services introduced in this chapter DHC
Of the Linux network services introduced in this chapter, DHCP is probably
one of the most important because it manages hosts on a network. Use the
Internet to research DHCP, and write a one-page paper describing its importance in a network and summarizing different aspects of DHCP, particularly
methods for allocating IP addresses over a network.
Solution
Solution:
DHCP is the Dymnamic Host Configuration protocol which assigns the address dynamically. DHCP is important because
- it helps those hosts to get an IP address, which comes online for very small duration, but even for this duration they needs an address.
- it provides a way to access network and get the temporary address for your laptop, while you are on the way, as it understands the structure of the network easily.
- it helps the admin to keep the record of all the workstations within the network, centrally.
- it provides a way to detect the unauthorized DHCP available overthe network.
DHCP helps in automatic configuration of all the hosts present over the network and supporting the DHCP also. Certain network parameters are configured on the DHCP server like host\'s IP address range, DNS server(s), gateways (generally routers), subnet mask information and some others parameters also. These configured values are then passed down to the host for allocating the IP address.
The process of allocating the IP address to the host have certain steps:
1. In the beginning, the host has to find out the DHCP server on the network by sending a broadcast.
2. The DHCP server then reacts by noticing the workstation which needs DHCP service and sends an IP address to it.
3. The host waiting for the DHCP service receive the IP address and accept it b y sending an official request to the DHCP server.
4. The DHCP server sees the request of the host and completes the transaction by assigning the IP address sent earlier to the requesting host. That particular IP address will remain with that specific hosts until its work is finished.
