CN111586197A - Method and device for redistributing address prefixes - Google Patents

Method and device for redistributing address prefixes Download PDF

Info

Publication number
CN111586197A
CN111586197A CN202010326348.5A CN202010326348A CN111586197A CN 111586197 A CN111586197 A CN 111586197A CN 202010326348 A CN202010326348 A CN 202010326348A CN 111586197 A CN111586197 A CN 111586197A
Authority
CN
China
Prior art keywords
iapd
address
address prefix
prefix
network
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
CN202010326348.5A
Other languages
Chinese (zh)
Other versions
CN111586197B (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.)
China Academy of Information and Communications Technology CAICT
Original Assignee
China Academy of Information and Communications Technology CAICT
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 China Academy of Information and Communications Technology CAICT filed Critical China Academy of Information and Communications Technology CAICT
Priority to CN202010326348.5A priority Critical patent/CN111586197B/en
Publication of CN111586197A publication Critical patent/CN111586197A/en
Application granted granted Critical
Publication of CN111586197B publication Critical patent/CN111586197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5061Pools of addresses

Landscapes

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

Abstract

The application provides a method and a device for redistributing an address prefix, which are applied to an IPv6 network with an expanded three-layer network, wherein the method comprises the following steps: acquiring an IAPD address prefix distributed by BNAS; calculating an IAPD address prefix distributed by the BNAS, and generating an expanded IAPD address prefix and an IAPD address pool; when receiving a network equipment request IANA, responding the extended IAPD address prefix to the network equipment; and when the network equipment requests IAPD, responding an IAPD address prefix in the IAPD address pool to the network equipment. The method can effectively solve the problem of acquiring the IPv6 address in the IPv6 network of the expanded three-layer network.

Description

