Got it

DHCP Server IV

Latest reply: Jun 26, 2021 19:14:09 290 3 2 0 0

IP Address Reservation

DHCP supports IP address reservation for clients. The reserved IP addresses can be those in the address pool or not. If an address of the address pool is reserved, it is no longer assignable. Addresses are usually reserved for DNS servers.

Address Pool Lease

Different address pools can have different IP address leases, but addresses in one pool have the same lease.

Generally, there is a valid period for the IP address dynamically assigned to the client. The server withdraws the IP address after the valid period expires. If the client intends to continue to use this IP address, it needs to extend the IP address lease.

When obtaining an IP address, the DHCP client enters the binding state. Three timers are set on the client to control lease update, lease rebinding, and lease expiration. When assigning an IP address to the client, the DHCP server specifies values for the timers. If the server does not set the values for the timers, the client uses the default values. Table 1 lists the default values of the timers.

Table 1 Default values of timers

Timer

Default Value

Lease   renewal

50% of the   overall lease

Server   rebinding

87.5% of   the overall lease

Lease   expiration

Overall   lease

When the lease renewal timer expires, the DHCP client must renew its IP address lease. The DHCP client automatically sends a DHCP REQUEST packet to the DHCP server that assigns its currently-used IP address. If the IP address is valid, the server replies with a DHCP ACK packet to entitle the client a new lease, and then the client re-enters the binding state. If the client receives a DHCP NAK packet from the server, it enters the initializing state.

After the client sends a DHCP REQUEST packet for extending the lease, the client remains in the updating state and waits for a response. If the client does not receive a response from the server after the server rebinding timer expires, the client assumes that the original DHCP server is unavailable and starts to broadcast a DHCP REQUEST packet.

Any DHCP server on the network can reply to this request with a DHCP ACK or DHCP NAK packet.

If receiving a DHCP ACK packet, the client returns to the binding state and re-sets the lease renewal timer and server binding timer; if all the received packets are DHCP NAK packets, the client goes back to the initializing state. At this time, the client must stop using this IP address immediately, return to the initializing state, and request a new IP address.

If the client does not receive any response before the lease expiration timer expires, the client must stop using the current IP address immediately and return to the initializing state. Then, the client sends a DHCP DISCOVER packet to apply for a new IP address again (This is implemented based on RFC 2131.)

Hot Backup

For a S9300&S9300E with two MPUs, DHCP data on the two MPUs is backed up in real time. Therefore, after the master/slave switchover is performed, the slave MPU becomes the master MPU; therefore, the DHCP server can function and allocate IP addresses to clients normally.

Well done
View more
  • x
  • convention:

lucian2003
lucian2003 Created Apr 6, 2021 01:03:29 (0) (0)
 
andersoncf1
MVE Author Created Jun 26, 2021 19:14:09

Thanks for sharing knowledge.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.