October 17, 2015

[Network] DHCP IP address allocation procedure


□ DHCP(Dynamic Host Confinuration Protocol) : Protocol for dynamically assigning IP addresses.

□ DHCP IP address allocation procedure
○ DHCP Discover
- Meaning : it is message that client is looking for a DHCP server
- How: it broadcast client's MAC address
○ DHCP Offer
- Meaning : It is message that the DHCP server provides network information, including IP addresses to client.
- How: If the "Broadcast Flag" value is 1, broadcast or(value is 0) unicast
○ DHCP Request
- Meaning : It is request message that the client uses the IP address assigned.
- How: broadcast
○ DHCP Ack
- Meaning : IP address assignment completion
- How
ใ†DHCP server stores the MAC address, IP address of the client
ใ†Server retransmits the IP address to the client(Broadcast or Unicast)
ใ†The message received client" set the IP address