542 B
542 B
Dynamic Host Control Protocol (DHCP)
Address allocation can happen trough 2 ways.
Fixed allocation:
- Wasteful because if a hosts is not active the IP Address is still allocated.
Dynamic allocation:
- A DHCP server manages the allocation of IP Addresses and leases them for a certain amount of time.
Dynamic allocation works like this:
- A host broadcasts a request for an IP Address.
- A DHCP server replies with a offer for an IP Address.
- The host replies accepting the offer.
- Server confirms the allocation of the IP Address.