DHCP address allocation method and device

An allocation method and IP address technology, applied in the computer field, can solve the problems of different client-side allocation addresses and inconvenient management, and achieve the effects of ensuring uniqueness, avoiding frequent IP address changes, and facilitating business and management functions.

Active Publication Date: 2020-11-13
江苏创通电子股份有限公司
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, in the DHCP protocol, when the client requests an address from the server, the server will traverse unallocated or expired addresses and assign them to the client according to the address range from small to large, but this address allocation method As a result, the assigned address of the client end may be different each time, which brings inconvenience to management

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • DHCP address allocation method and device
  • DHCP address allocation method and device
  • DHCP address allocation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0046] figure 1 It is a schematic flow chart of the DHCP address allocation method provided by the first embodiment of the present invention, such as figure 1 As shown, a method for assigning a DHCP address provided by the first embodiment of the present invention is applied to a server and includes the following steps:

[0047] Step 110: Receiv...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a DHCP address allocation method and device. The method comprises the following steps that: a media access control (MAC) address first message carrying a client and sent by the client is received, the first message is used for requesting an internet protocol IP address from each server, the server determines whether the IP address corresponding to the MAC address is allocated to the client before according to the MAC address carried in the first message, and if so, the server continues to allocate the IP address allocated before to the client; and if not, the server allocates the idle IP address which is not used locally to the client. According to the embodiment of the invention, the server queries the local IP address allocation record before allocating the address, and can continuously allocate the IP address used by the client to the client, thereby ensuring that the client in networking can keep the uniqueness of the address, and providingconvenience for a series of services and management functions.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a DHCP address allocation method and device. Background technique [0002] Dynamic Host Configuration Protocol (Dynamic Host Configuration Protocol, hereinafter referred to as DHCP), is a LAN network protocol, using the UDP protocol to work, the server controls a range of IP addresses, when the client logs in to the server, it can automatically obtain the IP address and subnet assigned by the server. netmask. Two commonly used ports for DHCP include: 67 (DHCP server) and 68 (DHCP client). DHCP is usually used in a LAN environment. Its main function is to centralize management and assign IP addresses, so that the client can dynamically obtain information such as IP addresses, Gateway addresses, and DNS server addresses, and can improve the utilization rate of addresses. Simply put, DHCP is a protocol that automatically assigns IP addresses and other information to intranet mac...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/12
CPCH04L61/5014
Inventor 张家利杨磊张胜利冯孝忠陆忠进郝小俊鲍雪刚张爱华高峰
Owner 江苏创通电子股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products