Ques:- What is DHCP and how does it assign IP addresses
Asked In :-
Right Answer:
DHCP, or Dynamic Host Configuration Protocol, is a network protocol that automatically assigns IP addresses and other network configuration parameters to devices on a network. It works by having a DHCP server that maintains a pool of IP addresses. When a device connects to the network, it sends a request to the DHCP server, which then assigns an available IP address from its pool and sends it back to the device along with other necessary configuration information, such as the subnet mask and default gateway.
DHCP, or Dynamic Host Configuration Protocol, is a network protocol that automatically assigns IP addresses and other network configuration parameters to devices on a network. It works by having a DHCP server that maintains a pool of IP addresses. When a device connects to the network, it sends a request to the DHCP server, which then assigns an available IP address from its pool and sends it back to the device along with other necessary configuration information, such as the subnet mask and default gateway.