CN102439949A - Method for solving internet protocol address assignment conflict and related device and system - Google Patents

Method for solving internet protocol address assignment conflict and related device and system Download PDF

Info

Publication number
CN102439949A
CN102439949A CN2011800020743A CN201180002074A CN102439949A CN 102439949 A CN102439949 A CN 102439949A CN 2011800020743 A CN2011800020743 A CN 2011800020743A CN 201180002074 A CN201180002074 A CN 201180002074A CN 102439949 A CN102439949 A CN 102439949A
Authority
CN
China
Prior art keywords
address
host configuration
dynamic host
configuration protocol
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.)
Pending
Application number
CN2011800020743A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102439949A publication Critical patent/CN102439949A/en
Pending legal-status Critical Current

Links

Images

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/5046Resolving address allocation conflicts; Testing of addresses
    • 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]

Abstract

The invention relates to a method for solving an internet protocol address assignment conflict and a related device and a system; wherein, the method for solving the internet protocol address assignment conflict comprises the steps of using a relay device to receive a request message used for requiring to distribute an internet protocol IP address sent by a user terminal; transmitting the request message to a dynamic host configuration protocol server; receiving a request response message sent by the dynamic host configuration protocol server, wherein, the request response message carries an IP address distributed to the user terminal by the dynamic host configuration protocol server; according to user online information, detecting whether the IP address exists an assignment conflict, if yes, ending the request response message and noticing the dynamic host configuration protocol server that the IP address is conflicting. By using the technical scheme provided by the embodiment of the invention, the IP address assignment conflict problem of a DHCP server can be solved, and accordingly, the system communication reliability is improved.

Description

