Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Recovering method of IP address and DHCP server

An IP address and server technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve problems such as the inability to assign IP addresses, and achieve the effect of improving usability

Inactive Publication Date: 2010-03-17
RUIJIE NETWORKS CO LTD
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, in the process of realizing the present invention, the inventor found that the defect of the prior art is: in actual network operation, the IP address conflict may only be temporary, but due to the conflicting IP address is marked as unallocated and placed into IP address conflict queue, even after the IP address conflict disappears, the DHCP server still cannot allocate the previously conflicted IP address in time

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
  • Recovering method of IP address and DHCP server
  • Recovering method of IP address and DHCP server
  • Recovering method of IP address and DHCP server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] Embodiments of the present invention provide a method for recovering an IP address, such as figure 1 As shown, the method includes:

[0025] Step 101, the Dynamic Host Configuration Protocol DHCP server detects whether there is a conflict in the IP address in the IP address conflict queue;

[0026] Step 102, clear the IP address without conflict from the IP address conflict queue, and add the IP address into the address pool, so as to realize address recycling.

[0027] In this embodiment, when the DHCP server assigns an IP address to the client according to the request of the client, the DHCP server can obtain an assignable IP address from the DHCP address pool, and then the DHCP server detects the IP address through the ICMP message After the conflict, or after the DHCP server receives the DHCP reject message sent by the DHCP client, it puts the IP address into the IP address conflict queue. In this way, in order to ensure that there are enough IP addresses that can...

Embodiment 2

[0031] An embodiment of the present invention provides a method for reclaiming an IP address.

[0032] In this embodiment, when the initial time t=0, after the DHCP server puts the conflicting IP address into the IP address conflicting queue, it can be counted by a set timer, and when the time counted by the timer reaches the first preset time, Start to detect the IP addresses in the IP address conflict queue, and reclaim the IP addresses according to the detection results. Wherein, if a conflicting IP address is detected again within the first preset time, the timer may no longer be set.

[0033] For example, when the initial moment t=0, the DHCP server detects that the IP address P1 conflicts, and P1 is put into the IP address conflict queue. At this time, the timer t=5 can be set to trigger the recovery of the IP address; if at t=2 When the address P2 conflict is detected again, the timer does not need to be set at this time; at t=5, the DHCP server starts to detect the IP...

Embodiment 3

[0051] Embodiments of the present invention provide a DHCP server, such as image 3 As shown, the DHCP server includes: a detection unit 301 and a recovery unit 302;

[0052] Wherein, the detection unit 301 is used to detect whether there is a conflict in the IP address in the IP address conflict queue; the recovery unit 302 is connected to the detection unit 301, and is used to remove the IP address without conflict from the IP address conflict queue, Add the IP address to the address pool to realize address recycling.

[0053] In this embodiment, the working process of the DHCP server reclaiming the IP addresses in the IP address conflict queue is as described in Embodiment 1, and will not be repeated here.

[0054] As can be seen from the foregoing embodiments, the DHCP server detects whether there is a conflict in the IP addresses in the IP address conflict queue, returns the IP addresses without conflicts to the DHCP address pool, and reclaims the conflicting IP addresse...

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 recovering method of an IP address and a DHCP server. The recovering method of the IP address comprises the following steps: a dynamic host configuration protocol (DHCP) server detects whether conflict exists in the IP address in an IP address conflict queue; the IP address with no conflict is eliminated from the IP address conflict queue; and the IP address is added to an address pool. By the embodiment of the invention, the conflict IP address can be recovered timely, thus ensuring that enough allocable IP addresses exist in the DHCP address pool and improving the availability of the DHCP service.

Description

technical field [0001] The invention relates to a dynamic host configuration protocol (DHCP) technology, in particular to an IP address recovery method and a DHCP server. Background technique [0002] Dynamic Host Configure Protocol (DHCP, Dynamic Host Configure Protocol) is based on the client / server working mode, and the DHCP server assigns IP addresses and other parameters to the DHCP clients that need dynamic configuration. [0003] In the IP address allocation process, in order to prevent the newly allocated IP address from conflicting with the existing IP address in the current network, it can be detected from the server side and the client side. [0004] When the IP address conflict is detected from the server side, before the DHCP server allocates the IP address to the DHCP client, the conflict detection can be completed by using an Internet Information Control Protocol (ICMP, Internet Control Message Protocol) message. The DHCP server first sends an ICMP echo reque...

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/12H04L29/06H04L12/26
Inventor 常鹏
Owner RUIJIE NETWORKS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products