Method and device for redistributing address prefixes
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for redistributing address prefixes.
Background
Since the Address allocation of IPv6 network is different from that of IPv4 network, a Broadband Network Access Server (BNAS) of a telecom operator typically maintains two Address pools, one of which is an identity association (IANA) Address pool of Non-temporary addresses, for providing network-side addresses for network edge devices. Second, an Identity Association (IAPD) address pool of prefix authorization is used to provide the user side address for the network edge device.
Generally, after obtaining an IAPD address prefix, a network edge device is configured to assign a network address of a version 6 network protocol (IPv6) to a subscriber access terminal, such as a PC, a PAD, a mobile phone, or the like, thereby performing IPv6 network communication.
However, if a fixed-network broadband home user wants to extend a three-layer network in an IPv6 network, that is, if a network edge device is connected with a network device, the home three-layer network is extended by taking home IPv6 network access as an example, and if a home routing device is connected in series under the home gateway device, the home gateway device does not support distribution of IPAD as an IPv6 network edge device, which may cause a user access terminal connected to the home router device to be unable to obtain an IPv6 address, and further unable to perform IPv6 communication.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for redistributing an address prefix, which can effectively solve the problem of acquiring an IPv6 address in an IPv6 network that extends a three-layer network.
In order to solve the technical problem, the technical scheme of the application is realized as follows:
in one embodiment, a method for redistributing address prefixes is provided, and is applied to an IPV6 network which extends a three-layer network, and the method includes:
acquiring an IAPD address prefix distributed by BNAS;
calculating an IAPD address prefix distributed by the BNAS, and generating an expanded IAPD address prefix and an IAPD address pool;
when receiving a network equipment request IANA, responding the extended IAPD address prefix to the network equipment;
and when the network equipment requests IAPD, responding an IAPD address prefix in the IAPD address pool to the network equipment.
In another embodiment, an address prefix redistribution apparatus is provided, which is applied in an IPV6 network that extends a three-layer network, and includes: the device comprises an acquisition unit, a generation unit, a receiving unit and a response unit;
the acquiring unit is configured to acquire an IAPD address prefix allocated by a BNAS;
the generating unit is configured to calculate an IAPD address prefix allocated by the BNAS acquired by the acquiring unit, and generate an extended IAPD address prefix and an IAPD address pool;
the receiving unit is used for receiving a network equipment request IANA; receiving a network device request IAPD;
the response unit is configured to respond the extended IAPD address prefix to the network device when the receiving unit receives a network device request IANA; when the receiving unit receives the IAPD request of the network equipment, the IAPD address prefix in the IAPD address pool is responded to the network equipment.
In another embodiment, an electronic device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method for redistributing address prefixes as described when executing the program.
In another embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method for redistributing address prefixes.
As can be seen from the above technical solution, in the above embodiment, the extended IAPD address prefix and the IAPD address pool are generated by calculating the IAPD address prefix allocated to the BNAS, and are used to perform IPv6 address response on the network device or the user equipment. The method can effectively solve the problem of acquiring the IPv6 address in the IPv6 network of the expanded three-layer network.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a schematic diagram of an address prefix redistribution system in an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a process of redistributing address prefixes according to an embodiment of the present application;
fig. 3 is a schematic diagram of an address prefix distribution system applied to a home network;
FIG. 4 is a schematic diagram of an apparatus for implementing the above technique in an embodiment of the present application;
fig. 5 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail with specific examples. Several of the following embodiments may be combined with each other and some details of the same or similar concepts or processes may not be repeated in some embodiments.
The embodiment of the application provides a re-distribution method of an address prefix, which is applied to an IAPD distribution device in an IPv6 network with an expanded three-layer network.
The distribution device can be integrated in the network edge device or can be independently deployed.
When the network edge device is independently deployed, the IPv6 address can be acquired from the network edge device, the IPv6 address can also be acquired from the BNAS, information can be exchanged with the network edge device, the network architecture is not changed, the function of address prefix distribution can be directly realized on the distribution device, and the network edge device realizes functions other than address prefix distribution.
The distribution device is integrated and deployed in the network edge device, and can directly acquire an IPv6 address from the network edge device and also can acquire an IPv6 address from BNAS, the distribution device realizes the function of address prefix distribution, and the network device realizes the functions except for address prefix distribution.
The IAPD distribution device not only connects the user access terminals, but also connects the network equipment, the network equipment connects the user access terminals, namely some user access terminals directly obtain the IPv6 address through the IPAD distribution device to carry out IPv6 communication, and some user access terminals obtain the IPv6 address through the network equipment to carry out IPv6 communication.
Referring to fig. 1, fig. 1 is a schematic diagram of an address prefix redistribution system in the embodiment of the present application. The IAPD distribution mechanism in fig. 1 is exemplified as integrated in an IPv6 network edge device. The IPv6 network edge device receives two network devices and a user access terminal 3, which are network device 1 and network device 2, respectively, network device 1 receives user access terminal 1, and network device 2 receives user access terminal 2.
Fig. 1 is only an example of a networking, and in particular, the implementation is not limited to the number of the network devices connected to the network and the number of the user access terminals.
The IPv6 address acquired by the distribution apparatus includes: IAPD address prefix and IANA address prefix;
and aiming at the IANA address prefix, generating a network side address for providing the network side address for the edge equipment. The IANA address processing is not improved by the application aiming at the prior realization.
The following describes in detail a redistribution process for an IAPD address prefix in the embodiment of the present application with reference to the drawings.
Referring to fig. 2, fig. 2 is a schematic diagram of a redistribution process of address prefixes in the embodiment of the present application. The method comprises the following specific steps:
step 201, obtain IAPD address prefix allocated by BNAS.
When acquiring the IPv6 address directly from the BNAS, the IPv6 address may be acquired based on PPPoE and DHCPv6 protocols, including an IANA address prefix and an IAPD address prefix.
The specific acquisition mode is as follows:
PPPoE protocol based authentication, after authentication is successful, DHCPv6 protocol is used for requesting IANA and IAPD two groups of IPv6 addresses;
and when the IPv6 address responded by the BNAS is received, acquiring the IPv6 address.
The IANA address prefix in the IPv6 address is generated into a network side address, and the IAPD address prefix in the IPv6 address is processed in step 202.
Step 202, calculating the obtained IAPD address prefix, and generating an extended IAPD address prefix and an IAPD address pool.
When the IAPD address prefix allocated by the BNAS is an IAPD address prefix of an M-bit mask and the distribution granularity is configured to be N, where M, N is an integer and M is smaller than N, in this step, the obtained IAPD address is calculated, and an extended IAPD address prefix and an IAPD address pool are generated, including:
firstly, expanding an IAPD address prefix of an M-bit mask distributed by the BNAS into an IAPD address prefix of an N-bit mask in a 0 supplementing mode, wherein the IAPD address prefix is used as the expanded IAPD address prefix;
when M is 60 and N is 64, the 60-bit mask address prefix "/60" is obtained, and after 0 complementing calculation is carried out, a 64-bit mask address prefix "/64" is generated;
when M is 56 and N is 64, the address prefix "/56" of the 56-bit mask is acquired, and after 0 complement calculation, the 64-bit mask address prefix "/64" is generated.
I.e. the number of bits of the mask is increased, the specific value of the increased number of bits can be determined according to the actual application.
Then, the N-th position 1 of the N-bit mask of the IAPD address prefix of the N-bit mask is used as the minimum address prefix in the address pool, and the last N-M position of the N-bit mask of the IAPD address prefix of the N-bit mask is used as the maximum address prefix in the address pool, so that the IAPD address pool is generated.
When M is 60 and N is 64, taking the 64 th position 1 in the 64-bit mask as the minimum address prefix in the address pool, and taking the last 64-60-4 bits in the 64-bit mask as the maximum address prefix to generate an IAPD address pool;
and when M is 56 and N is 64, taking the 64 th position 1 in the 64-bit mask as the minimum address prefix in the address pool, and taking the last 64-56-8 positions in the 64-bit mask as the maximum address prefix to generate the IAPD address pool.
Step 203, when receiving a network device request IANA, responding the extended IAPD address prefix to the network device.
Step 204, when receiving the IAPD requested by the network device, responding the IAPD address prefix in the IAPD address pool to the network device.
The specific implementation is to use which address prefix in the IAPD address pool to respond, and the implementation can be implemented according to the configuration rule, which is not limited in the embodiment of the present application.
The step 203 and the step 204 are realized in no sequence, and the corresponding operation is carried out according to the time of receiving the request.
The embodiment of the application further comprises the following steps:
and when receiving an IANA request of a user access terminal, responding the extended IAPD address prefix to the user access terminal.
The user access terminal here is a user access terminal directly connected to the distribution apparatus.
In the embodiment of the application, the extended IAPD address prefix and the IAPD address pool are generated by calculating the IAPD address prefix allocated to the BNAS, and are used for performing IPv6 address response on the network device or the user equipment. The method can effectively solve the problem of acquiring the IPv6 address in the IPv6 network of the expanded three-layer network; and further solve the IPv6 network communication problem in the IPv6 network of the extension three-layer network.
In the following, a home network is taken as an example with reference to the specific example.
Referring to fig. 3, fig. 3 is a schematic diagram of an address prefix distribution system applied to a home network. The distribution apparatus in fig. 3 is deployed in a home gateway, and the home gateway is a network edge device in an IPv6 network.
The home gateway is connected with the home router 1, the home router 2 and the mobile phone terminal, the home router 1 is connected with the PC1, and the home router 2 is connected with the PC 2.
And (3) the network side of the home gateway is connected with BNAS, and after PPPoE authentication, the network side requests an IANA address and an IAPD address prefix through DHCPv 6.
In this embodiment, taking M as 60 and N as 64 as an example, the obtained IADP address prefix: using the 16-ary notation: "2010: 1:1:10:: 60";
using a 2-ary notation as: "0010000000010000: 0000000000000001: 0000000000000001: 0000000000010000:: /60".
Firstly, the home gateway is distributed to expand the 60-bit mask IAPD address prefix distributed by the BNAS into a 64-bit mask IAPD address prefix by 0 complementing, and the expanded IAPD address prefix is used.
Generating an extended IAPD address prefix, that is, the IAPD address prefix with a mask of 64 is:
using the 16-ary notation: "2010: 1:1:10: 64";
using a 2-ary notation as: "0010000000010000: 0000000000000001: 0000000000000001: 0000000000010000: : /64".
Then, the home gateway generates an IAPD address pool by using the 64 th position 1 in the 64-bit mask of the 64-bit masked IAPD address prefix as the minimum address prefix in the address pool, and using the 4 th position all positions 1 in the 64-bit mask of the 64-bit masked IAPD address prefix as the maximum address prefix in the address pool.
Using 16-ary to represent address prefixes in IAPD address pools as: minimum address prefix: "2010: 1:1:11: 64"; maximum address prefix: "2010: 1:1:1F:: 64";
using a 2-ary notation as: minimum address prefix: "0010000000010000: 0000000000000001: 0000000000000001: 0000000000010001:: 64 "; maximum address prefix: "0010000000010000: 0000000000000001: 0000000000000001: 0000000000011111: : /64".
When receiving a home router 1 request IANA, distributing and responding to the home router by using an extended IAPD address prefix of '2010: 1:1:10:: 64';
when receiving the IANA request of the home router 2, distributing and responding to the home router by using the expanded IAPD address prefix of '2010: 1:1:10:: 64';
when receiving the request IANA of the mobile phone terminal, the IAPD address prefix '2010: 1:1:10:: 64' can be distributed and responded to the mobile phone terminal.
Upon receiving the home router 1 request IAPD, the IAPD address prefix "2010: 1:1:11:: 64" may be assigned and responded to the home router 1;
upon receiving the home router 2 request IAPD, the IAPD address prefix "2010: 1:1:12:: 64" may be allocated and responded to the home router 2;
the distributed IAPD address prefix "2010: 1:1: 11:/64" can be assigned and responded to the PC1 when the home router 1 receives the IANA requested by the PC 1.
The distributed IAPD address prefix "2010: 1:1: 12:/64" can be assigned and responded to the PC2 when the home router 2 receives the IANA requested by the PC 2.
As can be seen, the mask granularity of the IAPD address pool configuration of the current IAPD distribution apparatus is N ═ 64 bits.
In the embodiment of the application, the problem that downstream network equipment cannot acquire the address prefix of the IAPD can be effectively solved by redistributing the IAPD address allocated by the telecom operation enterprise. Meanwhile, the IPv6 network address can be more effectively utilized.
Based on the same inventive concept, the embodiment of the present application further provides a redistribution device for address prefixes. The method is applied to the IPv6 network with the three-layer network expanded. Referring to fig. 4, fig. 4 is a schematic structural diagram of an apparatus to which the above-described technology is applied in the embodiment of the present application. The device comprises: an acquisition unit 401, a generation unit 402, a reception unit 403, and a response unit 404;
an obtaining unit 401, configured to obtain an IAPD address prefix allocated by a BNAS;
a generating unit 402, configured to calculate an IAPD address prefix allocated by the BNAS acquired by the acquiring unit 401, and generate an extended IAPD address prefix and an IAPD address pool;
a receiving unit 403, configured to receive a network device request IANA; receiving a network device request IAPD;
a responding unit 404, configured to respond the extended IAPD address prefix to the network device when the receiving unit 403 receives a network device request IANA; when the receiving unit 403 receives the IAPD requested by the network device, it responds the IAPD address prefix in the IAPD address pool to the network device.
Preferably, the first and second electrodes are formed of a metal,
the generating unit 402 is specifically configured to, when the IAPD address prefix allocated by the BNAS is an IAPD address prefix of an M-bit mask and the distribution granularity is configured to be N, where M is smaller than N, calculate the IAPD address prefix allocated by the BNAS, and generate an extended IAPD address prefix and an IAPD address pool, where the IAPD address prefix includes: expanding the IAPD address prefix of the M-bit mask distributed by the BNAS into an IAPD address prefix of an N-bit mask in a 0 supplementing mode, wherein the IAPD address prefix is used as the expanded IAPD address prefix; and taking the N-th position 1 of the N-bit mask of the IAPD address prefix of the N-bit mask as the minimum address prefix in the address pool, and taking the last N-M position all positions 1 in the N-bit mask of the IAPD address prefix of the N-bit mask as the maximum address prefix in the address pool to generate the IAPD address pool.
Preferably, the first and second electrodes are formed of a metal,
a receiving unit 403, further configured to receive an IANA request from a ue;
the responding unit 404 is further configured to respond the extended IAPD address prefix to the user access terminal when the receiving unit 403 receives a user access terminal request IANA.
Preferably, the first and second electrodes are formed of a metal,
an obtaining unit 401, further configured to obtain an IANA address allocated by the BNAS;
the generating unit 402 is further configured to generate a network side address by using the IANA address prefix acquired by the acquiring unit 401.
The units of the above embodiments may be integrated into one body, or may be separately deployed; may be combined into one unit or further divided into a plurality of sub-units.
In another embodiment, an electronic device is also provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method for redistributing address prefixes when executing the program.
In another embodiment, a computer readable storage medium is also provided, having stored thereon computer instructions, which when executed by a processor, may implement the steps in the method for redistributing address prefixes.
Fig. 5 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 5, the electronic device may include: a Processor (Processor)510, a communication Interface (Communications Interface)520, a Memory (Memory)530 and a communication bus 540, wherein the Processor 510, the communication Interface 520 and the Memory 530 communicate with each other via the communication bus 540. Processor 510 may call logic instructions in memory 530 to perform the following method:
when receiving a network equipment request IANA, responding the extended IAPD address prefix to the network equipment;
and when the network equipment requests IAPD, responding an IAPD address prefix in the IAPD address pool to the network equipment.
Furthermore, the logic instructions in the memory 530 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for redistributing address prefixes, which is applied to an IPv6 network with an extended three-layer network, and comprises the following steps:
acquiring an identity associated IAPD address prefix of prefix authorization distributed by a broadband network access server BNAS;
calculating an IAPD address prefix distributed by the BNAS, and generating an expanded IAPD address prefix and an IAPD address pool;
when receiving an identity associated IANA of a non-temporary address requested by a network device, responding the extended IAPD address prefix to the network device;
and when the network equipment requests IAPD, responding an IAPD address prefix in the IAPD address pool to the network equipment.
2. The method of claim 1, wherein when the BNAS allocated IAPD address prefix is an M-bit masked IAPD address prefix and the distribution granularity is configured as N, where M is less than N, computing the BNAS allocated IAPD address prefix, generating an extended IAPD address prefix, and wherein the IAPD address pool comprises:
expanding the IAPD address prefix of the M-bit mask distributed by the BNAS into an IAPD address prefix of an N-bit mask in a 0 supplementing mode, wherein the IAPD address prefix is used as the expanded IAPD address prefix;
and taking the N-th position 1 of the N-bit mask of the IAPD address prefix of the N-bit mask as the minimum address prefix in the address pool, and taking the last N-M position all positions 1 in the N-bit mask of the IAPD address prefix of the N-bit mask as the maximum address prefix in the address pool to generate the IAPD address pool.
3. The method of claim 1, further comprising:
and when receiving an IANA request of a user access terminal, responding the extended IAPD address prefix to the user access terminal.
4. The method according to any one of claims 1-3, wherein the method further comprises:
and acquiring an IANA address prefix distributed by BNAS and generating a network side address.
5. An address prefix redistribution apparatus, applied to an IPv6 network that extends a three-layer network, the apparatus comprising: the device comprises an acquisition unit, a generation unit, a receiving unit and a response unit;
the acquiring unit is configured to acquire an identity associated IAPD address prefix of prefix authorization allocated by a broadband network access server BNAS;
the generating unit is configured to calculate an IAPD address prefix allocated by the BNAS acquired by the acquiring unit, and generate an extended IAPD address prefix and an IAPD address pool;
the receiving unit is used for receiving the identity association IANA of the non-temporary address requested by the network equipment; receiving a network device request IAPD;
the response unit is configured to respond the extended IAPD address prefix to the network device when the receiving unit receives a network device request IANA; when the receiving unit receives the IAPD request of the network equipment, the IAPD address prefix in the IAPD address pool is responded to the network equipment.
6. The apparatus of claim 5,
the generating unit is specifically configured to, when the IAPD address prefix allocated by the BNAS is an IAPD address prefix of an M-bit mask and the distribution granularity is configured to be N, where M is smaller than N, calculate the IAPD address prefix allocated by the BNAS, and generate an extended IAPD address prefix and an IAPD address pool, where the generating unit includes: expanding the IAPD address prefix of the M-bit mask distributed by the BNAS into an IAPD address prefix of an N-bit mask in a 0 supplementing mode, wherein the IAPD address prefix is used as the expanded IAPD address prefix; and taking the N-th position 1 of the N-bit mask of the IAPD address prefix of the N-bit mask as the minimum address prefix in the address pool, and taking the last N-M position all positions 1 in the N-bit mask of the IAPD address prefix of the N-bit mask as the maximum address prefix in the address pool to generate the IAPD address pool.
7. The apparatus of claim 5,
the receiving unit is further configured to receive an IANA request from a user access terminal;
the response unit is further configured to, when the receiving unit receives an IANA request from a ue, respond the extended IAPD address prefix to the ue.
8. The apparatus according to any one of claims 5 to 7,
the acquiring unit is further configured to acquire an IANA address prefix allocated by the BNAS;
the generating unit is further configured to generate a network side address by using the IANA address prefix acquired by the acquiring unit.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-4 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 4.
CN202010326348.5A 2020-04-23 2020-04-23 Method and device for redistributing address prefixes Active CN111586197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010326348.5A CN111586197B (en) 2020-04-23 2020-04-23 Method and device for redistributing address prefixes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010326348.5A CN111586197B (en) 2020-04-23 2020-04-23 Method and device for redistributing address prefixes

