Configuration application of DHCP service under RHEL (1)

Source: Internet
Author: User

I. Introduction to the DHCP service

DHCP is based on the customer/Server mode. When the DHCP Client is started, it automatically communicates with the DHCP server. The DHCP server provides the DHCP client with a service that automatically allocates IP addresses. A server installed with the DHCP service software is called a DHCP server, and a client with the DHCP function enabled is called a DHCP client. The DHCP server provides services for the DHCP client in the form of address lease. There are two ways for the DHCP server.

1. Limited lease period

2. permanent lease

Ii. Working Principles of the DHCP service

1. Request a new IP address from the DHCP server

1) DHCPDISCOVERDHCP discovery)

2) provided by DHCPOFFERDHCP)

3) DHCPREQUESTDHCP request)

4) DHCPACKDHCP confirmation)

2. Update the IP address lease

① When the IP address of the DHCP Client reaches half of the lease period, it will send a new DHCPREQUEST to the DHCP server. If the server does not reject the request after receiving the information, it will send a DHCPACK message. When the DHCP client receives the response, it starts a new lease period.

② When either of the following two special cases occurs during the renewal of an IP address, additional processing is required.

When the DHCP Client restarts

When the IP address lease period exceeds half but the renewal fails


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.