[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105847464B - IP address management method and DHCP client under a kind of more Dynamic Host Configuration Protocol server network environments - Google Patents

IP address management method and DHCP client under a kind of more Dynamic Host Configuration Protocol server network environments Download PDF

Info

Publication number
CN105847464B
CN105847464B CN201610370652.3A CN201610370652A CN105847464B CN 105847464 B CN105847464 B CN 105847464B CN 201610370652 A CN201610370652 A CN 201610370652A CN 105847464 B CN105847464 B CN 105847464B
Authority
CN
China
Prior art keywords
address
configuration protocol
host configuration
dynamic host
protocol server
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.)
Active
Application number
CN201610370652.3A
Other languages
Chinese (zh)
Other versions
CN105847464A (en
Inventor
黄江伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Fuyang Huashu Digital Tv Co ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201610370652.3A priority Critical patent/CN105847464B/en
Publication of CN105847464A publication Critical patent/CN105847464A/en
Priority to PCT/CN2017/077420 priority patent/WO2017206572A1/en
Application granted granted Critical
Publication of CN105847464B publication Critical patent/CN105847464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

IP address management method and DHCP client under a kind of more Dynamic Host Configuration Protocol server network environments, wherein, IP address management method includes: to provide a DHCP client for receiving the dhcp server ip address distribution, the DHCP client executes the IP address management method, the IP address management method includes: the DHCP OFFER data packet that parsing receives, and the assigned IP address in the DHCP OFFER data packet is matched with a default network segment;When the assigned IP address is fallen into the default network segment, receive the IP address lease in the DHCP OFFER data packet.By the IP address management method and DHCP client under more Dynamic Host Configuration Protocol server network environments, the inconsistent problem of the network segment that the IP address and user's needs that can solve Dynamic Host Configuration Protocol server distribution access.

Description

IP address management method and DHCP visitor under a kind of more Dynamic Host Configuration Protocol server network environments Family machine
Technical field
The present invention relates to computer networking technologies, more particularly to the IP address under a kind of more Dynamic Host Configuration Protocol server network environments Management method and DHCP client.
Background technique
With the rapid development of internet and the network equipment, what network environment became becomes increasingly complex, in a network environment Include the case where that multiple Dynamic Host Configuration Protocol server are also more and more.In order to avoid address conflict, each DHCP clothes under a network environment The IP address pond of business device management is usually all to belong to different segment.
When the network insertion terminal (such as router, mobile phone and computer) of user needs to connect network, it can issue DHCP request obtains IP address to Dynamic Host Configuration Protocol server.There are in the complex environment of multiple Dynamic Host Configuration Protocol server, terminal can be at first The IP address of reply.However, since the service that different segment provides is different in most cases, so this is assigned IP address sometimes not necessarily we need, or even sometimes all cannot pass through this IP address connect outer net.
If having got the IP address for being not intended to obtain, need user manually will be by ordering the IP release Fall, then obtains new IP address at random again.Inevitable, this probabilistic service will seriously affect the use body of user It tests and service efficiency.
Summary of the invention
The technical problem to be solved is that the IP address that Dynamic Host Configuration Protocol server distributes to need to access with user for the embodiment of the present invention The inconsistent problem of network segment.
To solve the above-mentioned problems, technical solution provided in an embodiment of the present invention is as follows:
A kind of IP address management method under more Dynamic Host Configuration Protocol server network environments, provides a receiving Dynamic Host Configuration Protocol server IP The DHCP client of address distribution, the DHCP client execute the IP address management method, the IP address management method Include:
Parse the DHCP OFFER data packet that receives, and by the assigned IP address in the DHCP OFFER data packet It is matched with a default network segment;
When the assigned IP address is fallen into the default network segment, receive in the DHCP OFFER data packet IP address lease.
Optionally, the IP address management method under above-mentioned more Dynamic Host Configuration Protocol server network environments further includes, according to described The DHCP OFFER data packet of Dynamic Host Configuration Protocol server feedback, generates a selective listing;The selective listing includes all DHCP services The IP address that device distributes in DHCP OFFER data packet;
It, will be locating for first IP address according to user to the selection instruction of one first IP address in the selective listing Network segment is as the default network segment.
Optionally, the IP address management method under above-mentioned more Dynamic Host Configuration Protocol server network environments, in described by described first After network segment locating for IP address is as the default network segment further include: re-broadcast IP address request.
Optionally, the IP address management method under above-mentioned more Dynamic Host Configuration Protocol server network environments, in described by described first After network segment locating for IP address is as the default network segment further include: sent to the Dynamic Host Configuration Protocol server for distributing first IP address IP address request.
Optionally, the IP address management method under above-mentioned more Dynamic Host Configuration Protocol server network environments, Yu Suoshu re-broadcast IP Before Address requests or described to before distributing the Dynamic Host Configuration Protocol server transmission IP address request of first IP address, release currently makes IP address resource.
Optionally, the IP address management method under above-mentioned more Dynamic Host Configuration Protocol server network environments, is carrying out IP address for the first time The setting of the default network segment is received before request in advance.
In order to solve the above technical problems, the embodiment of the invention also discloses a kind of DHCP clients, comprising:
Resolution unit, for parsing the DHCP OFFER data packet received;
A matching unit, for carrying out assigned IP address and the default network segment in the DHCP OFFER data packet Match;
Processing unit, for receiving the DHCP when the assigned IP address is fallen into the default network segment IP address lease in OFFER data packet.
Optionally, above-mentioned DHCP client, further includes:
Generation unit, the DHCP OFFER data packet for being fed back according to the Dynamic Host Configuration Protocol server generate a selective listing; The selective listing includes the IP address that all Dynamic Host Configuration Protocol server distribute in DHCP OFFER data packet;
Setting unit, for the selection instruction according to user to one first IP address in the selective listing, by described Network segment locating for one IP address is as the default network segment.
Optionally, above-mentioned DHCP client, further includes: the first request unit, being used for will be described in the setting unit After network segment locating for first IP address is as the default network segment, IP address request is re-broadcast.
Optionally, above-mentioned DHCP client, further includes: the second request unit, being used for will be described in the setting unit After network segment locating for first IP address is as the default network segment, IP is sent to the Dynamic Host Configuration Protocol server for distributing first IP address Address requests.
Optionally, above-mentioned DHCP client, further includes: releasing unit, for again wide in first request unit It broadcasts before IP address is requested or second request unit sends IP address to the Dynamic Host Configuration Protocol server for distributing first IP address and asks Before asking, currently used IP address resource is discharged.
Optionally, above-mentioned DHCP client, further includes: receiving unit, for being carried out for the first time in the DHCP client The setting of the default network segment is received before IP address request in advance.
Compared with prior art, technical solution of the present invention has the advantage that
In the present invention, DHCP client is matched by the IP address for distributing Dynamic Host Configuration Protocol server with default network segment, with It chooses whether to receive the IP address lease, so as to realize Auto-matching and the access of wanting the network segment accessed to user, keep away The problem of being unable to access demand network segment always and the subsequent cumbersome behaviour for needing manual releasing and re-request IP resource are exempted from Make.
It further, include the selective listing that IP address is assigned in all DHCP OFFER data packets by generating one, And then the autonomous selection according to user to IP address, user may be implemented, the needs of desired access network segment are done in use It is adjusted flexibly and is accessed with Auto-matching.
Further, the default network segment of user setting is received in advance before DHCP client IP address requesting distribution for the first time, The network segment for wanting access can be quickly accessed after DHCP client accesses network.
Further, before by carrying out new IP address distribution in request Dynamic Host Configuration Protocol server, with discharging currently used IP Location reduces the IP wasting of resources in Dynamic Host Configuration Protocol server address pool.
Detailed description of the invention
Fig. 1 is the flow chart of a kind of IP address management method in the embodiment of the present invention under more Dynamic Host Configuration Protocol server environment;
Fig. 2 is the flow chart of the IP address management method in the embodiment of the present invention under another more Dynamic Host Configuration Protocol server environment;
Fig. 3 is a kind of structural representation of the IP address management device in the embodiment of the present invention under more Dynamic Host Configuration Protocol server environment Figure;
Fig. 4 is the structural representation of the IP address management device in the embodiment of the present invention under another more Dynamic Host Configuration Protocol server environment Figure.
Specific embodiment
Currently, in the network of complicated more Dynamic Host Configuration Protocol server, if obtaining undesired IP network section, it usually needs first The IP address is discharged with order (such as input " ipconfig/release " order), then again with order (as inputted " ipconfig/renew " order) new IP address request is issued to Dynamic Host Configuration Protocol server again.But this still has certain general Rate obtains the IP address for being not intended to obtain.If request network administrator finds the DHCP service for being not intended to carry out address distribution Device, and these servers down are fallen, although available desired IP address, this will be troublesome operation, and It is irrealizable in many cases, for example does not get in touch with network administrator.Same network may more importantly be also resulted in Middle other users cannot obtain desired IP address, influence its normal use.
It can be seen that in the prior art, there are no one kind can be adapted under more DHCP network environments, the net that user is needed The network mechanism that Duan Jinhang is effectively matched.
In the embodiment of the present invention, DHCP client passes through the IP address for distributing Dynamic Host Configuration Protocol server and the progress of default network segment Match, to choose whether to receive the IP address lease, so as to realize the Auto-matching to the network segment of the desired access of user and connect Enter, avoid the problem of being unable to access demand network segment always and subsequent need manual releasing and re-request the numerous of IP resource Trivial operation.
To make the above purposes, features and advantages of the invention more obvious and understandable, with reference to the accompanying drawing to the present invention Specific embodiment be described in detail.
The embodiment of the invention provides a kind of IP address management methods under more Dynamic Host Configuration Protocol server network environments, can be applicable in It is any that there is data transmission capabilities and data-handling capacity in IP network environment, and receive Dynamic Host Configuration Protocol server share IP address Network insertion end equipment.For example, it may be router, can be the computer equipped with wireless network card, it is also possible to have The smart phone etc. of WiFi module.Hereafter the network insertion end equipment stated will be deserved to be called with DHCP client generation.
IP address management method under a kind of more Dynamic Host Configuration Protocol server environment of the embodiment of the present invention, as shown in Figure 1, can wrap Include following steps:
Step S101 generates a selective listing according to the DHCP OFFER data packet that the Dynamic Host Configuration Protocol server is fed back.
When DHCP client first time logging in online, it can be broadcasted by udp port and issue a DHCP DISCOVER number According to packet, requesting Dynamic Host Configuration Protocol server is that oneself distributes corresponding IP address.When Dynamic Host Configuration Protocol server listens to the DHCP DISCOVER After broadcast, it can select the vacant IP of foremost from the address pool that oneself is managed, and feed back to one DHCP of client computer OFFER data packet.Which includes the information such as IP address, subnet mask, address lease.
Under the network environment of more Dynamic Host Configuration Protocol server, DHCP client will receive multiple DHCP DISCOVER data packets Feedback.In the prior art, DHCP client can retain first DHCP OFFER data packet received, after abandoning (DROP) The DHCP OFFER data packet that continued access receives, and to the broadcast data packet of one DHCP REQUEST of network transmission, it informs all Its IP address for will receiving which platform server and provide of Dynamic Host Configuration Protocol server, in this way, when other Dynamic Host Configuration Protocol server receive the broadcast, Their offer can be cancelled so that IP address is supplied to IP address request next time.
Unlike the above-mentioned prior art, the embodiment of the present invention after receiving multiple DHCP DISCOVER data packets, though It so can also default and receive first DHCP OFFER data packet, and send DHCP REQUEST broadcast data packet, but not abandon Subsequently received DHCP OFFER data packet, but all DHCP OFFER data packets received are parsed, and read wherein Information generate the selective listing, the choosing and by an one-dimension array of assigned IP address write-in kernel therein Selecting list includes the IP address that all Dynamic Host Configuration Protocol server distribute in DHCP OFFER data packet.
It is understood that having received first applied to DHCP client since the embodiment of the present invention can be In DHCP OFFER data packet after IP lease, processing to subsequently received all DHCP OFFER data packets, therefore it is described Selective listing can not also include the IP address in first DHCP OFFER data packet received, that is, be being currently used IP address.
In specific implementation, if the user interface of the DHCP client is graphic interface, the alternative column Data in table can be shown by way of the page.If the user interface of the DHCP client is Command Line Interface, that Can by user by input command statement in being shown in the selective listing on the display interface of the DHCP client IP address information.
Step S102, according to user to the selection instruction of one first IP address in the selective listing, by the first IP Network segment locating for address is as default network segment.
In specific implementation, according to the difference of the DHCP client user interface, selection of the user to the first IP address Instruction can be page selection instruction, be also possible to order line command.
Step S103 carries out IP address request.
In specific implementation, the progress IP address request, which can be, re-broadcasts IP address request.With broadcasting IP at this time Location request with step S101 before DHCP client first log into the DHCP DISCOVER data packet format that sends when network can be with Be it is identical, i.e., the source address of encapsulated data packet is 0.0.0.0, and destination address 255.255.255.255 adds Other relevant informations of DHCPDISCOVER.
In specific implementation, the IP address that carries out requests to be also possible to the DHCP service to first IP address is distributed Device sends IP address request.The format of the Dynamic Host Configuration Protocol server data packet just is sent to no longer using the request method of broadcast at this time In, destination address is the IP address of the Dynamic Host Configuration Protocol server, and it is the current IP address of DHCP client that source address, which can be, can also To be 0.0.0.0.
In order to reduce the IP wasting of resources in Dynamic Host Configuration Protocol server address pool, in specific implementation, DHCP client can asked Before asking Dynamic Host Configuration Protocol server to carry out new IP address distribution, currently used IP address is discharged.
In specific implementation, it in order to avoid all going wrong in Dynamic Host Configuration Protocol server, such as collapses, without can be carried out address distribution When, program occupies excessive CPU and memory source, preset time can be arranged by components such as similar timers, and carrying out After Broadcast IP address request, judges whether to receive DHCP OFFER data packet in above-mentioned effective preset time, can reflect Whether Dynamic Host Configuration Protocol server is in normal operating conditions.
In above-mentioned specific implementation, in view of under Dynamic Host Configuration Protocol server normal condition to the sound of DHCP client IP address requesting It should be usually in 0.2s or so, so if the waiting time of DHCP client has been more than predetermined time (being such as customized for 5s), also It is not received by the DHCP OFFER of Dynamic Host Configuration Protocol server reply, then deciding that Dynamic Host Configuration Protocol server will not provide IP address.This When DHCP client output DHCP request fail and terminates Broadcast IP address request etc. accordingly process to save system resource.
Step S104~step S105, parses the DHCP OFFER data packet received, and by the DHCP OFFER number It is matched according to the assigned IP address in packet with the default network segment.
Why the present embodiment selects the IP address that same network segment is in first IP address, rather than selects and institute The identical IP address of the first IP address is stated, is because Dynamic Host Configuration Protocol server can within the period for obtaining first IP and replacement IP First IP address can be distributed into other dhcp clients, therefore first IP address that can not reallocate.
In specific implementation, Hook Function can be set to intercept the data packet received, if the data that judgement receives Whether packet is DHCP data packet, then the IP address whether IP address that the DHCP data packet is taken back is intended to, i.e., with described One IP address is in same network segment.If so, the ACCEPT data packet, receives the IP address in the DHCP OFFER data packet Otherwise lease abandons the data packet.
For example, currently used IP address is 192.168.1.56/24, user selects in the selective listing 10.6.61.89/24 IP address.At this point, if successively have received respectively include 192.168.1.46/24, 172.16.2.8/24 and the DHCP OFFER data packet of tri- assigned IP address of 10.6.61.96/24, then by comparing IP Preceding 24 network positions of address binary number, can judge the network position of 192.168.1.46/24,172.16.2.8/24 with 10.6.61.89/24 network position is different, but the network position phase of the network position of 10.6.61.96/24 and 10.6.61.89/24 Together, i.e., the two belongs to same network segment, therefore abandons the first two DHCP OFFER data packet, receives third DHCP OFFER data IP address lease in packet.
To sum up, the IP address management method under a kind of more Dynamic Host Configuration Protocol server network environments through the embodiment of the present invention, can To include the selective listing of assigned IP address in all DHCP OFFER data packets by generation one, and then according to user to IP The autonomous selection of address can be convenient and quickly realize that user does flexible tune to the needs of desired access network segment in use Whole and Auto-matching access, to improve the usage experience of user.
The embodiment of the invention also discloses the IP address management methods under another more Dynamic Host Configuration Protocol server environment.With previous reality Apply that example is identical to be, the embodiment of the present invention is equally applicable to receive the DHCP client of the dhcp server ip address distribution, The IP address management method is executed by the DHCP client.
As shown in Fig. 2, the IP address management method under more Dynamic Host Configuration Protocol server environment may include steps of:
Step S201~step S202, parses the DHCP OFFER data packet received, and by the DHCP OFFER number It is matched according to the assigned IP address in packet with a default network segment.
Unlike previous embodiment, the default network segment in the present embodiment is before the DHCP networks for the first time By user setting and it is stored on the DHCP client, rather than as previous embodiment is received in the DHCP client After DHCP OFEER, selected by user specified.
Step S203 receives the DHCP OFFER when the assigned IP address is fallen into the default network segment IP address lease in data packet.
In specific implementation, if the assigned IP address in all DHCP OFFER that DHCP client receives not In the default network segment, then using the method for being similar to the prior art, the DHCP OFFER data packet being initially received is received The IP address lease of offer.
It, can also be by the corresponding preset time of timer setting, if default beyond this in above-mentioned specific implementation Time then determines that new DHCP OFFER data packet will not be received again, falls into default network segment if received not yet at this time IP address, then receive first DHCP OFFER data packet received in IP address lease.
It is understood that the present embodiment is identical as previous embodiment technical problem to be solved, i.e., it is all to avoid It delays accessing user's the case where wanting the network of access, and subsequent operation cumbersome in the prior art.Meanwhile with regard to technology For scheme itself, both by by assigned IP and user pre-set network segment in advance, or refer in use Fixed network segment is matched, therefore the two belongs to same technical idea.
The present embodiment can be applied in combination with previous embodiment, i.e., step S101~step is executed after the step S203 S105。
To sum up, the IP address management method under a kind of more Dynamic Host Configuration Protocol server environment of the embodiment of the present invention, by setting in advance Set want access network segment, receive Dynamic Host Configuration Protocol server send DHCP OFFER data packet at the beginning, just to IP address progress Filtering selection, reassigns corresponding network segment without user again in use, further the convenient use of user. Certainly, if user, which needs to reselect in use, accesses new network segment, the side of such as previous embodiment can also be passed through Method is easily reselected and is accessed.
The embodiment of the invention also provides the IP under a kind of more Dynamic Host Configuration Protocol server network environments with one embodiment The corresponding DHCP client of address management method.As shown in figure 3, the DHCP client 30 may include:
Resolution unit 301, for parsing the DHCP OFFER data packet received;
Matching unit 302, for by the DHCP OFFER data packet assigned IP address and a default network segment into Row matching;
Processing unit 303, for receiving the DHCP when the assigned IP address is fallen into the default network segment IP address lease in OFFER data packet.
In specific implementation, the DHCP client 30 can also include:
Generation unit 304, the DHCP OFFER data packet for being fed back according to the Dynamic Host Configuration Protocol server generate an alternative column Table;The selective listing includes the IP address that all Dynamic Host Configuration Protocol server distribute in DHCP OFFER data packet;
Setting unit 305 will be described for the selection instruction according to user to one first IP address in the selective listing Network segment locating for first IP address is as the default network segment;
Request unit 306, for carrying out IP address request.
In specific implementation, the request unit 306 is for re-broadcasting IP address request.
In specific implementation, the request unit 306 is used to send to the Dynamic Host Configuration Protocol server for distributing first IP address IP address request.
In specific implementation, the DHCP client 30 can also include: releasing unit 307, for single in the request Before member 306 re-broadcasts IP address request, or to before distributing the Dynamic Host Configuration Protocol server transmission IP address request of first IP address, Discharge currently used IP address resource.
The IP address management device 30 under a kind of more Dynamic Host Configuration Protocol server environment through the embodiment of the present invention, can pass through life Include at one the selective listing of IP address is assigned in all DHCP OFFER data packets, and then according to user to IP address from Main selection can be convenient and quickly realize that user is in use adjusted flexibly and automatically the needs of desired access network segment Matching access, to improve the usage experience of user.
About the concrete scheme of the present embodiment, the corresponding contents of first embodiment are referred to, details are not described herein again.
The embodiment of the invention also provides more Dynamic Host Configuration Protocol server rings in another DHCP client, with second embodiment IP address management method under border is corresponding.As shown in figure 4, the DHCP client 40 may include:
Receiving unit 401, it is described pre- for being received in advance before the DHCP client 40 carries out IP address request for the first time If the setting of network segment;
Resolution unit 402, for parsing the DHCP OFFER data packet received;
Matching unit 403, for by the DHCP OFFER data packet assigned IP address and a default network segment into Row matching;
Processing unit 404, for receiving the DHCP when the assigned IP address is fallen into the default network segment IP address lease in OFFER data packet.
In specific implementation, as shown in figure 4, above-mentioned DHCP client 40, may also include such as above-mentioned DHCP client 30。
A kind of DHCP client 40 of the embodiment of the present invention wants the network segment of access by presetting, and is receiving DHCP Server send DHCP OFFER data packet at the beginning, selection just is filtered to IP address, is being used without user Reassign corresponding network segment again in the process, the further convenient use of user.Certainly, if user in use It needs to reselect the network segment of access, can also easily be reselected by the method for such as previous embodiment.
About the concrete scheme of the present embodiment, the corresponding contents of second embodiment are referred to, details are not described herein again.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: ROM, RAM, disk or CD etc..
Although present disclosure is as above, present invention is not limited to this.Anyone skilled in the art are not departing from this It in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim institute Subject to the range of restriction.

Claims (12)

1. a kind of IP address management method under more Dynamic Host Configuration Protocol server network environments, which is characterized in that
A DHCP client for receiving the dhcp server ip address distribution is provided, the DHCP client is with executing the IP Location management method, the IP address management method include:
Parse the DHCP OFFER data packet that receives, and by the assigned IP address and one in the DHCP OFFER data packet Default network segment is matched;
When the assigned IP address is fallen into the default network segment, with receiving the IP in the DHCP OFFER data packet Location lease;
According to the DHCP OFFER data packet that the Dynamic Host Configuration Protocol server is fed back, a selective listing is generated;The selective listing includes The IP address that all Dynamic Host Configuration Protocol server distribute in DHCP OFFER data packet;
According to user to the selection instruction of one first IP address in the selective listing, by network segment locating for first IP address As the default network segment;
Carry out IP address request.
2. the IP address management method under more Dynamic Host Configuration Protocol server network environments as described in claim 1, which is characterized in that described Carrying out IP address request includes: to re-broadcast IP address request.
3. the IP address management method under more Dynamic Host Configuration Protocol server network environments as described in claim 1, which is characterized in that described Carrying out IP address request includes: to send IP address request to the Dynamic Host Configuration Protocol server for distributing first IP address.
4. the IP address management method under more Dynamic Host Configuration Protocol server network environments as claimed in claim 2, which is characterized in that
Further include: before Yu Suoshu re-broadcasts IP address request, discharge currently used IP address resource.
5. the IP address management method under more Dynamic Host Configuration Protocol server network environments as claimed in claim 3, which is characterized in that
Further include: it is described to before distributing the Dynamic Host Configuration Protocol server transmission IP address request of first IP address, it discharges currently used IP address resource.
6. the IP address management method under more Dynamic Host Configuration Protocol server network environments as described in claim 1, which is characterized in that in head It is secondary to carry out the preceding setting for receiving the default network segment in advance of IP address request.
7. a kind of DHCP client characterized by comprising
Resolution unit, for parsing the DHCP OFFER data packet received from Dynamic Host Configuration Protocol server;
Matching unit, for matching the assigned IP address in the DHCP OFFER data packet with a default network segment;
Processing unit, for receiving the DHCP OFFER when the assigned IP address is fallen into the default network segment IP address lease in data packet;
Generation unit, the DHCP OFFER data packet for being fed back according to the Dynamic Host Configuration Protocol server generate a selective listing;It is described Selective listing includes the IP address that all Dynamic Host Configuration Protocol server distribute in DHCP OFFER data packet;
Setting unit, for the selection instruction according to user to one first IP address in the selective listing, by the first IP Network segment locating for address is as the default network segment;
Request unit, for carrying out IP address request.
8. DHCP client as claimed in claim 7, which is characterized in that the request unit is asked for re-broadcasting IP address It asks.
9. DHCP client as claimed in claim 7, which is characterized in that the request unit is used for distribution the first IP The Dynamic Host Configuration Protocol server of address sends IP address request.
10. DHCP client as claimed in claim 8, which is characterized in that further include: releasing unit, in the request Before unit re-broadcasts IP address request, currently used IP address resource is discharged.
11. DHCP client as claimed in claim 9, which is characterized in that further include: releasing unit, for described in distribution Before the Dynamic Host Configuration Protocol server of first IP address sends IP address request, currently used IP address resource is discharged.
12. DHCP client as claimed in claim 7, which is characterized in that further include: receiving unit, in the DHCP Client computer carries out the preceding setting for receiving the default network segment in advance of IP address request for the first time.
CN201610370652.3A 2016-05-30 2016-05-30 IP address management method and DHCP client under a kind of more Dynamic Host Configuration Protocol server network environments Active CN105847464B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610370652.3A CN105847464B (en) 2016-05-30 2016-05-30 IP address management method and DHCP client under a kind of more Dynamic Host Configuration Protocol server network environments
PCT/CN2017/077420 WO2017206572A1 (en) 2016-05-30 2017-03-21 Ip address management method for use in network environment having multiple dhcp servers, and dhcp client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610370652.3A CN105847464B (en) 2016-05-30 2016-05-30 IP address management method and DHCP client under a kind of more Dynamic Host Configuration Protocol server network environments

Publications (2)

Publication Number Publication Date
CN105847464A CN105847464A (en) 2016-08-10
CN105847464B true CN105847464B (en) 2019-11-29

Family

ID=56596184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610370652.3A Active CN105847464B (en) 2016-05-30 2016-05-30 IP address management method and DHCP client under a kind of more Dynamic Host Configuration Protocol server network environments

Country Status (2)

Country Link
CN (1) CN105847464B (en)
WO (1) WO2017206572A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847464B (en) * 2016-05-30 2019-11-29 上海斐讯数据通信技术有限公司 IP address management method and DHCP client under a kind of more Dynamic Host Configuration Protocol server network environments
CN106803848B (en) * 2017-01-17 2020-04-28 深圳市新威尔电子有限公司 Battery testing device middle position machine management method and device
CN109314723B (en) 2017-04-27 2020-10-27 华为技术有限公司 Method, device and terminal for realizing data service
CN107276802A (en) * 2017-06-15 2017-10-20 郑州云海信息技术有限公司 A kind of initiated configuration method of storage system, apparatus and system
WO2019006761A1 (en) * 2017-07-07 2019-01-10 华为技术有限公司 Method and apparatus for local area network device to restore internet access
EP3562091B1 (en) 2018-04-27 2023-04-19 Hewlett Packard Enterprise Development LP Highly available dhcp service by running dhcp servers on a blockchain network
CN108471431B (en) * 2018-07-10 2022-01-25 杭州任你说智能科技有限公司 Home network traffic interception method and home network traffic management device
CN113746653B (en) * 2020-05-29 2024-07-23 南京中兴新软件有限责任公司 Gateway configuration method, client, server and storage medium
CN112714204B (en) * 2020-12-22 2022-09-20 赛尔网络有限公司 IPv6 address and network segment matching method and device, electronic equipment and storage medium
CN113114793B (en) * 2021-03-22 2022-05-17 珠海格力电器股份有限公司 Slave node address competition method and device and electrical appliance system
CN114301876B (en) * 2021-12-23 2023-11-21 深圳创维数字技术有限公司 Address allocation method, system, device and computer readable storage medium
CN114785755B (en) * 2022-04-19 2024-03-29 深圳市和为顺网络技术有限公司 IPV6 Internet surfing IAPD self-adaption method and system
CN117527569A (en) * 2023-12-05 2024-02-06 深圳市皖通邮电科技有限公司 Method, equipment and storage medium for automatically adapting DHCP gateway to DHCP client

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478576A (en) * 2008-01-03 2009-07-08 华为技术有限公司 Method, apparatus and system for selecting service network
CN102209123A (en) * 2011-05-30 2011-10-05 中国电信股份有限公司 MAC (media access control) address management method and system, MAC address server and client
CN102801716A (en) * 2012-08-01 2012-11-28 杭州迪普科技有限公司 DHCP (Dynamic Host Configuration Protocol) anti-attacking method and device
CN102882861A (en) * 2012-09-19 2013-01-16 烽火通信科技股份有限公司 Method of achieving IP address cheating prevention based on analysis of dynamic host configuration protocol (DHCP) message

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694821A (en) * 2012-06-15 2012-09-26 杭州华三通信技术有限公司 Method and device for assigning IP (Internet Protocol) addresses based on authentication information
US8856296B2 (en) * 2012-06-28 2014-10-07 Alcatel Lucent Subnet prioritization for IP address allocation from a DHCP server
CN103888551B (en) * 2012-12-19 2017-09-12 华为技术有限公司 Internet Protocol address acquisition methods, trunking and system in a kind of network
CN105847464B (en) * 2016-05-30 2019-11-29 上海斐讯数据通信技术有限公司 IP address management method and DHCP client under a kind of more Dynamic Host Configuration Protocol server network environments

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478576A (en) * 2008-01-03 2009-07-08 华为技术有限公司 Method, apparatus and system for selecting service network
CN102209123A (en) * 2011-05-30 2011-10-05 中国电信股份有限公司 MAC (media access control) address management method and system, MAC address server and client
CN102801716A (en) * 2012-08-01 2012-11-28 杭州迪普科技有限公司 DHCP (Dynamic Host Configuration Protocol) anti-attacking method and device
CN102882861A (en) * 2012-09-19 2013-01-16 烽火通信科技股份有限公司 Method of achieving IP address cheating prevention based on analysis of dynamic host configuration protocol (DHCP) message

Also Published As

Publication number Publication date
WO2017206572A1 (en) 2017-12-07
CN105847464A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN105847464B (en) IP address management method and DHCP client under a kind of more Dynamic Host Configuration Protocol server network environments
CN110113441B (en) Computer equipment, system and method for realizing load balance
JP6941679B2 (en) Network slice selection method, user equipment, and network equipment
US11240198B2 (en) Session management method and apparatus
CN110336885B (en) Edge node distribution method, device, scheduling server and storage medium
CN101132373A (en) Method of providing qos for a flow
CN105978781A (en) Method and system for establishing network connection of Docker container, and client side
CN106445473A (en) Container deployment method and apparatus
CN113382065B (en) File downloading method, device, system, equipment and storage medium
CN105872002A (en) Video program obtaining method and system, and device
CN106412680B (en) Multi-screen control method and device
US20210360476A1 (en) Method for downloading data and terminal device
US11373116B2 (en) Model parameter fusion method and apparatus
JP2012502529A (en) Method and apparatus for dynamically allocating communication cells to clusters
CN110121194A (en) Information transferring method and device, computer storage medium
CN104869162A (en) Method of resource downloading and apparatus thereof
CN112540773B (en) Cloud game installation method and device, electronic equipment and storage medium
CN107534678B (en) Method, device and system for establishing connection between VNFM and VIM
CN115296994B (en) Starting configuration method, device and medium for pooled heterogeneous computing resources
RU2522995C2 (en) Method and apparatus for creating peer-to-peer group in peer-to-peer application and method of using peer-to-peer group
CN112449301B (en) Broadcast method of positioning auxiliary information, positioning server and RAN node
US20230262558A1 (en) Ue route selection method and related products
US11153724B2 (en) Method, device and system for processing multicast group information, and computer-readable storage medium
WO2024131514A1 (en) Built-in session binding support function query method and system
US20180255475A1 (en) Radio resource determining method and apparatus, and service server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200417

Address after: 200030 room 02, floor 19, building 82, Lane 1198, Qinzhou North Road, Xuhui District, Shanghai

Patentee after: Shanghai bige Network Technology Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230627

Address after: No. 66, Jiangbin West Avenue, Fuchun Street, Fuyang District, Hangzhou, Zhejiang 310000

Patentee after: Hangzhou Fuyang Huashu Digital TV Co.,Ltd.

Address before: 200030 Room 02, 19/F, Building 82, Lane 1198, Qinzhou North Road, Xuhui District, Shanghai

Patentee before: Shanghai bige Network Technology Co.,Ltd.

TR01 Transfer of patent right