Publications (2)

Publication Number Publication Date
CN111586197A true CN111586197A (en) 2020-08-25
CN111586197B CN111586197B (en) 2022-04-15

Family

ID=72125091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010326348.5A Active CN111586197B (en) 2020-04-23 2020-04-23 Method and device for redistributing address prefixes

Country Status (1)

Country Link
CN (1) CN111586197B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114051018A (en) * 2021-09-24 2022-02-15 中盈优创资讯科技有限公司 Method and device for distributing IPv6 address for network equipment based on network architecture
CN114979075A (en) * 2021-02-24 2022-08-30 华为技术有限公司 IPv6 address generation method and related device
WO2024037198A1 (en) * 2022-08-19 2024-02-22 华为技术有限公司 Routing method for home network, and access device and medium
WO2024092923A1 (en) * 2022-11-01 2024-05-10 海尔优家智能科技(北京)有限公司 Method and apparatus for allocating address prefix, storage medium, and electronic apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090285215A1 (en) * 2008-05-13 2009-11-19 Futurewei Technologies, Inc. Internet Protocol Version Six (IPv6) Addressing and Packet Filtering in Broadband Networks
CN101674288A (en) * 2008-09-12 2010-03-17 华为技术有限公司 Method, device and system for managing address prefix distribution
US8681695B1 (en) * 2009-10-14 2014-03-25 Juniper Networks, Inc. Single address prefix allocation within computer networks
CN104380694A (en) * 2014-03-04 2015-02-25 华为终端有限公司 IPv6 address allocation method and device
CN108123857A (en) * 2017-12-26 2018-06-05 新华三技术有限公司 A kind of connection control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090285215A1 (en) * 2008-05-13 2009-11-19 Futurewei Technologies, Inc. Internet Protocol Version Six (IPv6) Addressing and Packet Filtering in Broadband Networks
CN101674288A (en) * 2008-09-12 2010-03-17 华为技术有限公司 Method, device and system for managing address prefix distribution
US8681695B1 (en) * 2009-10-14 2014-03-25 Juniper Networks, Inc. Single address prefix allocation within computer networks
CN104380694A (en) * 2014-03-04 2015-02-25 华为终端有限公司 IPv6 address allocation method and device
CN108123857A (en) * 2017-12-26 2018-06-05 新华三技术有限公司 A kind of connection control method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
S. JIANG等: "Prefix Assignment in DHCPv6 draft-ietf-dhc-host-gen-id-05", 《IETF 》 *
朱晶等: "基于分层动态地址的访问控制方案设计", 《华中科技大学学报(自然科学版)》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979075A (en) * 2021-02-24 2022-08-30 华为技术有限公司 IPv6 address generation method and related device
WO2022179410A1 (en) * 2021-02-24 2022-09-01 华为技术有限公司 Ipv6 address generation method and related device
CN114051018A (en) * 2021-09-24 2022-02-15 中盈优创资讯科技有限公司 Method and device for distributing IPv6 address for network equipment based on network architecture
CN114051018B (en) * 2021-09-24 2024-04-12 中盈优创资讯科技有限公司 Method and device for distributing IPv6 address to network equipment based on network architecture
WO2024037198A1 (en) * 2022-08-19 2024-02-22 华为技术有限公司 Routing method for home network, and access device and medium
WO2024092923A1 (en) * 2022-11-01 2024-05-10 海尔优家智能科技(北京)有限公司 Method and apparatus for allocating address prefix, storage medium, and electronic apparatus

