CN106331190A - IP address withdrawing method and device, and dynamic host configuration protocol server - Google Patents
IP address withdrawing method and device, and dynamic host configuration protocol server Download PDFInfo
- Publication number
- CN106331190A CN106331190A CN201510345439.2A CN201510345439A CN106331190A CN 106331190 A CN106331190 A CN 106331190A CN 201510345439 A CN201510345439 A CN 201510345439A CN 106331190 A CN106331190 A CN 106331190A
- Authority
- CN
- China
- Prior art keywords
- client end
- dhcp client
- address
- probe message
- judged
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5053—Lease time; Renewal aspects
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses an IP address withdrawing method and device, and a dynamic host configuration protocol server. In the IP address withdrawing process, an ICMP detection message is sent to a dynamic host configuration protocol client; whether the dynamic host configuration protocol client is off line or not is judged according to the response condition of the dynamic host configuration protocol client to the ICMP detection message; and if the dynamic host configuration protocol client is off line, an IP address occupied by the dynamic host configuration protocol client is withdrawn. Therefore, the client which is off line due to the power-off, disconnection and link failure cannot respond to the ICMP detection message, the IP address occupied by the client can be timely withdrawn and cannot by occupied until the tenancy term expires, and the timeliness of IP address withdrawing and the IP address utilization rate can be improved.
Description
Technical field
The present invention relates to network communication field, be specifically related to a kind of IP address recovery method, device and dynamically lead
Machine configuration protocol server.
Background technology
DHCP (Dynamic Host Configuration Protocol, DHCP) based on
Client/server (Client/Server) model, Dynamic Host Configuration Protocol server is that dhcp client dynamically distributes IP
Address and other parameters.DHCP is a unidirectional drive agreement, and server is entirely passive, its action,
Behavior is substantially completely excited by the request behavior of client.Client initiate IP address application, re-rent and
Release, server carrys out the use of management ip address by rental period mechanism.Server is that client distributes IP available
Address and the use rental period of this IP, exceed this rental period, if client to be continuing with this IP, it is necessary to initiate
Re-rent request, and in use if it is desired to terminate using, releasing request can be sent and terminate the rental period;Right
In server end, recording each rental period having distributed IP, the rental period arrives, if client is not re-rented, then
Reclaim this IP, this IP is labeled as idle condition, and returns to address pool;Rental period is less than, but have received
The releasing request of client, also can reclaim this IP, and this IP is labeled as idle condition, return to address pool.
From the foregoing, it can be seen that it is that lease expires or client active that server end reclaims the condition of IP address
Release.Real network is frequently encountered by client shutdown, client disconnect netting twine (such as notebook is removed),
The situations such as network link failure, these will cause client reality with server disconnects, but service
Device cannot know that client is whether online, therefore in IP address lease, this IP will the most occupied until
Rental period terminates, and the rental period is normally provided as several hours the most several days time, and this will result in IP resource not
Can effectively utilize.
Summary of the invention
The main technical problem to be solved in the present invention is to provide a kind of IP address recovery method, device and dynamically
Host configuration protocol server, solves to cause because of shutdown, broken string, link failure when existing IP address is reclaimed
The IP address of the client of off-line can not reclaim the problem causing the IP wasting of resources in time.
For solving above-mentioned technical problem, the present invention provides a kind of IP address recovery method, including:
Icmp probe message is sent to dhcp client end;
According to described dhcp client end, the response condition of this icmp probe message is judged described
Dhcp client end whether off-line;
If described dhcp client end off-line, described dhcp client end is accounted for
IP address reclaim.
In an embodiment of the present invention, according to described dhcp client end, this ICMP is visited
The response condition observing and predicting literary composition judges whether off-line includes described dhcp client end:
In the case of determining that described dhcp client end is to this icmp probe message normal response,
Judge the described non-off-line of dhcp client end;
Determining that described dhcp client end is to this icmp probe message non-normal response situation
Under, it is judged that described dhcp client end off-line.
In an embodiment of the present invention, it is judged that described dhcp client end is to described ICMP
Whether normal response includes probe messages:
After described dhcp client end sends icmp probe message, it is judged that in the re-transmission set
Whether receive response in time, if the number of times not receiving response continuously is more than or equal to maximum retransmission N, then sentence
The fixed described non-normal response of dhcp client end;
Or,
After described dhcp client end sends icmp probe message, it is judged that in the re-transmission set
Whether receive response in time, as no, it is judged that the current re-transmission time whether more than re-transmission time threshold value, in this way,
Judge the described non-normal response of dhcp client end;Otherwise, described re-transmission time is extended backward
Described dhcp client end retransmits icmp probe message;
Or,
After described dhcp client end sends icmp probe message, it is judged that in the re-transmission set
Whether response is received, as no, it is judged that whether do not receive the number of times of response continuously more than or equal to maximum weight in time
Pass times N, in this way, it is determined that the described non-normal response of dhcp client end;Otherwise, it is judged that when
Whether front re-transmission time is more than re-transmission time threshold value, in this way, it is determined that described dhcp client end
Non-normal response;Otherwise, extend the backward described dhcp client end of described re-transmission time to retransmit
Icmp probe message.
In an embodiment of the present invention, icmp probe is sent to dhcp client end first
Before message, also include judging whether the detection cycle triggers, in this way, just to described DHCP
Client sends icmp probe message.
In an embodiment of the present invention, the described detection cycle is just equal to IP address lease/M, described M
Integer.
In an embodiment of the present invention, described re-transmission time threshold value is equal to detection cycle/K;Described K is
Positive integer less than 10.
In an embodiment of the present invention, the described IP that described dhcp client end is taken
Address carries out recovery and includes:
Described dhcp client end is deleted from the distribution list of address, and by described IP address
Return free address pond.
In an embodiment of the present invention, described icmp probe message is ICMP Echo Request message.
In order to solve the problems referred to above, present invention also offers a kind of IP address retracting device, including:
Message sending module, for sending icmp probe message to dhcp client end;
Processing module, for according to the described dhcp client end sound to this icmp probe message
Situation is answered to judge described dhcp client end whether off-line;
Recycling module, for when described dhcp client end off-line, by described DynamicHost
The IP address that configuration protocol client takies is reclaimed.
In an embodiment of the present invention, processing module is according to described dhcp client end pair
The response condition of described icmp probe message judges described dhcp client end whether off-line bag
Include:
In the case of determining that described dhcp client end is to this icmp probe message normal response,
Judge the described non-off-line of dhcp client end;
Determining that described dhcp client end is to this icmp probe message non-normal response situation
Under, it is judged that described dhcp client end off-line.
In an embodiment of the present invention, processing module judges described dhcp client end pair
Whether normal response includes described icmp probe message:
Processing module sends icmp probe report at message sending module to described dhcp client end
Wen Hou, it is judged that whether receive response in the re-transmission time set, if the number of times not receiving response continuously is more than
Equal to maximum retransmission N, then judge the described non-normal response of dhcp client end;
Or,
Processing module sends icmp probe report at message sending module to described dhcp client end
Wen Hou, it is judged that whether receive response, as no, it is judged that current re-transmission the time whether in the re-transmission time set
More than re-transmission time threshold value, in this way, it is determined that the described non-normal response of dhcp client end;No
Then, extend the backward described dhcp client end of described re-transmission time and retransmit icmp probe message;
Or,
Processing module sends icmp probe report at message sending module to described dhcp client end
Wen Hou, it is judged that whether receive response, as no in the re-transmission time set, it is judged that do not receive response continuously
Whether number of times is more than or equal to maximum retransmission N, in this way, it is determined that described dhcp client end is not
Normal response;Otherwise, it is judged that whether the current re-transmission time is more than re-transmission time threshold value, in this way, it is determined that described
The non-normal response of dhcp client end;Otherwise, extend described re-transmission time backward described dynamically
Host configuration client retransmits icmp probe message.
In order to solve the problems referred to above, present invention also offers a kind of Dynamic Host Configuration Protocol server, including
IP address as above retracting device.
The invention has the beneficial effects as follows:
IP address recovery method, device and the Dynamic Host Configuration Protocol server that the present invention provides, at IP
In the removal process of address, send icmp probe message to dhcp client end;According to the most main
Machine configuration protocol client judges dhcp client end to the response condition of this icmp probe message
Whether off-line;If dhcp client end off-line, dhcp client end is taken
IP address reclaim;Therefore for causing the client of off-line because of shutdown, broken string, link failure, its
Will not respond icmp probe message, the IP address that therefore can take this client is returned in time
Receive, do not have this IP address the most occupied until the rental period full, the timely of IP address recovery can be promoted
Property and the utilization rate of IP address.
Accompanying drawing explanation
Fig. 1 is the two-layer networking schematic diagram in the embodiment of the present invention one;
Fig. 2 is three layers of networking schematic diagram in the embodiment of the present invention one;
Fig. 3 is the IP address recovery method schematic flow sheet in the embodiment of the present invention one;
Fig. 4 is the IP address retracting device structural representation in the embodiment of the present invention two;
Fig. 5 is the IP address recovery method schematic flow sheet in the embodiment of the present invention three.
Detailed description of the invention
Combine accompanying drawing below by detailed description of the invention the present invention is described in further detail.
Embodiment one:
Refer to shown in Fig. 1 and Fig. 2, display network exists shown in two shown in Fig. 1 layer networking and Fig. 2
Three layers of networking.The IP address recovery method provided for these networking the present embodiment is all suitable for, and the method has
Body is shown in Figure 3, including:
Step 301: send icmp probe message to dhcp client end;This icmp probe report
Literary composition can be PING request message, such as ICMP Echo Request message;
Step 302: the response condition of this icmp probe message is sentenced according to dhcp client end
Disconnected dhcp client end whether off-line, if dhcp client end off-line, goes to
Step 303;Otherwise, step 304 is gone to;
Step 303: the IP address taken by dhcp client end is reclaimed.
Step 304: do not reclaim the IP address that dhcp client end takies.
Visible, actively to dhcp client end whether the present embodiment utilize the icmp probe message can
Judge online, and can immediately this dhcp client end be taken after judging off-line
IP reclaims address, it is to avoid the IP address of the dhcp client end after off-line is within the rental period one
The most occupied and cause IP address resource to waste.
In above-mentioned steps 302, according to the dhcp client end response feelings to icmp probe message
Condition judges whether off-line includes dhcp client end:
In the case of determining that described dhcp client end is to this icmp probe message normal response,
Judge the described non-off-line of dhcp client end;
Determining that described dhcp client end is to this icmp probe message non-normal response situation
Under, it is judged that described dhcp client end off-line.
Concrete, it is judged that the dhcp client end side to icmp probe message whether normal response
Formula can in the following ways in any one:
Mode one: after dhcp client end sends icmp probe message, it is judged that set
Whether response is received in re-transmission time, if the number of times not receiving response continuously is more than or equal to maximum retransmission N,
Then judge the described non-normal response of dhcp client end;
Mode two: after dhcp client end sends icmp probe message, it is judged that set
Whether response is received, as no, it is judged that whether the current re-transmission time is more than re-transmission time threshold value in re-transmission time,
In this way, it is determined that the non-normal response of dhcp client end;Otherwise, re-transmission time is extended backward dynamic
State host configuration client retransmits icmp probe message;
Mode three: after dhcp client end sends icmp probe message, it is judged that set
Whether response is received, as no, it is judged that whether the frequency n not receiving response continuously is more than or equal in re-transmission time
Maximum retransmission N, in this way, it is determined that the non-normal response of dhcp client end;Otherwise, it is judged that
Whether the current re-transmission time is more than re-transmission time threshold value, in this way, it is determined that described dhcp client
Hold non-normal response;Otherwise, extend the backward described dhcp client end of re-transmission time and retransmit ICMP
Probe messages.
Maximum retransmission N value in aforesaid way one and three can be set according to concrete application scenarios;
The rule extending re-transmission time in aforesaid way two and three sets flexibly also dependent on concrete application scenarios,
Such as extend one and fix duration, or extend one times etc..
In the present embodiment, the detection cycle also can be set, only just trigger above-mentioned step when the detection cycle arrives
Rapid 301;Namely send icmp probe to dhcp client end first in above-mentioned steps 301
Before message, also include judging whether the detection cycle triggers, in this way, just to dhcp client
End sends icmp probe message;Otherwise, the cycle to be detected is waited to trigger.
The detection cycle in the present embodiment can also be arranged according to practical situation and concrete application scenarios, preferably sets
Putting it equal to IP address lease/M, M is positive integer, and the value of M can be 60.This aforesaid way two and mode
Re-transmission time threshold value in three can also be arranged according to practical situation and concrete application scenarios, be preferably provided with its etc.
In detection cycle/K;K is the positive integer less than 10, preferably equal to 2.For detection cycle and re-transmission time
Timing all can be realized by corresponding timer.
In above-mentioned steps 303, the IP address taken by dhcp client end carries out recovery and includes:
Dhcp client end is deleted from the distribution list of address, and the free time is returned in IP address
Address pool, and before returning to free address pond, also can be marked as idle condition.
Embodiment two:
The present embodiment additionally provides a kind of IP address retracting device, and this IP address retracting device may be disposed at dynamic
On state host configuration protocol server, shown in Figure 4, comprising:
Message sending module 1, for sending icmp probe message to dhcp client end;
Processing module 2, for according to the response to this icmp probe message of the dhcp client end
Situation judges dhcp client end whether off-line;
Recycling module 3, for when dhcp client end off-line, by DHCP
The IP address that client takies is reclaimed.
The present embodiment utilizes icmp probe message actively can enter dhcp client end the most online
Row judges, and the IP address that can take this dhcp client end immediately after judging off-line
Reclaim, it is to avoid the IP address of the dhcp client end after off-line is the most occupied within the rental period
With and cause IP address resource to waste.
The response condition of icmp probe message is judged by processing module 2 according to dhcp client end
Whether off-line includes dhcp client end:
In the case of determining that described dhcp client end is to this icmp probe message normal response,
Judge the described non-off-line of dhcp client end;
Determining that described dhcp client end is to this icmp probe message non-normal response situation
Under, it is judged that described dhcp client end off-line.
Processing module 2 judges that this icmp probe message is the most normally rung by described dhcp client end
Should in the following ways in any one:
Mode one: processing module 2 sends ICMP at message sending module 1 to dhcp client end
After probe messages, it is judged that whether receive response in the re-transmission time set, if not receiving the secondary of response continuously
Number more than or equal to maximum retransmission N, then judges the described non-normal response of dhcp client end;
Mode two: processing module 2 sends ICMP at message sending module 1 to dhcp client end
After probe messages, it is judged that whether receive response, as no, it is judged that during current re-transmission in the re-transmission time set
Between whether more than re-transmission time threshold value, in this way, it is determined that the non-normal response of dhcp client end;
Otherwise, icmp probe message is retransmitted to dhcp client end after extending re-transmission time;
Mode three: processing module 2 sends ICMP at message sending module 1 to dhcp client end
After probe messages, it is judged that whether receive response, as no in the re-transmission time set, it is judged that do not receive continuously
Whether the frequency n of response is more than or equal to maximum retransmission N, in this way, it is determined that dhcp client
Hold non-normal response;Otherwise, it is judged that whether the current re-transmission time is more than re-transmission time threshold value, in this way, it is determined that
The described non-normal response of dhcp client end;Otherwise, extend re-transmission time backward described dynamically
Host configuration client retransmits icmp probe message.
N value in aforesaid way one and three can be set according to concrete application scenarios;Aforesaid way two
Extend the rule of re-transmission time and set flexibly also dependent on concrete application scenarios in three, such as, extend one
Fixing duration, or prolongation one times etc..
In the present embodiment, the detection cycle also can be set, only just trigger message when the detection cycle arrives and send out
Module 1 is sent to send icmp probe message to dhcp client end;Namely message sending module 1
First before dhcp client end sends icmp probe message, also include judging the detection cycle
Whether trigger, in this way, just send icmp probe message to dhcp client end;Otherwise, etc.
Cycle to be detected triggers.
The detection cycle in the present embodiment can also be arranged according to practical situation and concrete application scenarios, preferably sets
Putting it equal to IP address lease/M, M is positive integer, and the value of M can be 60.This aforesaid way two and mode
Re-transmission time threshold value in three can also be arranged according to practical situation and concrete application scenarios, be preferably provided with its etc.
In detection cycle/K;K is the positive integer less than 10, preferably equal to 2.For detection cycle and re-transmission time
Timing all can be realized by corresponding timer.
The IP address that dhcp client end is taken by recycling module 3 carries out recovery and includes:
Dhcp client end is deleted from the distribution list of address, and the free time is returned in IP address
Address pool, and before returning to free address pond, also can be marked as idle condition.
Embodiment three:
In order to be better understood from the present invention, with a concrete example, the present invention is described further below,
Shown in Figure 5, including:
Step 501, Dynamic Host Configuration Protocol server is that dhcp client distributes IP address, and as this DHCP visitor of detection
The initial time of family end;
Step 502, Dynamic Host Configuration Protocol server arranges PING and detects the cycle, arranges the initial transmission time, arrange detection
Maximum allowable frequency of failure N;
Preferably, described PING detects cycle=IP address lease/60;The described initial transmission time is 3S;
It is 3 times, 4 times or 5 times that described PING detects maximum allowable frequency of failure N;
Step 503, opens PING probe timer, and the detection frequency of failure is set to 0;
Step 504, it is judged that PING probe timer is the most overtime;If it is, turn to step 505, otherwise,
Rejudge after continuing waiting for;
Step 505, Dynamic Host Configuration Protocol server sends PING request to dhcp client, and it is fixed to arrange initial transmission
Time device;
Step 506, it is judged that can retransmission timer receive the PING response that dhcp client returns before having not timed out
Message, if it could not, turn to step 507;If it is then turn to step 511;
Step 507, the detection frequency of failure adds 1;
Step 508, it is judged that whether the detection frequency of failure is more than detecting the maximum allowable frequency of failure;If it is not,
Turn to step 509;If it is, turn to step 512;
Step 509, retransmission timer duration is lengthened one times by Dynamic Host Configuration Protocol server, it is judged that retransmission timer duration
Whether more than re-transmission time threshold value;If it is not, turn to step 510;If it is, turn to step 515;
Preferably, described re-transmission time threshold value=PING detects cycle/2;
Step 510, Dynamic Host Configuration Protocol server resets retransmission timer, and retransmits PING request, turns again to step 506;
Step 511, dhcp client is online, closes retransmission timer, turns again to step 503, start new one
Wheel detection;
Step 512, dhcp client off-line, Dynamic Host Configuration Protocol server regains IP address shared by this client, and
It is labeled as idle condition, returns to free address pond, be deleted from allocation tables by client data simultaneously.
Above content is to combine specific embodiment further description made for the present invention, it is impossible to recognize
Determine the present invention be embodied as be confined to these explanations.Ordinary skill for the technical field of the invention
For personnel, without departing from the inventive concept of the premise, it is also possible to make some simple deduction or replace,
All should be considered as belonging to protection scope of the present invention.
Claims (12)
1. an IP address recovery method, it is characterised in that including:
Icmp probe message is sent to dhcp client end;
According to described dhcp client end, the response condition of this icmp probe message is judged described
Dhcp client end whether off-line;
If described dhcp client end off-line, described dhcp client end is accounted for
IP address reclaim.
2. IP address as claimed in claim 1 recovery method, it is characterised in that according to described dynamically
Host configuration client judges described DHCP to the response condition of this icmp probe message
Whether off-line includes client:
In the case of determining that described dhcp client end is to this icmp probe message normal response,
Judge the described non-off-line of dhcp client end;
Determining that described dhcp client end is to this icmp probe message non-normal response situation
Under, it is judged that described dhcp client end off-line.
3. IP address as claimed in claim 2 recovery method, it is characterised in that judge described dynamically
To described icmp probe message, whether normal response includes host configuration client:
After described dhcp client end sends icmp probe message, it is judged that in the re-transmission set
Whether receive response in time, if the number of times not receiving response continuously is more than or equal to maximum retransmission N, then sentence
The fixed described non-normal response of dhcp client end;
Or,
After described dhcp client end sends icmp probe message, it is judged that in the re-transmission set
Whether receive response in time, as no, it is judged that the current re-transmission time whether more than re-transmission time threshold value, in this way,
Judge the described non-normal response of dhcp client end;Otherwise, described re-transmission time is extended backward
Described dhcp client end retransmits icmp probe message;
Or,
After described dhcp client end sends icmp probe message, it is judged that in the re-transmission set
Whether response is received, as no, it is judged that whether do not receive the number of times of response continuously more than or equal to maximum weight in time
Pass times N, in this way, it is determined that the described non-normal response of dhcp client end;Otherwise, it is judged that when
Whether front re-transmission time is more than re-transmission time threshold value, in this way, it is determined that described dhcp client end
Non-normal response;Otherwise, extend the backward described dhcp client end of described re-transmission time to retransmit
Icmp probe message.
4. IP address as claimed in claim 3 recovery method, it is characterised in that first to the most main
Before machine configuration protocol client sends icmp probe message, also include judging whether the detection cycle triggers, as
It is just to send icmp probe message to described dhcp client end.
5. IP address as claimed in claim 4 recovery method, it is characterised in that described detection cycle
Equal to IP address lease/M, described M is positive integer.
6. IP address as claimed in claim 5 recovery method, it is characterised in that described re-transmission time
Threshold value is equal to detection cycle/K;Described K is the positive integer less than 10.
7. the IP address recovery method as described in any one of claim 1-6, it is characterised in that described
The IP address that described dhcp client end takies is carried out recovery include:
Described dhcp client end is deleted from the distribution list of address, and by described IP address
Return free address pond.
8. the IP address recovery method as described in any one of claim 1-6, it is characterised in that described
Icmp probe message is ICMP Echo Request message.
9. an IP address retracting device, it is characterised in that including:
Message sending module, for sending icmp probe message to dhcp client end;
Processing module, for according to the described dhcp client end sound to this icmp probe message
Situation is answered to judge described dhcp client end whether off-line;
Recycling module, for when described dhcp client end off-line, by described DynamicHost
The IP address that configuration protocol client takies is reclaimed.
10. IP address as claimed in claim 9 retracting device, it is characterised in that processing module according to
Described dhcp client end judges described dynamic master to the response condition of described icmp probe message
Whether off-line includes machine configuration protocol client:
In the case of determining that described dhcp client end is to this icmp probe message normal response,
Judge the described non-off-line of dhcp client end;
Determining that described dhcp client end is to this icmp probe message non-normal response situation
Under, it is judged that described dhcp client end off-line.
11. IP address as claimed in claim 10 retracting devices, it is characterised in that processing module is sentenced
To described icmp probe message, whether normal response includes disconnected described dhcp client end:
Processing module sends icmp probe report at message sending module to described dhcp client end
Wen Hou, it is judged that whether receive response in the re-transmission time set, if the number of times not receiving response continuously is more than
Equal to maximum retransmission N, then judge the described non-normal response of dhcp client end;
Or,
Processing module sends icmp probe report at message sending module to described dhcp client end
Wen Hou, it is judged that whether receive response, as no, it is judged that current re-transmission the time whether in the re-transmission time set
More than re-transmission time threshold value, in this way, it is determined that the described non-normal response of dhcp client end;No
Then, extend the backward described dhcp client end of described re-transmission time and retransmit icmp probe message;
Or,
Processing module sends icmp probe report at message sending module to described dhcp client end
Wen Hou, it is judged that whether receive response, as no in the re-transmission time set, it is judged that do not receive response continuously
Whether number of times is more than or equal to maximum retransmission N, in this way, it is determined that described dhcp client end is not
Normal response;Otherwise, it is judged that whether the current re-transmission time is more than re-transmission time threshold value, in this way, it is determined that described
The non-normal response of dhcp client end;Otherwise, extend described re-transmission time backward described dynamically
Host configuration client retransmits icmp probe message.
12. 1 kinds of Dynamic Host Configuration Protocol server, it is characterised in that include such as claim 9-11
IP address retracting device described in any one.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510345439.2A CN106331190A (en) | 2015-06-19 | 2015-06-19 | IP address withdrawing method and device, and dynamic host configuration protocol server |
PCT/CN2016/082082 WO2016202126A1 (en) | 2015-06-19 | 2016-05-13 | Method and device of reclaiming ip address and dynamic host configuration protocol server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510345439.2A CN106331190A (en) | 2015-06-19 | 2015-06-19 | IP address withdrawing method and device, and dynamic host configuration protocol server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106331190A true CN106331190A (en) | 2017-01-11 |
Family
ID=57544827
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510345439.2A Pending CN106331190A (en) | 2015-06-19 | 2015-06-19 | IP address withdrawing method and device, and dynamic host configuration protocol server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106331190A (en) |
WO (1) | WO2016202126A1 (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106936942A (en) * | 2017-03-07 | 2017-07-07 | 迈普通信技术股份有限公司 | A kind of dhcp address recovery system and method |
CN107172226A (en) * | 2017-03-27 | 2017-09-15 | 联想(北京)有限公司 | A kind of information processing method and server |
CN107612660A (en) * | 2017-09-28 | 2018-01-19 | 上海盈联电信科技有限公司 | Network node scanning method |
CN108092829A (en) * | 2018-01-31 | 2018-05-29 | 深信服科技股份有限公司 | Processing method, SDN controllers and the storage medium of cluster division |
CN110661897A (en) * | 2018-06-29 | 2020-01-07 | 华为技术有限公司 | Method and device for managing address |
CN112004161A (en) * | 2020-07-09 | 2020-11-27 | 视联动力信息技术股份有限公司 | Processing method and device of address resources, terminal equipment and storage medium |
CN113067742A (en) * | 2020-01-02 | 2021-07-02 | 中国移动通信有限公司研究院 | IPoE processing method and device and home gateway |
CN114374670A (en) * | 2021-12-29 | 2022-04-19 | 中国电信股份有限公司 | Method and device for managing IP resource pool, DHCP server and storage medium |
CN115065664A (en) * | 2022-06-17 | 2022-09-16 | 北京天融信网络安全技术有限公司 | Internet protocol address recovery method, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101453447A (en) * | 2007-12-03 | 2009-06-10 | 华为技术有限公司 | Customer aging method for dynamic host configuration protocol DHCP and access equipment |
CN101729314A (en) * | 2009-11-26 | 2010-06-09 | 福建星网锐捷网络有限公司 | Method and device for recovering dynamic table entries and dynamic host configuration protocol snoopingsnooping equipment |
CN103763405A (en) * | 2014-01-21 | 2014-04-30 | 福建三元达通讯股份有限公司 | Method for quickly recovering DHCP leases |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101335652A (en) * | 2007-06-29 | 2008-12-31 | 华为技术有限公司 | Status detection method, apparatus and system of dynamic host configuring protocol |
JP5459983B2 (en) * | 2008-06-03 | 2014-04-02 | キヤノン株式会社 | Information processing apparatus, information processing apparatus control method, and computer program |
-
2015
- 2015-06-19 CN CN201510345439.2A patent/CN106331190A/en active Pending
-
2016
- 2016-05-13 WO PCT/CN2016/082082 patent/WO2016202126A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101453447A (en) * | 2007-12-03 | 2009-06-10 | 华为技术有限公司 | Customer aging method for dynamic host configuration protocol DHCP and access equipment |
CN101729314A (en) * | 2009-11-26 | 2010-06-09 | 福建星网锐捷网络有限公司 | Method and device for recovering dynamic table entries and dynamic host configuration protocol snoopingsnooping equipment |
CN103763405A (en) * | 2014-01-21 | 2014-04-30 | 福建三元达通讯股份有限公司 | Method for quickly recovering DHCP leases |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106936942A (en) * | 2017-03-07 | 2017-07-07 | 迈普通信技术股份有限公司 | A kind of dhcp address recovery system and method |
CN107172226A (en) * | 2017-03-27 | 2017-09-15 | 联想(北京)有限公司 | A kind of information processing method and server |
CN107612660A (en) * | 2017-09-28 | 2018-01-19 | 上海盈联电信科技有限公司 | Network node scanning method |
CN108092829A (en) * | 2018-01-31 | 2018-05-29 | 深信服科技股份有限公司 | Processing method, SDN controllers and the storage medium of cluster division |
CN108092829B (en) * | 2018-01-31 | 2021-07-06 | 深信服科技股份有限公司 | Cluster splitting processing method, SDN controller and storage medium |
CN110661897A (en) * | 2018-06-29 | 2020-01-07 | 华为技术有限公司 | Method and device for managing address |
CN113067742A (en) * | 2020-01-02 | 2021-07-02 | 中国移动通信有限公司研究院 | IPoE processing method and device and home gateway |
CN112004161A (en) * | 2020-07-09 | 2020-11-27 | 视联动力信息技术股份有限公司 | Processing method and device of address resources, terminal equipment and storage medium |
CN112004161B (en) * | 2020-07-09 | 2024-05-28 | 视联动力信息技术股份有限公司 | Address resource processing method and device, terminal equipment and storage medium |
CN114374670A (en) * | 2021-12-29 | 2022-04-19 | 中国电信股份有限公司 | Method and device for managing IP resource pool, DHCP server and storage medium |
CN114374670B (en) * | 2021-12-29 | 2024-04-30 | 中国电信股份有限公司 | Method and device for managing IP resource pool, DHCP server and storage medium |
CN115065664A (en) * | 2022-06-17 | 2022-09-16 | 北京天融信网络安全技术有限公司 | Internet protocol address recovery method, electronic equipment and storage medium |
CN115065664B (en) * | 2022-06-17 | 2024-01-26 | 北京天融信网络安全技术有限公司 | Internet protocol address recycling method, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2016202126A1 (en) | 2016-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106331190A (en) | IP address withdrawing method and device, and dynamic host configuration protocol server | |
CN1949774B (en) | Method and apparatus for managing web application program conversation | |
CN103609089B (en) | A kind of preventing is attached to the method and device of Denial of Service attack on the main frame of subnet | |
CN102780593B (en) | Based on the method for BFD protocol detection link, device and network processing unit | |
CN103458436A (en) | Method and device for detecting alive-keeping of link between AC and AP | |
CN103023715A (en) | Fault monitoring method based on RS485 bus communication link | |
CN107567107A (en) | A kind of method and device for transmitting data | |
CN101453447A (en) | Customer aging method for dynamic host configuration protocol DHCP and access equipment | |
CN101989933A (en) | Method and system for failure detection | |
CN101656764A (en) | Method, system and device for keeping session of DHCP user active | |
CN106131146A (en) | Data synchronous system under a kind of limited network and method | |
CN108833149A (en) | Method and system for monitoring network availability and self-healing of express delivery cabinet | |
CN103634166B (en) | Equipment survival detection method and equipment survival detection device | |
CN1917427B (en) | Method and equipment for quick recovering environment of portal authentication | |
CN101778107A (en) | State synchronization processing method and device | |
CN107707689A (en) | A kind of DHCP message processing method, Dynamic Host Configuration Protocol server and gateway device | |
CN104009961A (en) | PPPoE session ID distribution method and equipment thereof | |
CN102025641A (en) | Message filtering method and exchange equipment | |
CN110809262A (en) | Internet of things equipment operation and maintenance management method based on COAP protocol | |
CN101800677B (en) | Processing device and method of bidirectional forwarding detection (BFD) messages | |
CN104885523B (en) | Fault handling method, packet data network, mobile management entity and network system | |
CN103999406A (en) | Communication path processing method and apparatus | |
CN103051484B (en) | Session service processing method, system and Session Border Controll | |
WO2012139466A1 (en) | Resource management method and device | |
CN100413248C (en) | Improved method and system for carrying out charging based on flow |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170111 |
|
RJ01 | Rejection of invention patent application after publication |