Solve method and the relevant device and the system of internet protocol address distribution conflict
Technical field
The present invention relates to communication technical field, be specifically related to solve method and the relevant device and the system of internet protocol address distribution conflict.
Background technology
At present; DHCP (DHCP; Dynamic Host Configuration Protocol) server comprises DHCPv4 (DHCP for Internet Protocol-v4; The IPv4 DHCP) server and DHCPv6 (DHCP for IPv6, IPv6 DHCP) server etc.The user terminal that Dynamic Host Configuration Protocol server is used in the network distributes Internet protocol (IP, Internet Protocol) address (for example IPv4 address or IPv6 address).
When a certain user terminal need pass through the access device access network, this user terminal was to Dynamic Host Configuration Protocol server application distributing IP address, and Dynamic Host Configuration Protocol server is returned as its IP address allocated to this user terminal.Find in the practice process; Dynamic Host Configuration Protocol server possibly distribute an IP address identical with the IP address of distributing to other user terminal for certain user terminal sometimes; And, just cause communication abnormality because of IP address conflict probably if two user terminals distribute identical ip addresses.
Summary of the invention
The embodiment of the invention provides a kind of method and relevant device and system that solves Internet protocol IP address assignment conflict, in the hope of the problem of solution Dynamic Host Configuration Protocol server distributing IP address conflict, and then improves the system communication reliability.
For solving the problems of the technologies described above, the technical scheme that the embodiment of the invention provides is following:
A kind of method that solves the internet protocol address distribution conflict comprises:
Trunking receives the request message that is used to ask to distribute internet protocol IP address that user terminal sends;
Transmit described request message to Dynamic Host Configuration Protocol server;
Receive the request response that said Dynamic Host Configuration Protocol server sends, it is said user terminal IP address allocated that this request response is carried said Dynamic Host Configuration Protocol server;
Detect said IP address according to user's information of reaching the standard grade and whether have distribution conflict;
If there is distribution conflict, the described request that then terminates response message also notifies said Dynamic Host Configuration Protocol server said IP address assignment conflict.
A kind of trunking comprises:
First receiver module is used to receive the request message that is used to ask the distributing IP address that user terminal sends;
First sending module is used for transmitting described request message to Dynamic Host Configuration Protocol server;
Second receiver module is used to receive the request response that said Dynamic Host Configuration Protocol server sends, and wherein, it is said user terminal IP address allocated that the described request response message carries said Dynamic Host Configuration Protocol server;
The collision detection module is used for detecting said IP address according to user's information of reaching the standard grade and whether has distribution conflict;
The conflict control module is used for detecting said IP address when having distribution conflict when said collision detection module, and the described request response message that terminates also notifies said Dynamic Host Configuration Protocol server said IP address assignment conflict.
A kind of communication system comprises:
Like the described trunking of the embodiment of the invention.
Therefore, the trunking of the embodiment of the invention receive that Dynamic Host Configuration Protocol server sends carry the request response that this Dynamic Host Configuration Protocol server is the user terminal IP address allocated after; Detect this IP address according to user's information of reaching the standard grade and whether have distribution conflict; If there is distribution conflict; This request response that then terminates also notifies above-mentioned Dynamic Host Configuration Protocol server this IP address assignment conflict; The request response of the IP address that carries distribution conflict of mailing to user terminal because trunking has terminated, and notify above-mentioned Dynamic Host Configuration Protocol server this IP address assignment conflict, therefore; User terminal can not obtain the IP address of distribution conflict; Dynamic Host Configuration Protocol server is also because of having known this IP address assignment conflict, so can avoid this Dynamic Host Configuration Protocol server follow-up again for this user terminal distributes this conflict IP address, visible; Embodiment of the invention scheme can effectively solve the problem of Dynamic Host Configuration Protocol server distributing IP address conflict, and then improves the system communication reliability.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention and technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment and the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet that solves the method for Internet protocol IP address assignment conflict that the embodiment of the invention provides;
Fig. 2-a is that a kind of user terminal that provides of the embodiment of the invention and the network of Dynamic Host Configuration Protocol server are connected the topological structure sketch map;
Fig. 2-b is that the another kind of user terminal that provides of the embodiment of the invention and the network of Dynamic Host Configuration Protocol server are connected the topological structure sketch map;
Fig. 3 is the schematic flow sheet that the another kind that provides of the embodiment of the invention solves the method for Internet protocol IP address assignment conflict;
Fig. 4-a is a kind of trunking structural representation that the embodiment of the invention provides;
Fig. 4-b is the another kind of trunking structural representation that the embodiment of the invention provides;
Fig. 5 is a kind of communication system sketch map that the embodiment of the invention provides.
Embodiment
The embodiment of the invention provides a kind of method and relevant device and system that solves Internet protocol IP address assignment conflict, can solve the problem of Dynamic Host Configuration Protocol server distributing IP address conflict, and then improves the system communication reliability.
For make goal of the invention of the present invention, characteristic, advantage can be more obvious and understandable; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, the embodiments described below only are the present invention's part embodiment, but not whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making all other embodiment that obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Through specific embodiment, carry out detailed explanation respectively below.
The present invention solves an embodiment of the method for IP address assignment conflict, can comprise: trunking receives the request message that is used to ask the distributing IP address that user terminal sends; Transmit this request message to Dynamic Host Configuration Protocol server; Receive the request response that this Dynamic Host Configuration Protocol server sends, it is said user terminal IP address allocated that this request response carries this Dynamic Host Configuration Protocol server; Detect this IP address according to user's information of reaching the standard grade and whether have distribution conflict; If there is distribution conflict, this request response that then terminates also notifies above-mentioned Dynamic Host Configuration Protocol server this IP address assignment conflict.
A kind of method that solves the IP address assignment conflict referring to Fig. 1, the embodiment of the invention provide can comprise:
101, trunking receives the request message that is used to ask the distributing IP address that user terminal sends;
Need to prove, in the embodiment of the invention trunking of indication for example can be access device (the map network framework is for example shown in Fig. 2-a), edge router (the map network framework is for example shown in Fig. 2-b), Bras server or be deployed in Dynamic Host Configuration Protocol server and user terminal between other can carry out the equipment of relaying to dhcp message.
Under a kind of application scenarios, user terminal (like the user terminal of PC, portable terminal or other type) can send the request message that is used to ask the distributing IP address in the network insertion process, is its distributing IP address with the request Dynamic Host Configuration Protocol server.The trunking that is deployed between user terminal and the Dynamic Host Configuration Protocol server can receive the request message that is used to ask the distributing IP address that this user terminal sends; Wherein, This is used to ask the request message of distributing IP address for example to can be dhcp request (DHCP Request) message or other is used to ask the request message of distributing IP address; Wherein, this request message portability information such as ID for example.
102, trunking is transmitted this request message to Dynamic Host Configuration Protocol server;
Wherein, Dynamic Host Configuration Protocol server receives after this is used to ask the request message of distributing IP address, is user terminal distributing IP address.If this Dynamic Host Configuration Protocol server is the DHCPv4 server, then this DHCPv4 server can be IPv4 address of above-mentioned user terminal distribution, if Dynamic Host Configuration Protocol server is the DHCPv6 server, then this DHCPv6 server can be IPv6 address of above-mentioned user terminal distribution.
Find in the practice process; Under the scenes such as the for example active and standby switching of Dynamic Host Configuration Protocol server, system restart, IP address assignment algorithm fault or the Dynamic Host Configuration Protocol server system failure; Receive be used to ask the request message of distributing IP address after, Dynamic Host Configuration Protocol server may distribute a conflict IP address for user terminal.
103, trunking receives the request response that this Dynamic Host Configuration Protocol server sends;
Wherein, to carry this Dynamic Host Configuration Protocol server be above-mentioned user terminal IP address allocated to this request response; If this Dynamic Host Configuration Protocol server is the DHCPv4 server, this DHCPv4 server is that above-mentioned user terminal has distributed an IPv4 address, and then this DHCP v4 server is arranged is the IP v4 address that above-mentioned user terminal distributes to request response (like the ACK message) portability; If Dynamic Host Configuration Protocol server is the DHCPv6 server; This DHCPv6 server is that above-mentioned user terminal has distributed an IPv6 address, and then this DHCP v6 server is arranged is the IP v6 address that above-mentioned user terminal distributes to this request response (for example Reply message or Relay_Reply message) portability.
104, trunking detects this IP address according to user's information of reaching the standard grade and whether has distribution conflict;
In practical application; The user that trunking can obtain current user terminal through its access network information of reaching the standard grade; Wherein, User's information of reaching the standard grade can comprise the IP address of user terminal, also can comprise communication port numbers, medium access control (MAC, Media Access Control) address, VLAN (VLAN, the Virtual Local Area Network) sign etc. of this user terminal.Trunking (for example access device etc.) for example can maintenance customer's data management table; It can be recorded in user's information of reaching the standard grade of the user terminal through its access network in this user data management table, and then utilizes this user data management table to come the maintenance management user information of reaching the standard grade.
In practical application, trunking for example can detect in the IP address of current user terminal through its access network whether at least one identical with the IP address that above-mentioned request response is carried; If represent that then there is distribution conflict in the IP address that this request response is carried; If not, represent that then there is not distribution conflict in the IP address that this request response is carried.
If there is distribution conflict, then execution in step 105;
If there is not distribution conflict, then execution in step 106.
105, this request response of trunking termination and notify above-mentioned Dynamic Host Configuration Protocol server this IP address assignment conflict;
In practical application; Trunking for example can send refusal (DECLINE) message of the IP that carries distribution conflict to above-mentioned Dynamic Host Configuration Protocol server; To conflict through this IP address assignment of the above-mentioned Dynamic Host Configuration Protocol server of this DECLINE message notifying; Certainly, trunking also can send other message of the IP that carries distribution conflict to Dynamic Host Configuration Protocol server, to notify above-mentioned Dynamic Host Configuration Protocol server this IP address assignment conflict through this other message.Dynamic Host Configuration Protocol server can be that user terminal distributes this IP address to avoid follow-up with the IP address mark of this distribution conflict for distributing again.
The above-mentioned request response if trunking has terminated; Then above-mentioned user terminal just can not receive this request response; This user terminal for example can resend the request message that is used to ask the distributing IP address after scheduled duration, be its distributing IP address to ask Dynamic Host Configuration Protocol server again.
In addition, have distribution conflict if detect, trunking also can send event alarm message to NM server, and wherein, this event alarm message carries the indication information that there is the IP address assignment collision failure in above-mentioned Dynamic Host Configuration Protocol server; NM server can know in view of the above that there is the IP address assignment collision failure in above-mentioned Dynamic Host Configuration Protocol server, and can start corresponding debug machine system.
106, trunking is transmitted this request response to user terminal.
User terminal is if receive this request response, and then can from this request response, obtain Dynamic Host Configuration Protocol server is its IP address allocated.
Therefore, the trunking in the present embodiment receive that Dynamic Host Configuration Protocol server sends carry the request response that this Dynamic Host Configuration Protocol server is the user terminal IP address allocated after; Detect this IP address according to user's information of reaching the standard grade and whether have distribution conflict; If there is distribution conflict, this request response that then terminates also notifies above-mentioned Dynamic Host Configuration Protocol server this IP address assignment conflict, the request response of the IP address that carries distribution conflict of mailing to user terminal because trunking has terminated; And notify above-mentioned Dynamic Host Configuration Protocol server this IP address assignment conflict; Therefore, user terminal can not obtain the IP address of distribution conflict, and Dynamic Host Configuration Protocol server is also because of having known this IP address assignment conflict; So can avoid that this Dynamic Host Configuration Protocol server is follow-up to be that again this user terminal distributes this conflict IP address; It is thus clear that the present embodiment scheme can effectively solve the problem of Dynamic Host Configuration Protocol server distributing IP address conflict, and then improve the system communication reliability.
Be better to understand and the technical scheme of embodiment of the present invention embodiment, below with for example shown in the 2-a in the network architecture embodiment be that example is introduced.
Referring to Fig. 3, the another kind that the embodiment of the invention provides solves the method for IP address assignment conflict, can comprise:
301, user terminal sends and finds (Discover) message;
302, access device is transmitted above-mentioned Discover message to Dynamic Host Configuration Protocol server;
303, after Dynamic Host Configuration Protocol server receives above-mentioned Discover message, send offer (offer) message;
304, access device is transmitted above-mentioned offer message to user terminal;
305, user terminal sends DHCP Request message;
Wherein, portability ID or the like information for example in the DHCP Request message.
306, access device is transmitted above-mentioned DHCP Request message to Dynamic Host Configuration Protocol server;
307, Dynamic Host Configuration Protocol server is user terminal distributing IP address;
Find in the practice process; Under the scenes such as the for example active and standby switching of Dynamic Host Configuration Protocol server, system restart, IP address assignment algorithm fault or the Dynamic Host Configuration Protocol server system failure; Receive be used to ask the request message of distributing IP address after, Dynamic Host Configuration Protocol server may distribute a conflict IP address for user terminal.
308, Dynamic Host Configuration Protocol server sends and carries the request response message of promising user terminal IP address allocated;
Wherein, If Dynamic Host Configuration Protocol server is the DHCPv4 server; This DHCPv4 server is that above-mentioned user terminal has distributed an IPv4 address, and Dynamic Host Configuration Protocol server can send the ACK message (promptly asking response message is the ACK message) that carries the IPv4 address of distributing for user terminal; If Dynamic Host Configuration Protocol server is the DHCPv6 server; This DHCPv6 server is that above-mentioned user terminal has distributed an IPv6 address, and Dynamic Host Configuration Protocol server can send Reply message or the Relay_Reply message (promptly asking response message is Reply message or Relay_Reply message) that carries the IPv6 address of distributing for user terminal.
309, access device receives and carries the request response message that Dynamic Host Configuration Protocol server is the user terminal IP address allocated, detects according to user's information of reaching the standard grade this Dynamic Host Configuration Protocol server is whether the user terminal IP address allocated exists distribution conflict;
Wherein, owing to be two layers of isolation between the user terminal of access device user side, user terminal self can't detect the IP conflict thereby the communication that possibly influence each other.Therefore, present embodiment is considered both need get rid of the Dynamic Host Configuration Protocol server fault, also can locate the IP address assignment collision failure rapidly on the access device, and then evades Dynamic Host Configuration Protocol server as far as possible and distribute address conflict to cause influencing the problem of communication.
In practical application; The user that access device can obtain current user terminal through its access network information of reaching the standard grade; Wherein, user's information of reaching the standard grade can comprise the IP address of user terminal, also can comprise the communication port numbers, medium access control MAC Address, virtual LAN VLAN sign etc. of this user terminal.Access device for example can maintenance customer's data management table, and it can be recorded in user's information of reaching the standard grade of the user terminal through its access network in this user data management table, and then utilizes the user data management table to come the maintenance management user information of reaching the standard grade.
In practical application, access device for example can detect in the IP address of current user terminal through its access network whether at least one identical with the IP address that above-mentioned request response is carried; If represent that then there is distribution conflict in the IP address that this request response is carried; If not, represent that then there is not distribution conflict in the IP address that this request response is carried.
If there is distribution conflict, then execution in step 310;
If there is not distribution conflict, then execution in step 312.
310, this request response of access device termination and send refusal (DECLINE) message of the IP address of carrying this distribution conflict to Dynamic Host Configuration Protocol server;
In practical application; Access device for example can send the DECLINE message of the IP address that carries distribution conflict to above-mentioned Dynamic Host Configuration Protocol server; To conflict through this IP address assignment of the above-mentioned Dynamic Host Configuration Protocol server of this DECLINE message notifying; Certainly access device equipment also can send other message of the IP address that carries distribution conflict to Dynamic Host Configuration Protocol server, to conflict through this IP address assignment of the above-mentioned Dynamic Host Configuration Protocol server of this other message notifying.Dynamic Host Configuration Protocol server can be that user terminal distributes this IP address to avoid follow-up with the IP address mark of this distribution conflict for distributing again.
The above-mentioned request response if access device has terminated; Then above-mentioned user terminal just can not receive this request response; This user terminal for example can resend DHCP Request message after scheduled duration, be its distributing IP address to ask Dynamic Host Configuration Protocol server again.
311, access device sends event alarm message to NM server;
Wherein, this event alarm message carries the indication information that there is the IP address assignment collision failure in above-mentioned Dynamic Host Configuration Protocol server.NM server can know in view of the above that then there is the IP address assignment collision failure in above-mentioned Dynamic Host Configuration Protocol server, and can start corresponding debug machine system.
Be appreciated that and do not have inevitable sequencing between step 310 and the step 311.
312, access device is transmitted this request response to user terminal.
User terminal is if receive this request response, and then can from this request response, obtain Dynamic Host Configuration Protocol server is its IP address allocated, and this IP address follow-up just capable of using communicates.
Need to prove; Mainly be to be that example is described in the present embodiment with the scheme of utilizing access device to solve to solve the IP address assignment conflict; And utilize for example edge router, Bras server or be deployed in Dynamic Host Configuration Protocol server and user terminal between other can carry out the equipment of relaying to dhcp message, solving the scheme that solves the dhcp server ip address distribution conflict can be by that analogy.
Therefore, the access device in the present embodiment receive that Dynamic Host Configuration Protocol server sends carry the request response that this Dynamic Host Configuration Protocol server is the user terminal IP address allocated after; Detect this IP address according to user's information of reaching the standard grade and whether have distribution conflict; If there is distribution conflict, this request response that then terminates also notifies above-mentioned Dynamic Host Configuration Protocol server this IP address assignment conflict, the request response of the IP address that carries distribution conflict of mailing to user terminal because access device has terminated; And notify above-mentioned Dynamic Host Configuration Protocol server this IP address assignment conflict; Therefore, user terminal can not obtain the IP address of distribution conflict, and Dynamic Host Configuration Protocol server is also because of having known this IP address assignment conflict; So can avoid that this Dynamic Host Configuration Protocol server is follow-up to be that again this user terminal distributes this conflict IP address; It is thus clear that the present embodiment scheme can effectively solve the problem of Dynamic Host Configuration Protocol server distributing IP address conflict, and then improve the system communication reliability.
For ease of the such scheme of the better implement embodiment of the invention, also be provided for implementing the relevant apparatus of said method below.
Referring to Fig. 4-a, the embodiment of the invention a kind of trunking 400 is provided, can comprises: first receiver module 410, first sending module 420, second receiver module 430, collision detection module 440 and conflict control module 450.
Wherein, first receiver module 410 is used to receive the request message that is used to ask the distributing IP address that user terminal sends;
First sending module 420 is used for transmitting above-mentioned request message to Dynamic Host Configuration Protocol server;
Second receiver module 430 is used to receive the request response that above-mentioned Dynamic Host Configuration Protocol server sends, and wherein, it is above-mentioned user terminal IP address allocated that above-mentioned request response carries above-mentioned Dynamic Host Configuration Protocol server;
Wherein, If this Dynamic Host Configuration Protocol server is the DHCPv4 server; This DHCPv4 server can be user terminal and has distributed an IPv4 address, and then request response (like the ACK message) portability that receives of second receiver module 430 has the IP v4 address that this DHCP v4 server distributes for this user terminal; If Dynamic Host Configuration Protocol server is the DHCPv6 server; This DHCPv6 server is that above-mentioned user terminal has distributed an IPv6 address, and then this DHCP v6 server is arranged is the IP v6 address that above-mentioned user terminal distributes to this request response (for example Reply message or Relay_Reply message) portability of receiving of second receiver module 430.
Collision detection module 440 is used for detecting the above-mentioned IP address according to user's information of reaching the standard grade and whether has distribution conflict;
Conflict control module 450 is used for detecting the above-mentioned IP address when having distribution conflict when collision detection module 440, and the above-mentioned request response that terminates is also notified the conflict of above-mentioned Dynamic Host Configuration Protocol server above-mentioned IP address assignment.
Under a kind of application scenarios, user's information of reaching the standard grade for example can comprise: the current IP address of passing through the user terminal of trunking 400 access networks;
Collision detection module 440 can specifically be used for, and whether at least one that detects in the IP address of current user terminal through trunking 400 access networks be identical with the IP address that above-mentioned request response is carried; If represent that then there is distribution conflict in the IP address that above-mentioned request response is carried; If not, represent that then there is not distribution conflict in the IP address that above-mentioned request response is carried.
Referring to Fig. 4-b, under a kind of application scenarios, trunking 400 also comprises:
Alarm module 460; Be used for detecting when having distribution conflict when collision detection module 440; Send event alarm message to NM server, wherein, this event alarm message is carried the indication information that there is the IP address assignment collision failure in above-mentioned Dynamic Host Configuration Protocol server.
Under a kind of application scenarios; Second receiver module 430 can specifically be used for; Receive the ACK message that above-mentioned Dynamic Host Configuration Protocol server sends, wherein, it is the IPv4 address that above-mentioned user terminal distributes that above-mentioned ACK message carries above-mentioned Dynamic Host Configuration Protocol server; Perhaps; Receive relaying Reply message or Relay_Reply message that above-mentioned Dynamic Host Configuration Protocol server sends, it is the IPv6 address that above-mentioned user terminal distributes that this Reply message or Relay_Reply message carry above-mentioned Dynamic Host Configuration Protocol server.
Under a kind of application scenarios, trunking 400 for example can be access device, edge router or Bras server or be deployed in Dynamic Host Configuration Protocol server and user terminal between other can carry out the equipment of relaying to dhcp message.
It is understandable that; The trunking 400 of present embodiment can be like the trunking among the above-mentioned method embodiment; The above-mentioned function of its each functional module can specifically realize according to the method for said method embodiment introduction; Its concrete implementation procedure can repeat no more at this referring to the associated description in the foregoing description.
Therefore, the trunking 400 in the present embodiment receive that Dynamic Host Configuration Protocol server sends carry the request response that this Dynamic Host Configuration Protocol server is the user terminal IP address allocated after; Detect this IP address according to user's information of reaching the standard grade and whether have distribution conflict; If there is distribution conflict; This request response that then terminates also notifies above-mentioned Dynamic Host Configuration Protocol server this IP address assignment conflict; The request response of the IP address that carries distribution conflict of mailing to user terminal because trunking 400 has terminated, and notify above-mentioned Dynamic Host Configuration Protocol server this IP address assignment conflict, therefore; User terminal can not obtain the IP address of distribution conflict; Dynamic Host Configuration Protocol server because of having known this IP address assignment conflict, is this this conflict IP address of user terminal distribution so can avoid this Dynamic Host Configuration Protocol server follow-up more also, and then raising system communication reliability.
The embodiment of the invention also provides a kind of communication system, can comprise: trunking 400.
Referring to Fig. 5, the embodiment of the invention a kind of communication system is provided also, comprises:
Trunking 510 and Dynamic Host Configuration Protocol server 520;
Wherein, trunking 510 is used to receive the request message that is used to ask the distributing IP address that user terminal sends; Transmit this request message to Dynamic Host Configuration Protocol server 520; Receive the request response that this Dynamic Host Configuration Protocol server 520 sends, this request response carries this Dynamic Host Configuration Protocol server 520 and is the user terminal IP address allocated; Detect this IP address according to user's information of reaching the standard grade and whether have distribution conflict; If there is distribution conflict, this request response that then terminates also notifies Dynamic Host Configuration Protocol server 520 these IP address assignment conflicts.
In addition, have distribution conflict if detect, trunking 510 also can send event alarm message to NM server, and wherein, this event alarm message carries the indication information that there is the IP address assignment collision failure in Dynamic Host Configuration Protocol server 520; NM server can know in view of the above that there is the IP address assignment collision failure in Dynamic Host Configuration Protocol server 520, and can start corresponding debug machine system.
The trunking 510 of present embodiment can be like the trunking among the above-mentioned embodiment 400.
Need to prove; For aforesaid each method embodiment, for simple description, so it all is expressed as a series of combination of actions; But those skilled in the art should know; The embodiment of the invention does not receive the restriction of described sequence of movement, because according to the embodiment of the invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, do not have the part that details among certain embodiment, can be referring to the associated description of other embodiment.
To sum up, the trunking in the embodiment of the invention receive that Dynamic Host Configuration Protocol server sends carry the request response that this Dynamic Host Configuration Protocol server is the user terminal IP address allocated after; Detect this IP address according to user's information of reaching the standard grade and whether have distribution conflict; If there is distribution conflict; This request response that then terminates also notifies above-mentioned Dynamic Host Configuration Protocol server this IP address assignment conflict; The request response of the IP address that carries distribution conflict of mailing to user terminal because trunking has terminated, and notify above-mentioned Dynamic Host Configuration Protocol server this IP address assignment conflict, therefore; User terminal can not obtain the IP address of distribution conflict; Dynamic Host Configuration Protocol server because of having known this IP address assignment conflict, is this this conflict IP address of user terminal distribution so can avoid this Dynamic Host Configuration Protocol server follow-up more also, and then raising system communication reliability.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to accomplish through program; This program can be stored in the computer-readable recording medium, and storage medium can comprise: read-only memory, random asccess memory, disk or CD etc.
More than the method for the solution Internet protocol IP address assignment conflict that the embodiment of the invention provided and relevant device and system have been carried out detailed introduction; Used concrete example among this paper principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, to sum up, this description should not be construed as limitation of the present invention.

