- Normal DHCP Get IP process (discover-offer-request-ack):
- (Discovery) The host side publishes a broadcast with a MAC address of FF:FF:FF:FF:FF:FF on the LAN to look for a DHCP server .
- (offer) The DHCP server responds to the received Discovery packet, picking a assigned DHCP client from an IP address that has not yet been leased , and sending a DHCP client with an IP address and other settings for the lease DHCP offer information.
- (Request) based on the first Come primary server principle, the host selects the initial offer it receives and, after that, responds to a request for DHCP requests by broadcasting, which contains the selected The DHCP server requests the contents of the IP address. So to broadcast the answer is to notify all the DHCP server, he will select a DHCP server provided by the IP address.
- (ACK) dhcp server confirms the ip address provided. When dhcp Server received dhcp the client replied dhcp request request information, it will be dhcp client sends a >ip dhcp ack address and other settings provided by it, telling dhcp client can use the IP address it provides. Then dhcp client to bind its TCP/IP protocol to the NIC, in addition to dhcp client selected server, the other DHCP server will take back the ip address that was provided after receiving the request package from the client.
- PXE boot, DHCP get IP process (discover-ack):
- (Discovery) The host side publishes a broadcast with a MAC address of FF:FF:FF:FF:FF:FF on the LAN to look for a DHCP server.
- (request) According to Come first server principle, the host chooses the initial offer it receives and, after that, broadcasts a request for DHCP requests that contains the contents of the request IP address to the DHCP server it has selected. So to broadcast the answer is to notify all the DHCP server, he will select a DHCP server provided by the IP address.
- (ACK) The DHCP server confirms the provided IP address. When the DHCP server receives DHCP request information from a DHCP client, it sends a DHCP ACK acknowledgment to the DHCP client that contains the IP address and other settings it provides, telling the DHCP client that it can use the IP address it provides. The DHCP client then binds its TCP/IP protocol to the NIC and, in addition to the server selected by the DHCP client, the other DHCP server will reclaim the IP address that was provided after receiving the client's request packet.
The difference between PXE DHCP get IP and traditional DHCP get IP address