CN105227694A - For realizing the device and method of IPv6 prefix assignment - Google Patents

For realizing the device and method of IPv6 prefix assignment Download PDF

Info

Publication number
CN105227694A
CN105227694A CN201510655681.XA CN201510655681A CN105227694A CN 105227694 A CN105227694 A CN 105227694A CN 201510655681 A CN201510655681 A CN 201510655681A CN 105227694 A CN105227694 A CN 105227694A
Authority
CN
China
Prior art keywords
prefix
user
user terminal
state
ipv6
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.)
Granted
Application number
CN201510655681.XA
Other languages
Chinese (zh)
Other versions
CN105227694B (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201510655681.XA priority Critical patent/CN105227694B/en
Publication of CN105227694A publication Critical patent/CN105227694A/en
Application granted granted Critical
Publication of CN105227694B publication Critical patent/CN105227694B/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
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses

Landscapes

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

Abstract

The present invention relates to the communications field, disclosing a kind of device and method for realizing IPv6 prefix assignment.Does wherein said device comprise: receiver, for receiving the RS (Router sent by user terminal? Solicitation, router solicitation) message; Processor, for coming for described user terminal distributing IP v6 prefix according to the distribution state of the multiple IPv6 prefixes comprised in described RS message and this processor, wherein said multiple IPv6 prefix comprises single user prefix and multi-user's prefix; And transmitter, for sending the IPv6 prefix of distributing to described user terminal.

Description

For realizing the device and method of IPv6 prefix assignment
Technical field
The present invention relates to the communications field, particularly, relating to a kind of device and method for realizing IPv6 prefix assignment.
Background technology
IPv6 (InternetProtocolVersion6) is second generation Internet protocol, for replacing IPv4 (InternetProtocolVersion4) agreement of current use.The maximum feature of IPv6 agreement self is that address space significantly expands, and codified position, is equivalent to extend 2 to 128 by 32 Bits Expanding of IPv4 96doubly.
IPv6 address includes three types, is unicast address respectively, and multicast address broadcasts address with appointing.So-called unicast address, refers to the address uniquely determining a certain equipment; So-called multicast address, refers to the address that correspond to multiple devices; Broadcast address for so-called, refer within the scope of given multiple devices, correspond to the address of wherein any equipment, appoint and broadcast address and can be understood as unicast address within the specific limits.
Wherein, for the unicast address of IPv6, according to the scope of application of address, it can continue to be divided into link local address, site-local address, global unicast address etc.Link local address acts on concrete a certain link, do not participate in routing forwarding, be generally used for the neighbor learning of link-local.Link local address generally starts with FE80.Site-local address current substantially need not, mainly in order to realize keeping compatible with passing and exist.Site-local address is for Intra-site addressing, generally starts with FEC0.Global unicast address can carry out the address of communication with any main frame in outside, participates in routing forwarding.
In this article, if subsequent treatment does not indicate, then IPv6 address all refers to global unicast address, and corresponding prefix also refers to the prefix of IPv6 global unicast address.
IPv6 address is the same with IPv4 in formation, adopts network prefix to add host identification.In order to avoid IPv4 prefix assignment irrationality and cause the serious inequality of address assignment, IPv6 address prefix is generally 48 IPv6 prefixes of a distribution regular length, follow-up by user oneself subnet division, and the length of subnet prefix is 16.Like this, for arbitrary user, it is all fair that prefix obtains, and is always 48.
Because front 48 prefix lengths are generally fixed allocation, user oneself cannot determine.Therefore the prefix assignment said herein, refer to the assignment problem of the subnet prefix of latter 16.
With regard to current existing prefix assignment scheme, be mainly divided into following a few class:
(1) at a concrete Intra-site, distributed by ND (NeighborDiscovery, neighbor uni-cast) agreement.ND agreement, defines IPv6 and carries out two layers of neighbor learning at same link-local, and prefix learns, the implementation of the correlation functions such as router study.Each main frame obtains prefix by router, and generates respective global unicast address according to prefix, and then and PERCOM peripheral communication.Here the mode obtaining prefix mainly contains two kinds:
Mode 1: router periodic broadcasting RA (RouterAdvertisement, router advertisement) message is to terminal, corresponding broadcast RA message can carry corresponding prefix information, after terminal gets this prefix information, namely utilizes this prefix to generate corresponding global unicast address.
Mode 2: after a certain main frame associates with router, now initiatively can send RS (RouterSolicitation, router solicitation) message, and router is after receiving RS message, and feedback clean culture RA message is to terminal.After terminal gets prefix, generate global unicast address.
The advantage of this prefix assignment mode is: carry out prefix assignment based on IPv6ND agreement, realizes simple, supports IPv6 function, just all can support this prefix assignment mode as long as general.Do not need the support that user terminal and server provide extra.
Shortcoming: this prefix assignment mode is the prefix of each terminal distribution is all identical, cannot reach the object utilizing prefix to identify user.
(2) by DHCPv6 (DynamicHostConfigurationProtocolforIPv6, DHCP for IPv6) protocol realization, when being user distributing IP v6 prefix by DHCPv6, different prefixes can be distributed for different users.
Principle: user terminal, by as client, sends prefix application message to DHCPv6 service end, the request of DHCPv6 service end foundation client, makes suitable judgement, if client-requested meets current judgement, then feeds back a prefix information to user terminal.
Advantage: different prefixes can be distributed for different users.Be convenient to utilize prefix to distinguish user.In this prefix assignment method, the interactive means of user terminal and service end is abundanter, client can with service end mutual from prefix, redistribute identical prefix to prevent service end.Finally, which autgmentability is better, utilizes relaying technique, can realize DHCPv6 service end and client no longer the same network segment time prefix assignment function.
Shortcoming: relative complex in realization, needs to support DHCPv6 agreement.The method is not also suitable for arbitrary terminal, such as use windowxp comparatively widely, does not just support DHCPv6 client functionality.
(3) being distributed by certain strategy, namely by specifying certain rule, distributing to the prefix of user according to generate rule.
Principle: this technology combines and expansion the one of method (1) and method (2).By setting certain rule, determine the distribution object of prefix.User terminal can be divided into some groups according to rule, different component joins different prefixes, and the user terminal in group obtains identical prefix.In addition, can judge to only have user's correlated characteristic to meet demand to user characteristics, just can be user and distribute a prefix.
Advantage: prefix assignment mode substantially envisages the feature of user, the control for user behavior is stronger.
Shortcoming: realize the most complicated, the service end as prefix assignment needs to judge the feature of user, and needs to preserve a rule base.
In sum, in above-mentioned three kinds of allocative decisions, scheme (1) can not realize utilizing prefix to identify user, and scheme (2) needs to rely on concrete application terminal to complete prefix assignment, and the implementation method of scheme (3) is too simple.Therefore, the present invention is devoted to realize a kind ofly neither to rely on concrete application terminal, can reach again the object utilizing prefix to identify user, realize easy prefix assignment mode simultaneously.
Summary of the invention
The object of this invention is to provide a kind of device and method for realizing IPv6 prefix assignment, it can realize IPv6 prefix dynamic assignment, and realizes easy, disposes quick.
To achieve these goals, the invention provides a kind of device for realizing IPv6 prefix assignment, this device comprises: receiver, for receiving RS (RouterSolicitation, the router solicitation) message sent by user terminal; Processor, for coming for described user terminal distributing IP v6 prefix according to the distribution state of the multiple IPv6 prefixes comprised in described RS message and this processor, wherein said multiple IPv6 prefix comprises single user prefix and multi-user's prefix; And transmitter, for sending the IPv6 prefix of distributing to described user terminal.
Correspondingly, the present invention also provides a kind of method for realizing IPv6 prefix assignment, and the method comprises: receive RS (RouterSolicitation, the router solicitation) message sent by user terminal; Distribution state according to described RS message and multiple IPv6 prefix is come for described user terminal distributing IP v6 prefix, and wherein said multiple IPv6 prefix comprises single user prefix and multi-user's prefix; And the IPv6 prefix of distributing is sent to described user terminal.
Pass through technique scheme, distribution state according to RS message and multiple IPv6 prefix (being divided into single user prefix and multi-user's prefix) is come for user terminal distributing IP v6 prefix, following advantage can be realized: (1) prefix assignment of the present invention mode can realize as far as possible for different user distributes different prefix, by prefix, user is separated and Behavior-Based control, reach the object that prefix can be utilized to identify user; (2) prefix assignment mode of the present invention does not rely on concrete application terminal and realizes, as long as support IPv6 function, just all can support prefix assignment mode provided by the present invention, not need the support that user terminal and server provide extra; (3) prefix assignment mode of the present invention can complete prefix assignment based on ND agreement or based on DHCPv6 agreement, realizes easy, disposes quick.
Other features and advantages of the present invention are described in detail in embodiment part subsequently.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, is used from explanation the present invention, but is not construed as limiting the invention with embodiment one below.In the accompanying drawings:
Fig. 1 shows the structural representation of the device for realizing IPv6 prefix assignment provided by the invention;
Fig. 2 shows the transition diagram between the distribution state of IPv6 prefix and each state;
Fig. 3 shows the schematic flow sheet that the present invention realizes IPv6 prefix assignment; And
Fig. 4 shows the schematic flow sheet reclaiming IPv6 prefix.
Description of reference numerals
10 receiver 20 processors
30 transmitters
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail.Should be understood that, embodiment described herein, only for instruction and explanation of the present invention, is not limited to the present invention.
Fig. 1 shows the structural representation of the device for realizing IPv6 prefix assignment provided by the invention.As shown in Figure 1, the device for realizing IPv6 prefix assignment provided by the invention, this device can comprise: receiver 10, for receiving RS (RouterSolicitation, the router solicitation) message sent by user terminal; Processor 20, for coming for described user terminal distributing IP v6 prefix according to the distribution state of the multiple IPv6 prefixes comprised in described RS message and this processor, wherein said multiple IPv6 prefix comprises single user prefix and multi-user's prefix; And transmitter 30, for sending the IPv6 prefix of distributing to described user terminal.Wherein, single user prefix refers to the IPv6 prefix only can distributing to unique user, and multi-user's prefix refers to the IPv6 prefix can distributing to multiple user.
Hereinafter and above mentioned term " IPv6 prefix " and " prefix ", the subnet prefix of latter 16 in IPv6 global unicast address prefix is all referred to.
Fig. 2 shows the transition diagram between the distribution state of IPv6 prefix and each state; As shown in Figure 2, the distribution state of IPv6 prefix can be divided into 3 kinds: state that (1) is unallocated, refers to that a prefix does not associate the state of any user terminal; (2) can to reallocate state, to refer to that a prefix is associated with user terminal, but still can continue to distribute to the state that other user terminal carries out associating, obviously, state of can reallocating is only effective for multi-user's prefix; (3) can not to reallocate state, refer to that a prefix can not be reallocated to other user, namely, for single user prefix, can not the state of reallocating refer to single user prefix associated user terminal, for multi-user's prefix, can not the state of reallocating refer to that the user terminal number that multi-user's prefix associates has reached its maximum number that can associate.
With further reference to Fig. 2, arrow 1 represents, to be in multi-user's prefix assignment of unallocated state to user terminal, and the user terminal associated by multi-user's prefix does not reach maximum associates number, then the distribution state of this multi-user's prefix by unallocated state-transition for state can be reallocated; Arrow 2 represents, to multi-user's prefix assignment of state of can reallocating be in user terminal, and the user terminal associated by multi-user's prefix reaches maximum associates number, then the distribution state of this multi-user's prefix by state-transition of can reallocating for state can not be reallocated; Arrow 3 represents, reclaims and is in multi-user's prefix of state of can not reallocating, and this user terminal number associated by multi-user's prefix is non-vanishing, then the distribution state of this multi-user's prefix by state-transition of can not reallocating for state can be reallocated; Arrow 4 represents, reclaim the multi-user's prefix being in state of can reallocating, and the user terminal number associated by multi-user's prefix after this recovery is zero, then the distribution state of this multi-user's prefix is unallocated state by state-transition of can reallocating; Arrow a represents, will be in the single user prefix assignment of unallocated state to client, then the distribution state of this single user prefix is state of can not reallocating by unallocated state-transition; Arrow b represents, the single user prefix being in state of can not reallocating regained, then the distribution state of this single user prefix is unallocated state by state-transition of can not reallocating.
In actual applications, the device for realizing IPv6 prefix assignment provided by the invention can realize prefix assignment based on ND agreement, to reach the easy of prefix assignment realization.But ND agreement self can carry out prefix assignment by the mode of RA multicast, therefore, by ND protocol application in time of the present invention, first must forbid ND agreement RA multicast prefix assignment function, avoid distributing identical prefix to all users.
First, need to carry out initialization to processor 20, for processor 20 configures a prefix source, this prefix includes multiple IPv6 prefix can distributing to user terminal in source, and preferably, this prefix source can be a prefix pond.
Wherein, described multiple IPv6 prefix comprises single user prefix and multi-user's prefix, and the initialization procedure of processor 20 also comprises the occupation proportion MPP (Multi-userPrefixPercentage) of predefine multi-user prefix.The numerical value of MPP can be set to can by dynamic adjustments, and its concrete numerical value can be determined according to described multiple quantity can distributing to the IPv6 prefix of user terminal.In theory, the quantity of distributable IPv6 prefix is more, and the numerical value of MPP is less, otherwise the numerical value of MPP is larger.In actual use, the numerical value of MPP should be the smaller the better, has different IPv6 prefixes to reach different user terminals as far as possible.
In addition, processor 20 initialization procedure also comprise according to predefined MPP value, prefix is originated in each IPv6 prefix be designated single user prefix or multi-user's prefix, and the state of each IPv6 prefix is all designated unallocated state.When identifying multi-user's prefix, need to identify the user terminal number N MP (userNumberperMulti-userPrefix) that multi-user's prefix can be assigned with simultaneously, in initialization procedure, NMP can be set to less data by processor 20, as 2, and processor 20 need this NMP to be set to can by dynamic adjustments.
For multi-user's prefix, because same prefix assignment gives multiple user terminal, therefore out of Memory is also needed to realize the unique confirmation to user terminal, these information can be the MAC (MediumAccessControl of link local address or user terminal, medium education) address etc., repeat no more here.
Fig. 3 shows the schematic flow sheet that the present invention realizes IPv6 prefix assignment.As shown in Figure 3, when user terminal needs configuration global unicast address, need to send RS message, receiver 10 receives this RS message, after receiving this RS message, first processor 20 checks whether active user's terminal has been associated with certain prefix arbitrarily, as long as relevant, then user terminal distributes new prefix no longer for this reason, but continues to notice original distribution prefix to user terminal.In principle, a user terminal sends RS message, after receiving RA message, can't continue to send RS message, but under some abnormal conditions, still likely.The RA message that such as should receive when user terminal does not receive, and causes the route-map of self aging, and this can activated user terminal continue to send RS message to obtain route-map; Also have a kind of situation to be that user terminal self breaks down, after fault recovery, send RS message to obtain route-map, prefix information etc.The prefix of distributing to some extent and the user terminal associated by this prefix is recorded in processor 20, when checking whether user terminal had associated certain prefix any, only need in processor 20, search the respective record whether had about this user terminal and associated prefix thereof.
When active user's terminal does not associate any prefix, processor 20 detects the distribution state of single user prefix and multi-user's prefix in prefix source, when having the single user prefix being in unallocated state in current prefix source, processor 20 is the single user prefix that described user terminal distributes that is in a unallocated state; In current prefix source, not there is the single user prefix being in unallocated state, but when there is the multi-user's prefix being in unallocated state, for described user terminal distributes multi-user's prefix that is in unallocated state; And in current prefix source, not there is the single user prefix or multi-user's prefix that are in unallocated state, when but there is the multi-user's prefix being in state of can reallocating, for described user terminal distributes multi-user's prefix that is in state of can reallocating.
When current not there is the single user prefix that is in unallocated state and the user terminal number that multi-user's prefix is assigned with all reaches predefine NMP, processor 20 needs the numerical value heightening MPP and/or NMP, to produce the multi-user's prefix being in state of can reallocating.Preferably, the numerical value of MPP can be increased by 5%, or preferably, the numerical value of NMP is adjusted to original 2 times.Correspondingly, after the numerical value of adjustment MPP, processor 20 needs the single user prefix of the respective number corresponding to MPP institute added value to be designated multi-user's prefix, and the state of multi-user's prefix of new logo is set to state of can reallocating.After the numerical value of adjustment NMP, need the state of multi-user's prefix to be set to state of can reallocating.
For the prefix that each distributes, processor 20 needs the message interaction detecting the user terminal be associated with this prefix in real time, wherein, this message interaction comprises: user terminal and for realize IPv6 prefix assignment device between message interaction, or user terminal is by the message interaction between described device for realizing IPv6 prefix assignment and miscellaneous equipment.Processor 20 does not detect described message interaction in the first time predefined, then reclaim the prefix corresponding to this user terminal.Preferably, in order to ensure the correctness that prefix reclaims and reliability, when described message interaction not detected within described first time predefined, processor 20 also needs to send user's probe messages to described user terminal, the transmission times of described user's probe messages exceedes preset times and described processor 20 does not receive the respective feedback of described user terminal, then reclaim the prefix corresponding to this user terminal.Here probe messages has a variety of mode, can be the most simply by NS (NeighborSolicitation, neighbor request) message is as probe messages, if the NA (NeighborAdvertisement of user terminal can be received, neighbor advertisement) message, then think that user terminal is active, without the need to reclaiming prefix.
Particularly, Fig. 4 shows the schematic flow sheet reclaiming IPv6 prefix.As shown in Figure 4, processor 20 can arrange one and initiatively detect clock in initialization procedure, this initiatively detects clock for detecting the message interaction of user terminal, and arranges the time-out time that this initiatively detects clock simultaneously, i.e. the first time predefined above.Hereafter this is initiatively detected clock to be called and to detect clock alternately, the time-out time of mutual detecting clock is unsuitable long, otherwise can not reach the object reclaiming prefix fast, but can not be too short, otherwise easily activated user detects and then sends too much useless probe messages, causes network congestion.Preferably, the time-out time of mutual detecting clock can be set to 5 minutes.Wherein, mutual detecting clock comes into force for particular user terminal.At the non-time-out period of mutual detecting clock, if detect that user terminal there occurs message interaction, then again reset and detect clock alternately.
In the time-out time of mutual detecting clock, if user terminal does not carry out any message interaction, then need the validity detecting this user terminal.Processor 20 can arrange user's detecting clock and arrange its time-out time in initialization procedure, hereinafter referred to as user's detecting clock, and after this user's detecting clock time-out, processor 20 sends user's probe messages to user terminal.The time-out time of user's detecting clock should not arrange long or too short equally, and it can be 1/10th of the time-out time of mutual detecting clock, preferably, can value be 30 seconds.Wherein, user's detecting clock comes into force for particular user terminal.
After the number of times sending user's probe messages to user terminal exceedes preset times, processor 20 does not still receive the respective feedback of described user terminal, then think that this user terminal loses association, can reclaim the prefix associated by this user terminal.Here, the main purpose arranging user's detecting clock is the correct and reliable of guarantee prefix recovery.Preferably, the number of times sending user's probe messages can be set to 3 times.
In addition, if processor 20 detects that the IPv6 neighbours of the link local address of the user terminal associated with corresponding prefix are deleted, then processor 20 detects the validity of this user terminal immediately, even if it is not overtime now to detect clock alternately.
When reclaimed prefix is single user prefix, the state of this single user prefix is set to unallocated state by processor 20; When reclaimed prefix is the multi-user's prefix being in state of can reallocating, if the number of users of this prefix association is 0 after reclaiming, then the state of this multi-user's prefix is set to unallocated state by processor 20, otherwise it is constant to maintain the original state; Be the multi-user's prefix being in state of can not reallocating in reclaimed prefix, then the state of this multi-user's prefix is set to state of can reallocating by processor 20.
After executing prefix and reclaiming, if unappropriated prefix accounting exceeds predetermined value after recovery prefix, this predetermined value is preferably numerical value 1-MPP, and/or it is larger than predefined MPP value to reclaim MPP value corresponding to moment, this illustrates, after prefix reclaims, the prefix can distributing to user is more abundant, now, processor 20 correspondingly can reduce the value of current MPP and/or current NMP.Preferably, the value of MPP can reduce by 5%, or the value of NMP can be reduced to original half.
After the value reducing MPP, processor 20 is also for being designated single user prefix by the multi-user's prefix corresponding to MPP decreasing value number.After the value reducing NMP, when NMP value after processor 20 is also more than or equal to reduction for the user terminal number current distributed in multi-user's prefix, be can not distribution state by the status indicator of this multi-user's prefix.Meanwhile; the user terminal number that multi-user's prefix is current distributed is greater than to the situation of the NMP value after reduction; prefix can't be performed reclaim; but keep prefix associated user number to be greater than the state of the NMP value after reduction, until the mode that the prefix of this terminal use distribution is reclaimed by above-mentioned prefix is normally reclaimed.
In addition, the device for realizing IPv6 prefix assignment provided by the invention also can reach the effect of prefix assignment based on DHCPv6 agreement.
Preferably, prefix assignment mode provided by the present invention also can act on the distribution of address.Namely on the basis of prefix, supplement concrete host id, for the user terminal using same prefix, different host ids can be distributed for it, and then the realization object that utilizes prefix to identify user completely.
Correspondingly, the present invention also provides a kind of method for realizing IPv6 prefix assignment, and the method comprises: receive RS (RouterSolicitation, the router solicitation) message sent by user terminal; Distribution state according to described RS message and multiple IPv6 prefix for distributing to user terminal is come for described user terminal distributing IP v6 prefix, and wherein said multiple IPv6 prefix comprises single user prefix and multi-user's prefix; And the IPv6 prefix of distributing is sent to described user terminal.The party's ratio juris is similar to the operation principle of the above-mentioned device for realizing IPv6 prefix assignment, repeats no more here.
Device and method for realizing IPv6 prefix assignment provided by the invention can realize, as far as possible for different user terminals distributes different prefix, being separated and Behavior-Based control user terminal by prefix.When lacking prefix, adopt multi-user's prefix to be that a small amount of user distributes identical prefix, and when available prefix quantity is enough, again recover the different prefix of different user terminals.For distributing to user terminal but not having can be reclaimed fast and accurately by the prefix used again, and then realize utilizing prefix resource fully.
Below the preferred embodiment of the present invention is described in detail by reference to the accompanying drawings; but; the present invention is not limited to the detail in above-mentioned execution mode; within the scope of technical conceive of the present invention; can carry out multiple simple variant to technical scheme of the present invention, these simple variant all belong to protection scope of the present invention.
It should be noted that in addition, each concrete technical characteristic described in above-mentioned embodiment, in reconcilable situation, can be combined by any suitable mode, in order to avoid unnecessary repetition, the present invention illustrates no longer separately to various possible compound mode.
In addition, also can carry out combination in any between various different execution mode of the present invention, as long as it is without prejudice to thought of the present invention, it should be considered as content disclosed in this invention equally.

Claims (10)

1. for realizing a device for IPv6 prefix assignment, it is characterized in that, this device comprises:
Receiver, for receiving RS (RouterSolicitation, the router solicitation) message sent by user terminal;
Processor, for coming for described user terminal distributing IP v6 prefix according to the distribution state of the multiple IPv6 prefixes comprised in described RS message and this processor, wherein said multiple IPv6 prefix comprises single user prefix and multi-user's prefix; And
Transmitter, for sending the IPv6 prefix of distributing to described user terminal.
2. device according to claim 1, is characterized in that, described processor for perform following in one:
When current there is the single user prefix being in unallocated state, for described user terminal distributes the single user prefix that is in unallocated state;
Current, not there is the single user prefix being in unallocated state, but when there is the multi-user's prefix being in unallocated state, for described user terminal distributes multi-user's prefix that is in unallocated state; And
Current, not there is the single user prefix or multi-user's prefix that are in unallocated state, but when there is the multi-user's prefix being in state of can reallocating, for described user terminal distributes multi-user's prefix that is in state of can reallocating.
3. device according to claim 1, is characterized in that, described processor also for:
When current not there is the single user prefix that is in unallocated state and the user terminal number that described multi-user's prefix is assigned with all reaches number of users NMP (userNumberperMulti-userPrefix) that predefined multi-user's prefix can be assigned with, heighten multi-user's prefix occupation proportion MPP (Multi-userPrefixPercentage) and/or NMP, to produce the multi-user's prefix being in state of can reallocating.
4., according to the device in claim 1-3 described in any one claim, it is characterized in that, described processor also for:
For the IPv6 prefix that each distributes, detect the message interaction of the user terminal be associated with this IPv6 prefix; And
When there is following one, reclaim the IPv6 prefix corresponding to this user terminal:
Described message interaction is not detected in the first time predefined; And
When described message interaction not detected within described first time predefined, send user's probe messages to described user terminal, the transmission times of described user's probe messages exceedes preset times and described processor does not receive the respective feedback of described user terminal.
5. device according to claim 4, it is characterized in that, after the described IPv6 prefix of recovery, described processor also for when current unallocated IPv6 prefix ratio exceeds predetermined value and/or current MPP is greater than predefined MPP, reduces current MPP and/or current NMP.
6. for realizing a method for IPv6 prefix assignment, it is characterized in that, the method comprises:
Receive RS (RouterSolicitation, the router solicitation) message sent by user terminal;
Distribution state according to described RS message and multiple IPv6 prefix is come for described user terminal distributing IP v6 prefix, and wherein said multiple IPv6 prefix comprises single user prefix and multi-user's prefix; And
The IPv6 prefix of distributing is sent to described user terminal.
7. method according to claim 6, is characterized in that, described method also comprises the one in below execution:
When current there is the single user prefix being in unallocated state, for described user terminal distributes the single user prefix that is in unallocated state;
Current, not there is the single user prefix being in unallocated state, but when there is the multi-user's prefix being in unallocated state, for described user terminal distributes multi-user's prefix that is in unallocated state; And
Current, not there is the single user prefix or multi-user's prefix that are in unallocated state, but when there is the multi-user's prefix being in state of can reallocating, for described user terminal distributes multi-user's prefix that is in state of can reallocating.
8. method according to claim 6, is characterized in that, described method also comprises:
When current not there is the single user prefix that is in unallocated state and the user terminal number that described multi-user's prefix is assigned with all reaches number of users NMP (userNumberperMulti-userPrefix) that predefined multi-user's prefix can be assigned with, heighten multi-user's prefix occupation proportion MPP (Multi-userPrefixPercentage) and/or NMP, to produce the multi-user's prefix being in state of can reallocating.
9. according to the method in claim 6-8 described in any one claim, it is characterized in that, described method also comprises:
For the IPv6 prefix that each distributes, detect the message interaction of the user terminal be associated with this IPv6 prefix; And
When there is following one, reclaim the IPv6 prefix corresponding to this user terminal:
Described message interaction is not detected in the first time predefined; And
When described message interaction not detected within described first time predefined, send user's probe messages to described user terminal, the transmission times of described user's probe messages exceedes preset times and does not receive the respective feedback of described user terminal.
10. method according to claim 9, is characterized in that, described method also comprises:
After the described IPv6 prefix of recovery, when current unallocated IPv6 prefix ratio exceeds predetermined value and/or current MPP is greater than predefined MPP, reduce current MPP and/or current NMP.
CN201510655681.XA 2015-10-12 2015-10-12 For realizing the device and method of IPv6 prefix assignments Active CN105227694B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510655681.XA CN105227694B (en) 2015-10-12 2015-10-12 For realizing the device and method of IPv6 prefix assignments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510655681.XA CN105227694B (en) 2015-10-12 2015-10-12 For realizing the device and method of IPv6 prefix assignments

Publications (2)

Publication Number Publication Date
CN105227694A true CN105227694A (en) 2016-01-06
CN105227694B CN105227694B (en) 2018-08-07

Family

ID=54996363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510655681.XA Active CN105227694B (en) 2015-10-12 2015-10-12 For realizing the device and method of IPv6 prefix assignments

Country Status (1)

Country Link
CN (1) CN105227694B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753635A (en) * 2008-12-17 2010-06-23 华为技术有限公司 Method and system of collocating IPV6 (internet protocol version 6) addresses
CN102025797A (en) * 2010-11-30 2011-04-20 北京星网锐捷网络技术有限公司 Address prefix processing method, device, system and network equipment
CN102238075A (en) * 2010-05-05 2011-11-09 杭州华三通信技术有限公司 IPv6 (Internet Protocol version 6) routing establishing method based on Ethernet Point-to-Point Protocol and access server
CN102892108A (en) * 2011-07-18 2013-01-23 中兴通讯股份有限公司 Multiple address prefix distributing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753635A (en) * 2008-12-17 2010-06-23 华为技术有限公司 Method and system of collocating IPV6 (internet protocol version 6) addresses
CN102238075A (en) * 2010-05-05 2011-11-09 杭州华三通信技术有限公司 IPv6 (Internet Protocol version 6) routing establishing method based on Ethernet Point-to-Point Protocol and access server
CN102025797A (en) * 2010-11-30 2011-04-20 北京星网锐捷网络技术有限公司 Address prefix processing method, device, system and network equipment
CN102892108A (en) * 2011-07-18 2013-01-23 中兴通讯股份有限公司 Multiple address prefix distributing method and system

Also Published As

Publication number Publication date
CN105227694B (en) 2018-08-07

Similar Documents

Publication Publication Date Title
CN100527752C (en) DHCP address allocation method
CN102395126B (en) Mobile Ad hoc network address configuration realization method based on tree structure
CN106888450B (en) Information processing method and device
CN101159758A (en) Classification associated dynamic host machine configuring protocol option distribution method and device
RU2009118279A (en) APPLICATION OF MOBILE IP PROTOCOL IN COMMUNICATION NETWORKS
JP4686609B2 (en) Method for supporting IPv6 neighbor discovery in a point-to-point oriented broadband wireless network
CN104935564A (en) Method of enabling devices and services based on mDNS protocol to discover mutually in local area network
CN113938427A (en) Communication method and system, and routing node
CN103037361A (en) Internet protocol (IP) distribution system in wireless Mesh network based on Ad-hoc and IP distribution method in the wireless Mesh network based on the Ad-hoc
CN102025797A (en) Address prefix processing method, device, system and network equipment
CN101808145B (en) IP address distributing method and system
US10044672B2 (en) IPv6 address assignment method and apparatus
WO2007046597A1 (en) Method for supporting ipv6 neighbor discovery in point-to-point oriented broadband wireless network
CN102333133A (en) Medium access control (MAC) address distribution method, device and system
CN105227694A (en) For realizing the device and method of IPv6 prefix assignment
CN103701942A (en) Method, device and system for preventing client from frequently initiating IP (Internet protocol) address allocation request
CN107995125B (en) Traffic scheduling method and device
CN107592261A (en) Message processing method, device and router
CN100362814C (en) Method for realizing user detection based on neightbour discovery technique
CN106302854A (en) A kind of method that many DHCP of control Server dynamically distributes host address
CN103297562A (en) Method, equipment and system for realizing Option82 processing based on kernel
CN111049918B (en) Communication establishment method and device of Internet of things
CN108632198B (en) Equipment management method and device
CN107547678B (en) Address allocation method and device
CN108370390A (en) Address is collected in a sub-network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant