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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com