Also Published As

Publication number Publication date
CN111586197B (en) 2022-04-15

Similar Documents

Publication Publication Date Title
CN111586197B (en) Method and device for redistributing address prefixes
US7577753B2 (en) System and method for processing packets in a multi-processor environment
EP2721854B1 (en) Authentication server and communication device
EP3944675A1 (en) Network slice selection method and apparatus
CN101729500B (en) Method, device and system for identifying IP session
CN109756896A (en) A kind of information processing method, the network equipment and computer readable storage medium
CN112104757A (en) Method, equipment and system for configuring IP address
CN111246453A (en) Data transmission method, user plane network element and control plane network element
CN114422473A (en) IP address allocation method and device
EP3672208A1 (en) Data transmission method, pnf sdn controller, vnf sdn controller, and system
CN110581902A (en) Address allocation method, system, DHCP server and authentication server
CN107710634B (en) Communication means and equipment based on optical network system
US11765575B2 (en) Apparatus, method and computer program
CN106953849B (en) Data message matching method and device based on IPv6 address
CN105959933A (en) Terminal control method and control device, and server
CN110708301B (en) User request processing method and device, electronic equipment and storage medium
CN106375489B (en) Method and device for processing Media Access Control (MAC) address
CN116567609A (en) User information association backfill method, device, equipment and storage medium
US10432580B2 (en) Message processing method, apparatus, and system
CN108024326A (en) A kind of network registering method and terminal
EP3101953B1 (en) Discovery resource time-frequency jumping method and terminal
CN106936718B (en) PPPoE message transmission method and PPPoE server
CN113873502A (en) IP address management method, NEF entity and communication system
CN110418335A (en) A kind of information processing method, the network equipment and terminal
CN113542000B (en) Process number determining method and device

Legal Events

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