CN101572692A - Method, system and equipment for IP address assignment - Google Patents

Method, system and equipment for IP address assignment Download PDF

Info

Publication number
CN101572692A
CN101572692A CNA2008100940543A CN200810094054A CN101572692A CN 101572692 A CN101572692 A CN 101572692A CN A2008100940543 A CNA2008100940543 A CN A2008100940543A CN 200810094054 A CN200810094054 A CN 200810094054A CN 101572692 A CN101572692 A CN 101572692A
Authority
CN
China
Prior art keywords
prefix
user
address
message
user terminal
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
CNA2008100940543A
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
Priority to CNA2008100940543A priority Critical patent/CN101572692A/en
Publication of CN101572692A publication Critical patent/CN101572692A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a method, a system and equipment for IP address assignment. The method for the IP address assignment comprises the following steps: generating a prefix corresponding to a user according to user position information; sending the prefix to a user terminal; and forming an IP address by combining the prefix and a local link address of the user terminal. The invention judges the access position of the user according to the IP address of the user and further judges if a message is legal so as to more reasonably utilize an IPv6 address space to realize the automatic district dividing management.

Description

A kind of IP address assignment method, system and equipment
Technical field
The present invention relates to communication technical field, relate in particular to a kind of IP address assignment method, system and equipment.
Background technology
Along with the fast development of network technology, IPv6 (Internet Protocol v6, IP Internet Protocol version 6) reaches its maturity.IPv6 supports stateless address to dispose automatically, promptly the user not need network be that it distributes address just can oneself available address of generation, when such ability is brought good plug and play, also bring serious safety problem for the network of operator.In order to overcome safety problem, proposed to have address assignment DHCP (Dynamic Host Configuration Protocol, DHCP) the v6 scheme of state.
The address size of IPv6 is 128 bits, and preceding 64 bits are called Prefix (prefix), represent the network information, the LLA (Link-Local Address, link-local address) that back 64 bits are the user.Certainly prefix also can be less than 64 bits.For more rational use IPv6, preceding 32 bits of prior art regulation Prefix are ISP (Internet Service Provider, international service provider) uses, promptly specify the Prefix of preceding 32 bits in the world for each operator, which operator the Prefix by the IP address can determine to belong to like this.
User for PPP (Point to Point Protocol, point-to-point protocol) dialing online under the IPv6 environment, can obtain the IP address in the following way.
1, CPE (Customer Premise Equipment, customer premises equipment, CPE) initiates PPPoE (Point to Point Protocol over Ethernet, the point-to-point protocol of Ethernet bearing) session by two layers of chain road direction IP edge device.
2, RADIUS (Remote Authentication Dial In User Service, remote customer dialing authentication system) server authenticates CPE by user name password etc.
3, after authentication was passed through, ppp link was set up, the DHCPv6 server of CPE in network transmission DHCPv6 SOLICIT message Network Search.
4, the IP edge device sends DHCPv6ADVERTISEMENT message as the DHCPv6 server.
5, the information in the CPE use ADVERTISEMENT message sends the prefix of DHCPv6REQUEST message request/(mask) 48 to the IP edge device.
6, IP edge router sends a RADIUS request to radius server for this user after receiving DHCPv6REQUEST message.
7, radius server respond one be assigned to this user/48 prefixes.
8, IP edge router sends one to this user and comprises this/the DHCPv6 REPLY message of 48 prefixes.
9, CPE by/48 prefixes with in synthetic/64 prefixes of the prefix parameter that configures on the user-side port and be configured on the user-side port of oneself.
10, these disposed/user-side port of 64 prefixes sends RA (RouterAdvertisement, router advertisement) message on link separately, the equipment on the respective link can be according to the IPv6 address of this RA message arrangement oneself.
Yet, prior art be Dynamic Host Configuration Protocol server by being built in IP edge router directly to user's distributing IP address or prefix, can not embody user position information, be unfavorable for user's location.
In order to embody user position information, prior art has proposed another kind of scheme, DSLAM (DSLAccess Multiplexer, Digital Subscriber Line Access Multiplexer) etc. access node inserts DHCP Option 82 in the DHCP of user uplink request, the information relevant such as line identification that wherein comprise the user with customer location, after IP edge device and Dynamic Host Configuration Protocol server are received the DHCP request that includes DHCP Option 82, give user's distributing IP address according to the positional information in the message, and can determine further that whether the user is from legal position.
Yet user position information is only carried in the DHCP request, after application IP addresses are finished, can not determine user position information again from user's message.
Summary of the invention
The embodiment of the invention provides a kind of IP address assignment method, system and equipment, judges user's on-position by user's IP address.
The embodiment of the invention provides a kind of IP address assignment method, may further comprise the steps:
Generate the prefix corresponding according to customer position information with the user;
Described prefix is sent to user terminal;
Described prefix is used for being combined to form the IP address with the link-local address of user terminal.
The embodiment of the invention provides a kind of IP address assignment system, comprising:
Prefix proxy is used for generating the prefix corresponding with the user according to customer position information, and described prefix is sent to user terminal;
User terminal is used to receive the prefix of described prefix proxy transmission, and described prefix and link-local address are combined to form the IP address.
The embodiment of the invention provides a kind of prefix proxy, comprising:
The prefix dispensing unit is used for configure user prefix create-rule;
The prefix generation unit is used for generating the prefix corresponding with the user according to described user's prefix create-rule;
The prefix message process unit is used to generate the router advertisement message or the prefix proxy notice message that comprise prefix information;
The message retransmission unit is used for sending described router advertisement message or prefix proxy notice message to user terminal.
In the embodiments of the invention, judge user's on-position by user's IP address, and judge further whether message is legal, and then the address space of reasonable use IP more, realize user's auto-partition territory management.
Description of drawings
Fig. 1 is the network structure of IP address assignment in the embodiment of the invention;
Fig. 2 is an IPv6 hierarchical network structure chart in the embodiment of the invention;
Fig. 3 is the embodiment of the invention one flow chart;
Fig. 4 is the embodiment of the invention two flow charts;
Fig. 5 is the embodiment of the invention three flow charts;
Fig. 6 is the embodiment of the invention four flow charts;
Fig. 7 is the embodiment of the invention five flow charts;
Fig. 8 is a kind of IP address assignment system construction drawing of the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of network configuration of IP address assignment, as shown in Figure 1.Wherein, AccessNode (access node) is a network access equipment, include but not limited to Ethernet switch, DSLAM, OLT (Optical Line Termination, light path destination node), ONU (Optical Network Unit, optical network unit), or other possess the equipment of three layers of following function of exchange.CPN (Customer PremiseNetwork, the user resident network) CPE in can be ONT (Optical Network Terminal, Optical Network Terminal), ONU (Optical Network Unit, optical network unit), Home Gateway (home gateway), Routing Gateway (routing gateway), Residential Gateway (home gateway) or other customer premises equipment, CPEs.Also comprise UE (user terminal) among the CPN, need the equipment of IP address such as computer, smart mobile phone, STB (Set Top Box, set-top box), the network printer, network storage server etc.
For realizing the user being carried out location positioning by user's IP address, and reasonable use IP address more, need to introduce stratification IP address assignment scheme, and further in the stratification address allocation plan, introduce the corresponding relation of IP address and positional information.Preceding 64 bits of IPv6 address are divided into multistage, show the network information of certain level with every segment table, to do prefix be example to 64 bits before this paper.For example, preceding 23 bits are represented the information of ISP, are ISP and divide the IP address field, and an ISP can have a plurality of/23 prefixes, promptly has more than one IP address field.The 24th~32 bit is represented the edge router in the ISP network, and each edge router has different address fields, and as required, an edge router can have more than one address field.The 33rd~40 bit is represented access node, and each access node has different address fields, and as required, an access node can have more than one address field.The 41st~48 bit is represented user port or the CPE under the access node, and each CPE has different address fields, and according to demand, a CPE also can have more than one address field.The 49th~64 bit is represented the different user subnet among the CPN.The 65th~128 bit is the link-local address LLA of user terminal.Divide layered scheme such as table 1:
Table 1:
0 23 24 32 33 40 41 48 49 64 65 128
ISP Edge router Access node Customer location User subnet The subscriber's local chain
The address, road
In the embodiment of the invention, user terminal will represent that the prefix of customer position information and link-local address are combined to form the IP address, after making other equipment receive the message of this user terminal transmission, go out prefix according to wherein IP address resolution, and obtain corresponding customer position information according to these prefixes.For example, on the basis of IP address stratification, further shine upon with the IP address by positional information or related, i.e. every section IP address assignment is not arbitrarily, but according to the regular allocation relevant with positional information (promptly according to positional information distributing IP address).Such as, network is divided by the region, be numbered for each region, numbering can directly be used as the IP address field, also the rule of numbering by appointment can be mapped to the IP address field; Can also become the IP address field with relationship map higher level equipment with the network equipment, such as with certain port numbers of present its higher level's network equipment of certain network equipment as the IP address field, perhaps be mapped in the IP address field, wherein, port can be physical port, logic port or logical links, such as MPLS (Multi-ProtocolLabel Switch, multiprotocol label switching) link; MAC (Medium AccessControl, medium access control) address information that can also bonding apparatus, such as part or all information in the MAC Address of certain equipment of use as or be mapped in the IP address field.In addition, when generating the IP address field, can also adopt the combination of above-mentioned rule.
Certainly, be not limited to above rule, can also adopt other mode, as long as can be by the stratification between the IP address field indication equipment (being the superior and the subordinate) topological relation, perhaps positional information just can.Above-mentioned which floor stratification of IP address field be not confined to yet, and can divide more level, corresponding more network layer and topology, even the cascade of aggregation networks, access node etc. can be divided expression by the IP address field of multilayer.
The length of each level IP address field can be specified as required.Can specify to CPE/64 prefixes, be under the situation of 64 bits in the prefix length overall, do not allow freely to produce new subnet by CPE.
The example of another IP address field stratification is as shown in table 2.
Table 2:
0 23 24 32 33 38 39 56 59 64 65 128
ISP Level1 Router Level2 ER Access node CPE The subscriber's local link address
With the ISP1 among Fig. 2 is example.The prefix of ISP1 is 2001:0700: :/23, the prefix of edge router A is 2001:0701: :/32, the prefix of edge router B is 2001:0702: :/32, the prefix of access node A is 2001:0701:1: :/48, the prefix of access node B is 2001:0701:2: :/48, and the prefix of access node C is 2001:0702:1: :/48, the prefix of CPE A is 2001:0701:1:1: :/64, the prefix of CPE B is 2001:0701:1:2: :/64, and the prefix of CPE C is 2001:0701:2:1: :/64.If distribute to CPE less than/64 prefix, then CPE can also further be the devices allocation prefix among the CPN of its back.Be assigned with/60 prefix as CPE, CPE can also be the prefix of thereafter devices allocation/64.
The IPv6 address field is being carried out on the basis that stratification handles, further on AN user port, promptly customer position information is associated with user's IPv6 address.Still be example, when specifying the CPE prefix, carry out related with the prefix of distributing to CPE customer position information with Fig. 3.Concrete interrelational form can be made rule as required by oneself, is mapped in the IP address field such as frame, groove, port, VLAN, vC etc. with CPE port of living in, perhaps formulates the mapping relations table of user port and IP address field etc.Port herein comprises physical port, logic port or logical links.For instance, suppose user's 1 frame, 2 grooves, 1 port that is in access node A, the prefix of distributing to this user port can be 2001:0701:1:1210: :/64.
By the method with positional information and IPv6 address correlation, the secondary IP address prefix can directly be judged user's position in the embodiment of the invention.
Further, when on access node, the user being distributed prefix, can be associated with the address of IPv6 according to technology, mode or the bandwidth information of the rule that pre-establishes with user access network.Such as by the different access technology of digitized representation, as shown in table 3:
Table 3:
Code 1 2 3 4 5 6
Access technology ADSL ADSL2+ VDSL EPON GPON WiMAX
Suppose that the user in the previous example adopts ADSL2+ to insert, then address prefix can be 2001:0701:1:1212: :/64.
Similarly also can carry out related with the IPv6 address user's access bandwidth information, such as the line bandwidth of representing the user with last four bits of/64 prefixes, if unit is Mbps, user's access bandwidth is 8Mbps in last example, and then address prefix can be 2001:0701:1:1218: :/64.By access technology, access way and bandwidth information are associated with in the IP address, can provide convenience for handling accordingly at user's different access technologies, access way and access bandwidth in the network.
The scheme of above-mentioned address assignment can be used separately, use also can combine, technology, mode or the bandwidth information and the positional information that are user access network are arranged side by side, also can add technology, mode or the bandwidth information etc. of user access network on the positional information basis.
In the embodiment of the invention, user terminal will represent that the prefix and the link-local address of technology, mode or the bandwidth information of user access network are combined to form the IP address, after making other equipment receive the message of this user terminal transmission, go out prefix according to wherein IP address resolution, and obtain technology, mode or the bandwidth information of corresponding user access network according to these prefixes.
Positional information and IP address are being carried out when related, (such as CPE is two-layer equipment not necessarily will to give CPE with this prefix assignment, and the subscriber equipment that does not participate in its back obtains the process of IPv6 address), also can be kept at related information on the AN, carry out RA broadcasting by AN, make the subscriber equipment on this port when application IPv6 address, obtain this prefix.
In conjunction with above-mentioned stratification address scheme, the method how user gets access to the IPv6 address that can identify its positional information is described below.The address of the router in the network, three-tier switch and access node and prefix can adopt the mode of static configuration, promptly dispose the address and the prefix of the said equipment by the means of other static configuration such as webmaster.
In order to make the user can obtain the prefix relevant, need on the non-router equipment of grasping customer position information, support the prefix proxy function with its position.These equipment include but not limited to Ethernet switch, DSLAM, OLT, ONU, ONT, access node AN etc.Described prefix proxy function comprises, the prefix and the effective time of the configuration and this equipment of preservation, (user's prefix create-rule is exactly the foundation that how to generate prefix for configuration and preservation user prefix create-rule, for example, generate prefix, generate prefix, generate prefix or generate prefix etc. according to customer position information) according to the bandwidth of user access network according to the mode of user access network according to the technology of user access network, generate and preserve user's prefix and the effective time that is generated, the listen address configuration messages is also handled accordingly.What described listen address configuration messages and handling accordingly specifically comprised monitoring users has state and stateless address configuration message, as neighbor request message Neighbor Solicitation, router request message Router Solicit etc., the neighbor request message that the user is sent can be carried out transparent transmission or be abandoned, to the router request message that the user sends, respond the router advertisement RA message that comprises the prefix corresponding with this user.Optional support periodically sends the router advertisement message Router Advertise that comprises the prefix corresponding with this user to the user.
In the embodiment of the invention one, the prefix in the prefix proxy can be passed through static configuration, monitoring generates, passes through L2C (Layer 2 Control, layer two control) protocol configuration, realizes by modes such as webmaster or other management equipment configurations to router message.
With reference to figure 3, be arranged in the address allocation procedure that access node AN is example explanation user with prefix proxy Prefix Agent function.The IP edge device is following to be double layer network, and CPE is a bridge mode, and user's data is carried out transparent transmission.AN function described below realizes by the prefix proxy function.The upper network node of AN has been configured the prefix of stratification, then the user to obtain the process of IP address as follows:
Step 301, the prefix of AN static state or dynamic-configuration/48 (mask) and user's prefix create-rule, wherein, user's prefix create-rule is exactly the foundation that how to generate prefix, for example, generate prefix, generate prefix, generate prefix or generate prefix etc. according to customer position information according to the bandwidth of user access network according to the mode of user access network according to the technology of user access network.
Step 302 generates/64 prefixes corresponding with the user according to user's prefix create-rule, such as according to prefix create-rules such as port informations.
Step 303, user terminal are carried out the automatic configuration of link-local address LLA.
Step 304, user terminal sends router request message Router Solicit, querying router to AN.
Step 305, AN listens to the router request message that user terminal sends, and responds and gives user terminal router advertisement message RA, wherein comprises/64 prefixes corresponding with this user terminal link.Can be as required with the RS message transparent transmission of user terminal or be forwarded to higher level's network, perhaps abandon.
Step 306, user terminal are combined to form the IP address with prefix and the link-local address LLA of oneself after receiving this prefix proxy notice message.
Step 307, user terminal are received the RA message of sending from the IP edge device.
Step 308, user terminal are provided with the route of oneself, and gateway is the address of IP edge device.
Optional position before above step 307,308 can advance to.
AN also can not wait for user's RS message, initiatively sends RA message.So just do not need step 304 and step 305.
AN sends to the RA message of user terminal, need message content be set by following requirement:
Automatic address configuration Managed address configuration sign is made as 0, and the expression user need adopt stateless mode configuration address, and does not adopt the DHCP mode.
Other configurations Other configuration sign is according to actual conditions equipment, and users from networks is obtained information such as DNS if desired, then is made as 1, otherwise can be made as 0.
Router Router life cycle lifetime is set to 0, the expression not AN as gateway, because AN does not have the forwarding capability of router.
Comprise/64 link-local prefix and life cycles thereof corresponding among the prefix information option Prefix Information with this user, automatically the configuration sign A is made as 1, the expression user adopts stateless mode calculated address, allows the user to use this prefix to generate the IP address.
The IP edge device is when user terminal sends RA in the step 307, for preventing that user terminal from generating new address, can adopt several method, such as not being with Prefix Information option, perhaps prefix length and user's link-local address length summation perhaps is made as 0 with the automatic configuration O sign among the Prefix Information less than 128 bits among the PrefixInformation.The L sign of Prefix Information should be set to 1, represents that this prefix is online.In the RA message that the IP edge device sends, Router Lifetime can not be 0.
According to said method, user terminal can get access to the prefix that generates the IP address from AN, but can be AN as default gateway; After receiving the RA of IP edge device, the IP edge device is added to default gateway.Both generated the IP address relevant, can carry out data forwarding as gateway by the IP edge device again with physical location.
User terminal still can be by sending parameters such as Information-Request Message message request DNS to all-router and relaying by stateless mode configuration of IP address.AN can handle according to configuration after receiving the Information-Request Message message that user terminal is sent.Specifically, can respond the request of user terminal by IP edge device or Dynamic Host Configuration Protocol server with message transmission to higher level's network; If the last pre-configured parameter of user terminal requests of AN, AN also can oneself use Reply or other message that the configuration information of user terminal requests is responded to user terminal.
In the embodiment of the invention, AN can also be further binds the IP address of user terminal and/or MAC Address and port, by the binding of IP and/or MAC Address and port, can the limited subscriber terminal only reach the standard grade from the port of binding, improves access security.
The embodiment of the invention two with reference to figure 4, provides another prefix proxy to the method for user's announcement with the location association prefix.The prefix proxy function still is positioned at AN, and AN function described below realizes by prefix proxy.
Step 401~404 are identical with embodiment one.
Step 405, AN listens to the router request message that user terminal sends, and responds and gives user terminal prefix proxy notice message, wherein comprises/64 prefixes corresponding with this user terminal link.AN can be as required with the RS message transparent transmission of user terminal or be forwarded to higher level's network, perhaps abandon.
Step 406, user terminal are combined to form Global IP address with prefix and the LLA of oneself after receiving this prefix proxy notice message.
AN also can not wait for user's RS message, initiatively sends RA message.So just do not need step 404 and step 405.
AN sends to user's prefix proxy notice message, need message content be set by following requirement:
Message format is identical with the Router Advertisement message of IPv6, but the part field contents need be provided with by following conditions.
Source IP address equipment is the router address of IP edge device.
Automatic address configuration Managed address configuration sign is made as 0.
Other configurations Other configuration sign is made as 1.
Router Router life cycle lifetime is provided with by preconfigured values.
Comprise/64 link-local prefix and life cycles thereof corresponding among the prefix information option Prefix Information with this user.
Above-mentioned parameters needs pre-configured in AN.
The prefix proxy notice message removes the message that adopts above-mentioned form, also can define new message format, as increase new prefix proxy announcement option in existing Router Advertisement message, perhaps defines new prefix proxy notice message.Be that example describes with prefix Agent Advertisement option below.
Table 4:
Figure A20081009405400141
Wherein,
Option_Address Proxy can get according to existing blank DHCPv6 Option value, such as 220.
Option-length refers to the length of Option, if there is not other expansion, value is 16.
Router Address refers to the address of the router acted on behalf of, i.e. the router link-local address Link-local Address of user place network.
This option can also be expanded as required, as increases a plurality of router address, or the like.
The embodiment of the invention three with reference to figure 5, dynamically generates the method for prefix for prefix proxy.Prefix proxy is positioned at AN, and following AN function is realized by prefix proxy.
Step 501, the IP edge device sends RA message, wherein comprises/32 prefix (first prefix).This prefix is the prefix related with this down going port on the prefix of IP edge device or the IP edge device.The flag bit A of expression automatic address configuration need be made as 0 among the Prefix Information in the RA message, represents that this address can not be used for address configuration by the user.
Step 502, AN listens to the RA message that the IP edge device sends, and obtains wherein/32 prefixes (first prefix), according to the rule of front generate oneself/48 prefixes (prefix of user's correspondence).
Step 503, user terminal are received the RA message of IP edge device, and adding the IP edge device is the gateway of oneself.This step is optional, if user terminal is not online this moment, then can not receive RA message, also can not generate route.
Step 504, AN according to own/48 prefixes and prefix create-rule generate user terminal/64 prefixes, promptly according to user position information generation user terminal/64 prefixes.
Above step 503,504 sequencings are not limit, and can be simultaneously yet.
Step 505~510 are identical with step 303~308 of example one.
Wherein step 509,510 is particularly useful for the situation that user terminal is not received the RA in the step 501.
The embodiment of the invention four, as shown in Figure 6, the address renewal process of prefix proxy and user terminal is described:
Step 601, router are sent the Router Renumbering message of carrying new route prefix, and notice IP edge device upgrades its prefix.This step is optional.
Step 602, the IP edge device upgrades its prefix, can be the message by step 601, also can be by other modes, as configuration mode etc.
Step 603, the IP edge device sends RA message, wherein comprises the prefix (second prefix) of new/32.The flag bit A of expression automatic address configuration need be made as 0 among the Prefix Information in the RA message, represents that this address can not be used for address configuration by the user.
Step 604, AN listens to the RA message with second prefix that the IP edge device is sent, upgrade oneself/48 prefixes.
Step 605, AN according to the rule of front generate the user/64 prefixes.
Step 606, the user receives the RA message of IP edge device, adds new prefix and generates new route.
Step 607, AN sends RA message, carries former prefix information, and wherein the lifetime of prefix is made as 0, carry new prefix simultaneously, and lifetime in the prefix information is set according to the lifetime that the lifetime in the prefix information in the RA message of IP edge device or other modes dispose.RA message in the step 607 also can be divided into two, and promptly old, new two prefixes are successively given by two RA message respectively.
Step 608, the user receives the prefix information of AN, original IP address is deactivated, and generate new IP address according to new prefix.
Above-mentioned steps 606 can be positioned at before the step 604.
The embodiment of the invention five provides the method for another kind of address Renumber (renumbering), as shown in Figure 7:
Step 601 is identical with step 602 among step 701 and step 702 and the embodiment four.
Step 703, IP edge device are sent the RouterRenumbering message of carrying new/32 prefixes (second prefix).
Step 704, AN listens to this message, upgrade oneself/48 prefixes.
Step 705, AN according to the rule of front generate the user/64 prefixes.
Step 706, AN sends RA message, carry former prefix information, and wherein the lifetime of prefix (life-span) is made as 0, carry new prefix simultaneously, and lifetime in the prefix information is set according to the lifetime that the lifetime in the prefix information in the RA message of IP edge device or other modes dispose.
Step 707, the user receives the prefix information of AN, original IP address is deactivated, and generate new IP address according to new prefix.
Step 708, IP edge device are sent the RA message of being with new/32 prefixes.
Step 709, the user receives the RA message of IP edge device, adds new prefix and generates new route.
Above-mentioned steps 708,709 also can be mentioned the optional position of step 703 back.
The embodiment of the invention provides a kind of IP address assignment system, as shown in Figure 8, comprise: prefix proxy 100, be arranged on the two-layer network device, be used for generating the prefix corresponding with the user according to customer position information, and after listening to the router request message that user terminal sends, (prefix proxy also can be under the situation of not receiving the router request message that user terminal sends to described user terminal response router advertisement message, initiatively send the prefix proxy notice message to described user terminal), carry the prefix corresponding in the described message with described user terminal; User terminal 200 is used to receive the prefix of described prefix proxy transmission, and described prefix and link-local address are combined to form the IP address.
Wherein, prefix proxy 100 comprises: prefix dispensing unit 110 is used to dispose user's prefix create-rule of generating user's prefix (also can comprise other relevant configuration, as prefix effective time etc.); Prefix generation unit 120 is used for generating the prefix corresponding with the user according to described user's prefix create-rule; Prefix message process unit 130 is used to generate the router advertisement message or the prefix proxy notice message that comprise prefix information; Message retransmission unit 150 is used for sending described router advertisement message or prefix proxy notice message to user terminal.
Prefix proxy 100 also comprises message monitoring unit 140, is used for monitoring the message relevant with IP address assignment of network.Specifically can be used to monitor the router advertisement message that the IP edge device sends, obtain first prefix in the described message, and notify described prefix generation unit to generate the prefix corresponding with the user according to described first prefix.
Message monitoring unit 140 also is used for the router request message that the monitoring users terminal is sent, and notice prefix message process unit 130.
Wherein, user terminal 200 comprises: prefix acquiring unit 210 is used for from the prefix of described prefix proxy reception user correspondence; IP scalar/vector 220 is used for the prefix and the link-local address of described user's correspondence are combined to form the IP address.Wherein the prefix receiving element is by obtaining the prefix of user's correspondence from the router advertisement message that receives or prefix proxy notice message.
In the embodiments of the invention, judge user's on-position by user's IP address, and judge further whether message is legal, and then the address space of reasonable use IPv6 more, realize user's auto-partition territory management.And when network topology change, the IPv6 address can renumber automatically.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (13)

1, a kind of IP address assignment method is characterized in that, may further comprise the steps:
Generate the prefix corresponding according to customer position information with the user;
Described prefix is sent to user terminal;
Described prefix is used for being combined to form the IP address with the link-local address of user terminal.
2, IP address assignment method according to claim 1 is characterized in that, describedly generates the prefix corresponding with the user according to customer position information and specifically comprises:
Two-layer network device generates the prefix corresponding with the user according to customer position information.
3, IP address assignment method according to claim 1 is characterized in that, and is described according to also comprising before the customer position information generation prefix corresponding with the user:
The router request message that the monitoring users terminal is sent.
4, IP address assignment method according to claim 1 is characterized in that, described prefix is sent to user terminal, and described prefix is used for link-local address with user terminal and is combined to form the IP address and specifically comprises:
User terminal is received router advertisement message or prefix proxy notice message, carries in the described message and the corresponding prefix of described user terminal link-local;
Described user terminal is combined to form the IP address with described prefix and link-local address.
5, IP address assignment method according to claim 1 is characterized in that, described prefix is sent to user terminal, and described prefix is used for link-local address with user terminal and comprises before being combined to form the IP address:
Described user terminal is received the router advertisement message that the IP edge device sends, be not with prefix information option in the described message, perhaps prefix length and user's link-local address length summation perhaps is made as 0 with the automatic configuration sign in the prefix information less than 128 bits in the prefix information;
Described user terminal is provided with the route of oneself, and wherein, gateway is the address of IP edge device.
6, IP address assignment method according to claim 1 is characterized in that, describedly generates the prefix corresponding with the user according to customer position information and specifically comprises:
Monitor the router advertisement message that the IP edge device sends, obtain first prefix in the described message;
Generate the prefix corresponding according to described customer position information and described first prefix of obtaining with the user.
7, IP address assignment method according to claim 1 is characterized in that, and is described according to also comprising after the customer position information generation prefix corresponding with the user:
Dispose and/or preserve described rule, and is set the effective time of described rule according to the customer position information generation prefix corresponding with the user.
8, as IP address assignment method as described in the claim 7, it is characterized in that, describedly generate the prefix corresponding according to customer position information and specifically comprise with the user:
Generate the prefix corresponding according at least a in the mode of the technology of user access network, access network or the bandwidth information with customer position information with the user.
9, IP address assignment method according to claim 1 is characterized in that, and is described according to also comprising after the customer position information generation prefix corresponding with the user:
Listen to router advertisement message of carrying second prefix that the IP edge device sends or the route of carrying second prefix and heavily distribute numbering Router Renumbering message;
Prefix according to the described user's correspondence of described second prefix updates.
10, as IP address assignment method as described in the claim 9, it is characterized in that, also comprise before the router advertisement message of carrying new prefix that the described IP of listening to edge device is sent:
The Router Renumbering message of carrying second prefix that IP edge device receiving router sends.
11, a kind of IP address assignment system is characterized in that, comprising:
Prefix proxy is used for generating the prefix corresponding with the user according to customer position information, and described prefix is sent to user terminal;
User terminal is used to receive the prefix of described prefix proxy transmission, and described prefix and link-local address are combined to form the IP address.
12, a kind of prefix proxy is characterized in that, comprising:
The prefix dispensing unit is used for configure user prefix create-rule;
The prefix generation unit is used for generating the prefix corresponding with the user according to described user's prefix create-rule;
The prefix message process unit is used to generate the router advertisement message or the prefix proxy notice message that comprise prefix information;
The message retransmission unit is used for sending described router advertisement message or prefix proxy notice message to user terminal.
13, as prefix proxy as described in the claim 12, it is characterized in that, also comprise:
The message monitoring unit is used to monitor the router advertisement message that the IP edge device sends, and obtains first prefix in the described message, and notifies described prefix generation unit to generate the prefix corresponding with the user according to described first prefix.
CNA2008100940543A 2008-04-28 2008-04-28 Method, system and equipment for IP address assignment Pending CN101572692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100940543A CN101572692A (en) 2008-04-28 2008-04-28 Method, system and equipment for IP address assignment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100940543A CN101572692A (en) 2008-04-28 2008-04-28 Method, system and equipment for IP address assignment

Publications (1)

Publication Number Publication Date
CN101572692A true CN101572692A (en) 2009-11-04

Family

ID=41231929

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100940543A Pending CN101572692A (en) 2008-04-28 2008-04-28 Method, system and equipment for IP address assignment

Country Status (1)

Country Link
CN (1) CN101572692A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909091A (en) * 2010-07-22 2010-12-08 华为终端有限公司 Address violation detection method, customer premises equipment and host
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
CN101753460B (en) * 2010-01-15 2012-07-11 杭州华三通信技术有限公司 Method and device for processing internet protocol version 6(IPV6) routing prefix
CN102932371A (en) * 2012-11-20 2013-02-13 杭州华三通信技术有限公司 Method for realizing communication between IPv6 private network node and public network node and routing forwarding equipment
CN102957759A (en) * 2011-08-26 2013-03-06 中兴通讯股份有限公司 Distribution method and system for IPv6 (internet protocol version 6) address prefixes
CN103701950A (en) * 2013-12-26 2014-04-02 中国联合网络通信集团有限公司 IP (Internet protocol) address allocation method and device
CN105282263A (en) * 2014-06-25 2016-01-27 三亚中兴软件有限责任公司 Address configuration method and device and equipment
WO2016191906A1 (en) * 2015-05-29 2016-12-08 华为技术有限公司 Internet protocol address allocation method and router
CN106412143A (en) * 2016-09-12 2017-02-15 新疆石油管理局数据公司 Visible allocation method of cluster node IP address
CN107864230A (en) * 2016-09-21 2018-03-30 罗克韦尔自动化技术公司 Internet protocol based on topology(IP)Addressing
CN108632400A (en) * 2017-08-31 2018-10-09 新华三技术有限公司 A kind of IPv6 address distribution methods and Leaf node devices
CN109120740A (en) * 2018-08-24 2019-01-01 赛尔网络有限公司 Generate server, the system and method for the address IPv6
CN111107452A (en) * 2020-01-15 2020-05-05 中天通信技术有限公司 Gateway information generation method of PON terminal equipment ONU and related equipment
CN111405075A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Network address allocation method, device and storage medium
CN113542905A (en) * 2020-04-22 2021-10-22 中国移动通信集团有限公司 Address allocation method, gateway, set-top box, device and storage medium
CN113783974A (en) * 2021-09-09 2021-12-10 烽火通信科技股份有限公司 Method and device for dynamically issuing MAP domain rule

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753460B (en) * 2010-01-15 2012-07-11 杭州华三通信技术有限公司 Method and device for processing internet protocol version 6(IPV6) routing prefix
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
CN101909091A (en) * 2010-07-22 2010-12-08 华为终端有限公司 Address violation detection method, customer premises equipment and host
CN102957759A (en) * 2011-08-26 2013-03-06 中兴通讯股份有限公司 Distribution method and system for IPv6 (internet protocol version 6) address prefixes
CN102932371B (en) * 2012-11-20 2015-09-09 杭州华三通信技术有限公司 Realize IPv6 private network node and the method communicated between common network node and routing forwarding equipment
CN102932371A (en) * 2012-11-20 2013-02-13 杭州华三通信技术有限公司 Method for realizing communication between IPv6 private network node and public network node and routing forwarding equipment
CN103701950A (en) * 2013-12-26 2014-04-02 中国联合网络通信集团有限公司 IP (Internet protocol) address allocation method and device
CN105282263A (en) * 2014-06-25 2016-01-27 三亚中兴软件有限责任公司 Address configuration method and device and equipment
WO2016191906A1 (en) * 2015-05-29 2016-12-08 华为技术有限公司 Internet protocol address allocation method and router
CN106576120A (en) * 2015-05-29 2017-04-19 华为技术有限公司 Internet protocol address allocation method and router
CN106576120B (en) * 2015-05-29 2019-09-13 华为技术有限公司 Internet protocol address distribution method, router and computer readable storage medium
US10432579B2 (en) 2015-05-29 2019-10-01 Huawei Technologies Co., Ltd. Internet protocol address allocation method and router
CN106412143B (en) * 2016-09-12 2019-10-18 新疆石油管理局数据公司 A kind of visualization distribution method of clustered node IP address
CN106412143A (en) * 2016-09-12 2017-02-15 新疆石油管理局数据公司 Visible allocation method of cluster node IP address
CN107864230A (en) * 2016-09-21 2018-03-30 罗克韦尔自动化技术公司 Internet protocol based on topology(IP)Addressing
CN107864230B (en) * 2016-09-21 2020-08-11 罗克韦尔自动化技术公司 Topology-based Internet Protocol (IP) addressing
CN108632400A (en) * 2017-08-31 2018-10-09 新华三技术有限公司 A kind of IPv6 address distribution methods and Leaf node devices
CN109120740A (en) * 2018-08-24 2019-01-01 赛尔网络有限公司 Generate server, the system and method for the address IPv6
CN109120740B (en) * 2018-08-24 2021-05-07 赛尔网络有限公司 Server, system and method for generating IPv6 address
CN111405075A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Network address allocation method, device and storage medium
CN111405075B (en) * 2019-01-02 2023-03-28 中国移动通信有限公司研究院 Network address allocation method, device and storage medium
CN111107452A (en) * 2020-01-15 2020-05-05 中天通信技术有限公司 Gateway information generation method of PON terminal equipment ONU and related equipment
CN113542905A (en) * 2020-04-22 2021-10-22 中国移动通信集团有限公司 Address allocation method, gateway, set-top box, device and storage medium
CN113542905B (en) * 2020-04-22 2024-05-03 中国移动通信集团有限公司 Address allocation method, gateway, set top box, equipment and storage medium
CN113783974A (en) * 2021-09-09 2021-12-10 烽火通信科技股份有限公司 Method and device for dynamically issuing MAP domain rule
CN113783974B (en) * 2021-09-09 2023-06-13 烽火通信科技股份有限公司 Method and device for dynamically issuing MAP domain rule

Similar Documents

Publication Publication Date Title
CN101572692A (en) Method, system and equipment for IP address assignment
US7706374B2 (en) Method for assigning IP address to terminal device and communication system
CN101674288B (en) Method, device and system for managing address prefix distribution
CN103297353B (en) Access method and system of user terminal equipment and broadband network gateway
US8635314B2 (en) Use of IPv6 in access networks
US20190296999A1 (en) Hierarchical bit indexed replication of multicast packets
CN101753460B (en) Method and device for processing internet protocol version 6(IPV6) routing prefix
KR20120100927A (en) Implementation method and system of virtual private network
CN102137001B (en) Routing information exchange method, equipment and system
CN102025591A (en) Method and system for implementing virtual private network
JP2006524974A5 (en)
EP2654250A2 (en) Virtual local area network identity transformation method and apparatus
WO2010069181A1 (en) Method and system for configuring ipv6 address
CN101001264B (en) Method, device, network edge equipment and addressing server for L1VPN address distribution
CN102238075A (en) IPv6 (Internet Protocol version 6) routing establishing method based on Ethernet Point-to-Point Protocol and access server
CN102170395A (en) Data transmission method and network equipment
US20140313933A1 (en) Method, apparatus, and system for layer 2 interworking based on ipv6
CN108206783A (en) Address configuration method and its device in a kind of software defined network system
CN101902391B (en) Intelligent static route based method and equipment for forwarding messages
CN101378340B (en) Method for obtaining internet protocol address prefixing, operator edge equipment and client terminal equipment
CN102340548A (en) Control method and device for IPv6 (internet protocol version 6) user access
CN103108056A (en) Device and method capable of achieving subscriber identifier and locator separation network
CN101924698A (en) Method, system and equipment for balancing two-layer domain load based on IP unicast route
CN102594937A (en) Method and system for realizing DHCP (Dynamic Host Configuration Protocol) v6 relay agent through two-layer network exchange equipment
Papadimitriou OSPFv2 Routing Protocols Extensions for Automatically Switched Optical Network (ASON) Routing

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: 20091104