Claims (11)

1. a method that solves the internet protocol address distribution conflict is characterized in that, comprising:
Trunking receives the request message that is used to ask to distribute internet protocol IP address that user terminal sends;
Transmit described request message to Dynamic Host Configuration Protocol server;
Receive the request response that said Dynamic Host Configuration Protocol server sends, it is said user terminal IP address allocated that this request response is carried said Dynamic Host Configuration Protocol server;
Detect said IP address according to user's information of reaching the standard grade and whether have distribution conflict;
If there is distribution conflict, the described request that then terminates response message also notifies said Dynamic Host Configuration Protocol server said IP address assignment conflict.
2. method according to claim 1 is characterized in that,
Said user's information of reaching the standard grade comprises:
The current IP address of passing through the user terminal of said trunking access network;
Saidly detect said IP address according to user's information of reaching the standard grade and whether have distribution conflict, comprising:
Whether at least one that detects in the IP address of said current user terminal through said trunking access network be identical with the IP address that the described request response message carries; If represent that then there is distribution conflict in the IP address that the described request response message carries; If not, represent that then there is not distribution conflict in the IP address that the described request response message carries.
3. method according to claim 1 is characterized in that,
Said method also comprises:
Have distribution conflict if detect, send event alarm message to NM server, wherein, said event alarm message carries the indication information that there is the IP address assignment collision failure in said Dynamic Host Configuration Protocol server.
4. according to each described method of claim 1 to 3, it is characterized in that,
Saidly notify said Dynamic Host Configuration Protocol server said IP address assignment conflict, comprising:
Carry the refusal Decline message of promising said user terminal IP address allocated to said Dynamic Host Configuration Protocol server transmission.
5. according to each described method of claim 1 to 3; It is characterized in that; The request response that the said Dynamic Host Configuration Protocol server of said reception sends, it is said user terminal IP address allocated that the described request response message carries said Dynamic Host Configuration Protocol server, comprising:
Receive the ACK message that said Dynamic Host Configuration Protocol server sends, it is the IPv4 address that said user terminal distributes that said ACK message carries said Dynamic Host Configuration Protocol server;
Perhaps,
Receive relaying Reply message or Relay_Reply message that said Dynamic Host Configuration Protocol server sends; Wherein, said Reply message or Relay_Reply message carry the IPv6 address that said Dynamic Host Configuration Protocol server is said user terminal distribution.
6. a trunking is characterized in that, comprising:
First receiver module is used to receive the request message that is used to ask the distributing IP address that user terminal sends;
First sending module is used for transmitting described request message to Dynamic Host Configuration Protocol server;
Second receiver module is used to receive the request response that said Dynamic Host Configuration Protocol server sends, and wherein, it is said user terminal IP address allocated that the described request response message carries said Dynamic Host Configuration Protocol server;
The collision detection module is used for detecting said IP address according to user's information of reaching the standard grade and whether has distribution conflict;
The conflict control module is used for detecting said IP address when having distribution conflict when said collision detection module, and the described request response message that terminates also notifies said Dynamic Host Configuration Protocol server said IP address assignment conflict.
7. trunking according to claim 6 is characterized in that,
Said user's information of reaching the standard grade comprises:
The current IP address of passing through the user terminal of said trunking access network;
Said collision detection module specifically is used for, and whether at least one that detects in the IP address of said current user terminal through said trunking access network be identical with the IP address that the described request response message carries; If represent that then there is distribution conflict in the IP address that the described request response message carries; If not, represent that then there is not distribution conflict in the IP address that the described request response message carries.
8. trunking according to claim 6 is characterized in that, also comprises:
Alarm module; Be used for detecting when having distribution conflict when said collision detection module; Send event alarm message to NM server, wherein, said event alarm message is carried the indication information that there is the IP address assignment collision failure in said Dynamic Host Configuration Protocol server.
9. according to each described trunking of claim 6 to 8, it is characterized in that,
Said second receiver module specifically is used for, and receives the ACK message that said Dynamic Host Configuration Protocol server sends, and wherein, it is the IPv4 address that said user terminal distributes that said ACK message carries said Dynamic Host Configuration Protocol server; Perhaps; Receive relaying Reply message or Relay_Reply message that said Dynamic Host Configuration Protocol server sends, it is the IPv6 address that said user terminal distributes that this Reply message or Relay_Reply message carry said Dynamic Host Configuration Protocol server.
10. according to each described trunking of claim 6 to 8, it is characterized in that said trunking is access device, edge router or Bras server.
11. a communication system is characterized in that, comprising:
Like each described trunking of claim 6 to 10.
CN2011800020743A 2011-10-17 2011-10-17 Method for solving internet protocol address assignment conflict and related device and system Pending CN102439949A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/080830 WO2012163007A1 (en) 2011-10-17 2011-10-17 Method for solving internet protocol address allocation conflict and related device and system thereof

Publications (1)

Publication Number Publication Date
CN102439949A true CN102439949A (en) 2012-05-02

Family

ID=45986279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011800020743A Pending CN102439949A (en) 2011-10-17 2011-10-17 Method for solving internet protocol address assignment conflict and related device and system

Country Status (2)

Country Link
CN (1) CN102439949A (en)
WO (1) WO2012163007A1 (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905580A (en) * 2012-12-29 2014-07-02 重庆重邮信科通信技术有限公司 Method and system for allowing PC to configure network addresses and send and receive data through mobile terminal
CN104410727A (en) * 2014-11-20 2015-03-11 中国联合网络通信集团有限公司 Address distributing method, client terminal, server and address distributing system
CN105610962A (en) * 2016-01-15 2016-05-25 华洋通信科技股份有限公司 Anti-conflict mobile terminal IP address allocation relay equipment and method
CN105657075A (en) * 2014-11-11 2016-06-08 中兴通讯股份有限公司 IP collision detection and processing method, wireless hot spot device
CN106254571A (en) * 2016-08-05 2016-12-21 杭州华三通信技术有限公司 A kind of client ip address distribution method and device
WO2017000128A1 (en) * 2015-06-29 2017-01-05 华为技术有限公司 Internet protocol address allocation method and relay device
CN108377275A (en) * 2018-02-11 2018-08-07 厦门卓讯信息技术有限公司 Network safety protection method based on neural network algorithm
CN108712513A (en) * 2018-03-27 2018-10-26 广东欧珀移动通信有限公司 network address setting method, device, terminal device and storage medium
CN108712514A (en) * 2018-04-28 2018-10-26 新华三技术有限公司 IP address management method, apparatus and electronic equipment
CN108712522A (en) * 2018-07-20 2018-10-26 新华三技术有限公司 IP address distribution method and device
CN110022383A (en) * 2019-04-10 2019-07-16 广州热点软件科技股份有限公司 Address management method and system
CN110190978A (en) * 2018-02-23 2019-08-30 中兴通讯股份有限公司 A kind of method, first routing device and storage medium avoiding conflict
CN112866431A (en) * 2021-01-19 2021-05-28 北京自如信息科技有限公司 IP address allocation method and device and computer equipment
CN114338608A (en) * 2021-12-30 2022-04-12 深圳市捷顺科技实业股份有限公司 Ad hoc network communication method, device and system
CN114363296A (en) * 2020-09-30 2022-04-15 大唐移动通信设备有限公司 Address conflict detection method, user plane network element and control plane network element
CN114513491A (en) * 2020-10-28 2022-05-17 华为技术有限公司 Method, device and system for obtaining address

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888551B (en) * 2012-12-19 2017-09-12 华为技术有限公司 Internet Protocol address acquisition methods, trunking and system in a kind of network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845554A (en) * 2005-12-06 2006-10-11 华为技术有限公司 Control method for dynamically distributing IP address in 3G network
EP2037659A2 (en) * 2007-08-04 2009-03-18 Hirschmann Automation and Control Gmbh Method for configuring DHCP server using DHCP option 82
CN101951417A (en) * 2010-09-21 2011-01-19 北京星网锐捷网络技术有限公司 Method, system and trunk equipment for assigning multiple server addresses
CN102143242A (en) * 2010-10-21 2011-08-03 华为技术有限公司 IP (internet protocol) network address allocation method, IP network address allocation equipment and IP network address allocation system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1184776C (en) * 2002-02-07 2005-01-12 华为技术有限公司 Method for the point-to-point protocol log-on user to obtain Internet protocol address

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845554A (en) * 2005-12-06 2006-10-11 华为技术有限公司 Control method for dynamically distributing IP address in 3G network
EP2037659A2 (en) * 2007-08-04 2009-03-18 Hirschmann Automation and Control Gmbh Method for configuring DHCP server using DHCP option 82
CN101951417A (en) * 2010-09-21 2011-01-19 北京星网锐捷网络技术有限公司 Method, system and trunk equipment for assigning multiple server addresses
CN102143242A (en) * 2010-10-21 2011-08-03 华为技术有限公司 IP (internet protocol) network address allocation method, IP network address allocation equipment and IP network address allocation system

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905580A (en) * 2012-12-29 2014-07-02 重庆重邮信科通信技术有限公司 Method and system for allowing PC to configure network addresses and send and receive data through mobile terminal
CN103905580B (en) * 2012-12-29 2018-02-27 锐迪科(重庆)微电子科技有限公司 PC passes through mobile terminal configuration network address, transceiving data method and system
CN105657075A (en) * 2014-11-11 2016-06-08 中兴通讯股份有限公司 IP collision detection and processing method, wireless hot spot device
CN104410727B (en) * 2014-11-20 2018-03-23 中国联合网络通信集团有限公司 Address distribution method, client, server and address allocation system
CN104410727A (en) * 2014-11-20 2015-03-11 中国联合网络通信集团有限公司 Address distributing method, client terminal, server and address distributing system
WO2017000128A1 (en) * 2015-06-29 2017-01-05 华为技术有限公司 Internet protocol address allocation method and relay device
CN107615723A (en) * 2015-06-29 2018-01-19 华为技术有限公司 A kind of Internet protocol address distribution method and trunking
EP3301875A4 (en) * 2015-06-29 2018-05-23 Huawei Technologies Co., Ltd. Internet protocol address allocation method and relay device
CN105610962A (en) * 2016-01-15 2016-05-25 华洋通信科技股份有限公司 Anti-conflict mobile terminal IP address allocation relay equipment and method
CN106254571A (en) * 2016-08-05 2016-12-21 杭州华三通信技术有限公司 A kind of client ip address distribution method and device
CN106254571B (en) * 2016-08-05 2020-12-18 新华三技术有限公司 Client IP address allocation method and device
CN108377275A (en) * 2018-02-11 2018-08-07 厦门卓讯信息技术有限公司 Network safety protection method based on neural network algorithm
CN108377275B (en) * 2018-02-11 2021-08-31 北京泰和利通科技有限公司 Network security protection method based on neural network algorithm
CN110190978A (en) * 2018-02-23 2019-08-30 中兴通讯股份有限公司 A kind of method, first routing device and storage medium avoiding conflict
CN108712513A (en) * 2018-03-27 2018-10-26 广东欧珀移动通信有限公司 network address setting method, device, terminal device and storage medium
CN108712513B (en) * 2018-03-27 2021-09-17 Oppo广东移动通信有限公司 Network address setting method and device, terminal equipment and storage medium
CN108712514A (en) * 2018-04-28 2018-10-26 新华三技术有限公司 IP address management method, apparatus and electronic equipment
CN108712522B (en) * 2018-07-20 2021-06-29 新华三技术有限公司 IP address allocation method and device
CN108712522A (en) * 2018-07-20 2018-10-26 新华三技术有限公司 IP address distribution method and device
CN110022383A (en) * 2019-04-10 2019-07-16 广州热点软件科技股份有限公司 Address management method and system
CN110022383B (en) * 2019-04-10 2022-03-25 广州热点软件科技股份有限公司 Address management method and system
CN114363296A (en) * 2020-09-30 2022-04-15 大唐移动通信设备有限公司 Address conflict detection method, user plane network element and control plane network element
CN114363296B (en) * 2020-09-30 2023-07-25 大唐移动通信设备有限公司 Address conflict detection method, user plane network element and control plane network element
CN114513491A (en) * 2020-10-28 2022-05-17 华为技术有限公司 Method, device and system for obtaining address
CN114513491B (en) * 2020-10-28 2023-04-11 华为技术有限公司 Method, device and system for obtaining address
CN112866431A (en) * 2021-01-19 2021-05-28 北京自如信息科技有限公司 IP address allocation method and device and computer equipment
CN114338608A (en) * 2021-12-30 2022-04-12 深圳市捷顺科技实业股份有限公司 Ad hoc network communication method, device and system

Also Published As

Publication number Publication date
WO2012163007A1 (en) 2012-12-06

Similar Documents

Publication Publication Date Title
CN102439949A (en) Method for solving internet protocol address assignment conflict and related device and system
CN102647486B (en) Address distribution method, equipment and system
CN101534329B (en) IP address assignment method and system
CN109586972B (en) Access method and system of user terminal equipment and broadband network gateway
CN104902443B (en) A kind of method and apparatus of communication
CN102246461B (en) Method, apparatus and system for duplicate address detection proxy
CN101771612B (en) Tunnel establishing method, equipment and network system
CN102984288B (en) A kind of method and system of automatic management IPv6 address conflicts
CN106559292A (en) A kind of broad band access method and device
CN102843441B (en) Method and device for controlling address configuration way
CN102420762B (en) Message forwarding method, message forwarding system, network equipment and firewall wire card
CN106330723B (en) Discovery method and device of network neighbor equipment
US9992159B2 (en) Communication information detecting device and communication information detecting method
CN101378347A (en) Method for managing terminal roaming and multi-scene
CN103516599A (en) Host finding method, network device, and host
CN102006268A (en) Method, equipment and system for switching main interface and standby interface
CN101621455A (en) Method for managing network equipment, network management station and network management equipment
CN101909007B (en) Production method, device and network equipment of binding table
CN105188047A (en) Wifi wireless roaming Internet access method and mobile terminal
CN102025797A (en) Address prefix processing method, device, system and network equipment
CN107634907B (en) Data forwarding method and device for L2VPN (layer two virtual private network)
CN104579809B (en) The detection method and equipment of a kind of stacking splitting
CN105827420A (en) Method and device for identifying illegal servers
CN102868616A (en) Method for establishing virtual MAC (Media Access Control) address table item in network as well as router and system
CN106357532B (en) Message response method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120502