WO2007028306A1 - A method for reconstructing the network address in the ipv6 access network - Google Patents

A method for reconstructing the network address in the ipv6 access network Download PDF

Info

Publication number
WO2007028306A1
WO2007028306A1 PCT/CN2006/001707 CN2006001707W WO2007028306A1 WO 2007028306 A1 WO2007028306 A1 WO 2007028306A1 CN 2006001707 W CN2006001707 W CN 2006001707W WO 2007028306 A1 WO2007028306 A1 WO 2007028306A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
address
prefix
access
ipv6
Prior art date
Application number
PCT/CN2006/001707
Other languages
French (fr)
Chinese (zh)
Inventor
Haibo Wen
Yinglan Jiang
Qingshan Zhang
Zemin Din
Original Assignee
Alcatel_Lucent
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 Alcatel_Lucent filed Critical Alcatel_Lucent
Publication of WO2007028306A1 publication Critical patent/WO2007028306A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5092Address allocation by self-assignment, e.g. picking addresses at random and testing if they are already in use

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a network address reconstruction method in an IPv6 access network. Background technique
  • IPv4 access will be replaced by IPv6 access network.
  • the network access device DSLAM 12 Digital Subscriber Line Access Multiplexer
  • the CPE Client Device
  • BRAS 13 Broadband Access Server
  • IPv6 IPv6 is introduced into this access network model, the address allocation can be allocated by the BRAS to the user network.
  • the second address configuration mode can be transformed into multiple network access devices, and even a user network under one BRAS shares a 64-bit prefix.
  • IPv6 Address assignment in IPv6 can be divided into two broad categories: stateful address assignment based on DHCPv6 (Dynamic Host Configuration Protocol) and stateless address assignment.
  • the former can strictly control the address allocation.
  • the latter is that the host or terminal obtains the 64-bit network prefix through the RA (Router Advertisement) message obtained from the routing device, and then attaches the Interface Identifier (interface identifier) of the host network interface that received the RA message to form a 128-bit IPv6. address.
  • DAD Downlicate Address Detection
  • All unicast IPv6 addresses must be successfully detected by DAD (Duplicate Address Detection) before being assigned to a network interface to ensure that the address is in the subnet (that is, the network with the same prefix). only one. From the perspective of revenue and network security, network operators do not allow direct communication between different user networks in the access network. Therefore, how to consider how multiple user networks share a prefix in the IPv6 access network model shown in Figure 1 Implement DAD detection.
  • DAD detection can maintain an ⁇ IPv6 address, device line port, and terminal device MAC address> mapping table on the network access device (as shown in Figure 2). The address-line port mapping table completes the DAD detection in the same prefix address space.
  • this mapping table may be changed, but as long as it can help complete the DAD function. For example: (1) When a line access device 12A of the network access device (a line port connected to the user network 11A) receives an NS (Neighbor Solicitation) message for DAD detection, the message contains the tentative provision of the request. Address, if an address already exists in the address corresponding to the address entry of a certain line port (for example, 12B) of the network access device, the address is duplicated. The network access device generates a corresponding NA (Neighbor Advertisement) message to the user network 11A, informing that the address is not available. (2) If the DAD detection finds that there is no address duplication, it waits at the time specified by IPv6.
  • the network access device receives an NS message for DAD detection of the same address by a line port (for example, 12B), Then, a corresponding advertisement is sent to the user networks 11A, 11B to which the two line ports 12A, 12B are connected, indicating that the address is duplicated; otherwise, the network access device adds a new address-line port corresponding to the address-line port mapping table. Mapping table entries.
  • ROM read-only memory
  • Flash flash
  • RAM random access memory
  • An object of the present invention is to provide a method for reconfiguring a network address in an IPv6 access network, which is re-enabled based on a network prefix, and the terminal device in the user network automatically performs address reconstruction when the network access device recovers from a fault;
  • the method includes: a), the network access device initiates a prefix re-enable request to the routing device; b), the routing device prohibits the network prefix currently used by the terminal device in the user network connected to the network access device; c), routing The device reassigns the network prefix to the user network to which the network access device is connected; d), the terminal device in the user network reconstructs the network address according to the obtained network prefix.
  • the prefix re-enable request in step a) includes the network access device identification information.
  • the foregoing prefix re-enable request uses a router request message mode.
  • the routing device constructs a router advertisement message sent to the user network under the network access device, and sets the effective lifetime of the network prefix to zero.
  • the step C) routing device constructs a router advertisement message addressed to the user network under the network access device, the message including the reassigned network prefix and a suitable non-zero effective lifetime.
  • the network access device is a digital subscriber line access multiplexing device
  • the routing device is a broadband access server.
  • the network access device receives a Neighbor Solicitation message from a terminal device of each user network, performs duplicate address detection, and reconstructs an address-line port mapping table.
  • a further object of the present invention is to provide a network access device address-line port mapping table reconstruction method, which enables a network access device to quickly recover an address-line port mapping table under a shared network prefix based on a multicast audience discovery protocol.
  • the method includes: a), a network access device constructing and issuing a multicast listener query request to a terminal device in the tenant network; M) , the terminal device responding to the request, generating a multicast listener report; cl), network access The device reconstructs the address-line port mapping table based on the multicast audience report.
  • the multicast listener query request is a regular query message requesting all terminal device network interfaces in the user network to report all the multicast groups to which they are joining.
  • the network access device obtains the network prefix through the routing device, and further records the interface identifier of the terminal device according to the multicast audience report, and further forms an address-line port mapping table.
  • the method of the invention effectively solves the problem of network address reconfiguration in an IPv6 access network, and causes the user network terminal to perform network address reconfiguration when the network access device needs or fails for management.
  • the device address-line port mapping table reconstruction method provided by the present invention can further solve the address-line port mapping caused by the network access device restarting or other failure factors for some reason under the access network model of the shared network prefix.
  • the loss of the table in turn affects the normal operation of the access network.
  • Figure 1 is an IPv6 access network model
  • 2 is a schematic structural diagram of an address-line port mapping table in a network access device
  • Figure 3 is a prefix information field format of an RA message in an IPv6 stateless address configuration
  • Figure 4 is one embodiment of the present invention: the prefix is re-enabled
  • Figure 5 is a prefix re-enable domain format of an RS message in an IPv6 stateless address configuration
  • 6 is one embodiment of the present invention: multicast audience discovery
  • Embodiment 1 Prefix re-enablement (Reenable-Prefix)
  • This embodiment relates to RFC 2461 "IPv6 Neighbor Discovery" and RFC 2462 "IPv6 Stateless Address Auto Configuration”.
  • the network access device initiates a prefix re-enable request to the routing device, and the routing device disables the prefix used by the terminal device in the user network, and then makes the prefix a legal prefix again, so that each normally-powered terminal device in the user network is restarted. Constructing an IPv6 network address; further, the terminal device initiates DAD detection, and the network access device can successfully reconstruct the address-line port mapping table according to the message detected by the DAD.
  • Figure 3 shows the prefix information field format of the RA message in the IPv6 stateless address configuration.
  • the Type option is 3: uniquely identifies the message type; Prefix option: As described above, in the stateless address configuration, the terminal device in the user network passes the Prefix information and then attaches the terminal.
  • the 64-bit Interface Identifier of the device interface constitutes its own IPv6 address; an IPv6 address has a Valid Lifetime option associated with it, and the effective lifetime is divided into two segments: Recommended lifetime (Preferred) Lifetime) and disapproval of usage time.
  • the device can establish a new session with other devices on the network; a new session cannot be established within the time limit, but the existing session communication can still be performed.
  • the terminal device shall perform the following processing on the prefix information field in each RA message: (1) If the Prefix option in the prefix information field does not match the network prefix of the current terminal device interface using the address, it will construct the corresponding The address is also used as a DAD test. After the DAD test succeeds, the address is assigned to the interface. (2) If the Prefix option in the prefix information field matches the prefix of the current terminal device interface address, the prefix information field is treated according to the prefix information field. The effective lifetime is determined by the remaining valid lifetime of the address, and usually does not change the remaining lifetime to the valid lifetime specified in the prefix information field. If the valid lifetime in the prefix information field is greater than 2 hours or greater than the remaining valid time to live, or the RA message is authenticated (such as by IP security or by using the mechanism defined in RFC3971).
  • an address-line port mapping table is maintained for the user network connected to its line port.
  • the network access device checks all address-line port mapping tables to help implement DAD detection, and does not The NS/NA messages in the user network are forwarded to other user networks, as described above.
  • Step S40 The network access device DSLAM needs to perform address reconfiguration, for example: for management needs or equipment Restart, etc., it informs the BRAS to re-enable the prefix.
  • the notification process can notify the BRAS by any means, such as Simple Network Management Protocol (SNMP).
  • SNMP Simple Network Management Protocol
  • RS Radio Request
  • FIG. 5 The format is shown in Figure 5: The Type option can be selected as 10, uniquely.
  • the Length option is 1
  • the Access Node # option is the number of the network access device that sent the RS message.
  • the DSLAM constructs a new RS message carrying the prefix re-enabled domain to the BRAS.
  • Step S41 after obtaining the DSLAM prefix re-enabling notification message, the BRAS constructs an RA message addressed to the DSLAM.
  • the RA message includes a prefix information field indicating the Prefix information used by the user network under the DSLAM, and the Valid Lifetime option is 0. Of course, this message needs to carry information that can authenticate this message.
  • Step S42 The terminal device in the user network verifies the RA message, finds that the prefix of the current used address matches the prefix information carried in the RA, and the specified Valid Lifetime is set to 0, that is, discards the currently used address.
  • Step S43 After the RA message is sent in step S41, the BRAS sends an RA message carrying the network prefix assigned to the user network terminal device under the network access device immediately after or after a few seconds.
  • the Valid Lifetime and Preferred Lifetime options for this prefix are set to a reasonable non-zero value.
  • Step S44 The terminal device in the user network obtains the Prefix information according to the received RA message and processes the prefix information field in each RA message according to the foregoing manner to construct a new IPv6 tentative address. Further, according to the address-line port mapping table reconfiguration idea in the network access device of the present invention, in the next step S45, the terminal device interface in the user network generates an NS message for DAD detection, the NS message including new Constructed tentative address information. Step S46, the DSLAM performs DAD detection and reconstructs the address-line port mapping table according to the received related DAD information.
  • Embodiment 2 Multicast Listener Discovery (MLD: Multicast Listener Discovery);
  • This solution involves RFC2710 "IPv6 Multicast Audience Discovery” and RFC3810 “Multicast Audience Discovery (Second Edition)”.
  • This embodiment utilizes multicast queries and multicast reports in the multicast audience discovery protocol, and according to the multicast report.
  • the IP source address reconstructs the address line port mapping table.
  • the IPv4 network uses the IGMP (Internet Group Management Protocol) protocol to manage the multicast membership of the local subnet.
  • the MLD protocol replaces the IGMP protocol.
  • IPv6 routers use the MLD protocol to discover multicast members on links directly connected to them.
  • the MLD protocol runs on the ICMP (Internet Control Message Protocol) protocol, which defines three types of message types: (1) Multicast Listener Query, which is used by the multicast router to poll the directly connected link. The situation of the members of the upper group.
  • the query can be a regular query to query which multicast group members are on the link; or a specific group query to query if there is a member of a particular multicast group.
  • (2) Multicast Listener Report When the host joins the multicast group, the host interface sends this report message in response to the multicast listener query.
  • the IPv6 destination address of the report message and the MLD multicast address field in the report message are all set to the multicast group address that the host joins, so the report can be heard not only by the router but also on the link.
  • the IPv6 destination address of the multicast listener report message is the multicast address that all MLD routers are listening to (FF02:0:0 : 0 : 0:0:0:16)
  • the message cannot be heard by the host members of the same multicast group on the shared link. Therefore, the network interfaces belonging to the same multicast group on the same shared link will report.
  • Multicast Listener Done when the host leaves the multicast group, its network interface sends this message.
  • the network interface In an IPv6 network, after a unicast address is assigned to a network interface, the network interface also joins the lowest 24 bits (XX:XXXX) of the unicast address attached to FF02:0:0:0:1: FF formation Solicited Multicast Group (FF02:0:0:0:0:1:FFXX:XXXX), this type of multicast group address belongs to the multicast group address that MLD needs to report multicast membership, so the network interface Will respond to the multicast listener regular query message.
  • one embodiment of the present invention is a network access device address-line port mapping table reconstruction scheme based on a multicast audience discovery, and the specific process is: Step S60, the network access device DSLAM needs to be generated.
  • address reconfiguration for example: device restart, etc., it constructs a multicast listener regular query message whose destination address is the multicast address of all nodes (FF02::1).
  • Step S61 The terminal device in the user network receives the multicast query message, and generates a multicast audience report, where the source address of the report is the current IPv6 unicast address of the network interface.
  • Step S62 The DSLAM can intercept the multicast audience report by performing the MLD PROXY/SNOOPING function, record the source IP address of the report, and receive the line port of the report, and obtain the source IP address.
  • 64-bit interface identifier It is worth noting that the 64-bit network prefix required for address reconfiguration can be obtained by the network access device from the BRAS in any way: for example, constructing an RS message request to the BRAS to allocate network prefix information, or requesting BRAS via SNMP To obtain the network prefix information, in addition, the BRAS also periodically sends the network prefix information to the DSLAM through the RA message.
  • the combination of the interface identifier and the network prefix constitutes the current IP address of the terminal device, and the DSLAM reconstructs the address-line port mapping table.
  • the network access device can reconstruct all address-line port mapping tables according to the above method.
  • the IP address of the interface being used can be guaranteed to be at least 64 bits different, and the minimum is not guaranteed. The difference of 24 bits, therefore, may belong to the same solicitation multicast group by having multiple terminal device interfaces.
  • the address-line port table reconstruction under this scheme may make the entry reconstruction incomplete, but it can generally be ignored in the access network, because (1), a user in the access network
  • the multicast audience report of the network cannot be heard by devices in other user networks, so if different users have networks belonging to the same soliciting multicast group (the lower 64 bits of the addresses of these members are different), then Each user network will report a multicast audience for the multicast group; ( 2 ) there will not be too many devices in a user network, so the lowest 24 of the addresses of multiple devices in a user network is unlikely to be the same. of.

Landscapes

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

Abstract

A method for reconstructing the network address in the IPv6 access network includes: a) the network access equipment sends the reenable-prefix request to the route equipment; b) the route equipment forbids the network prefix which is used currently by the terminal equipment in the user network connecting with the network access equipment; c) the route equipment reassigns the network prefix to the user network connecting with the network access equipment; d) the terminal equipment in the user network reconstructs the network address according to the obtained network prefix. In the prefix shared IPv6 access network, the network access equipment could further reconstruct the address and circuit port map table, therefore, it is avoided that the normal operation of the access network is affected because of the address and circuit port map table is lost when the network access equipment is restarted for some reason or some other fault appears.

Description

IPv6接入网络中网络地址重构方法 技术领域  Network address reconstruction method in IPv6 access network
本发明涉及通信技术领域,尤其涉及一种 IPv6接入网络中网络地址重构方 法。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a network address reconstruction method in an IPv6 access network. Background technique
随着通信网络技术的快速发展,加上 IPv6的愈发成熟, IPv4接入将由 IPv6 接入网替代。  With the rapid development of communication network technology and the maturity of IPv6, IPv4 access will be replaced by IPv6 access network.
如图 1所示一种典型的 IPv6接入网模型中, 网络接入设备 DSLAM 12 (数 字用户线接入复用器) 和用户网络 11A、 11B中的 CPE (客户端设备) 通常工 作在第二层, BRAS 13 (宽带接入服务器)工作在第三层。 当 IPv6引入到这种 接入网络模型时, 地址分配可以是 BRAS到用户网络进行分配的, 这就存在多 种地址配置方式: (1)一个用户网络拥有一个 64比特的前缀, 即独享 64比特的 地址空间。 由于一个用户网络的设备远远小于 264个, 这种方式地址利用率不 高。 (2)—个网络接入设备下所有的用户网络共享一个 64比特前缀, 这种方式 显然比前者地址利用率高。 第二种地址配置方式可以变形为多个网络接入设 备、 甚至一个 BRAS下所有用户网络共享一个 64比特前缀。 In a typical IPv6 access network model as shown in Figure 1, the network access device DSLAM 12 (Digital Subscriber Line Access Multiplexer) and the CPE (Client Device) in the user networks 11A, 11B usually work in the first On the second floor, BRAS 13 (Broadband Access Server) works on the third floor. When IPv6 is introduced into this access network model, the address allocation can be allocated by the BRAS to the user network. There are multiple address configuration methods: (1) A user network has a 64-bit prefix, that is, 64 exclusive. The address space of the bit. Since the device of a user network is much smaller than 2 64 , the address utilization rate is not high in this way. (2) All user networks under a network access device share a 64-bit prefix, which is obviously higher than the former. The second address configuration mode can be transformed into multiple network access devices, and even a user network under one BRAS shares a 64-bit prefix.
IPv6中的地址分配可以分为两大类: 基于 DHCPv6 (动态主机配置协议) 的有状态地址分配和无状态地址分配。 前者可以严格地控制地址分配。 而后者 是主机或终端通过从路由设备获得的 RA (路由器通告)消息得到 64bit的网络 前缀, 再附加上接收到该 RA消息的主机网络接口的 Interface Identifier (接口 标识符) 以形成 128比特的 IPv6地址。 在 IPv6网络中, 所有的单播 IPv6地址 在分配给某个网络接口之前, 必须成功通过 DAD (重复地址检测) 检测, 以保 证该地址在该子网 (即拥有同一个前缀的网络中) 中是唯一的。 网络营运商从 收益和网络安全的角度考虑, 不允许接入网中不同用户网络直接通信, 那么必 须考虑在图 1所示的 IPv6接入网络模型中,多个用户网络同时共享一个前缀时 如何实现 DAD检测。通常, DAD检测可通过在网络接入设备上维护一个 <IPv6 地址, 设备线路端口, 终端设备 MAC地址 >映射表(如图 2所示) , 以下简称 地址 -线路端口映射表, 完成共享同一前缀地址空间内的 DAD检测, 在具体实 现时, 这个映射表可以有所变化, 但只要能帮助完成 DAD功能即可。 举例来 说: (1) 当网络接入设备某线路端口 12A (与用户网络 11A相连接的线路端口) 接收到一个用于 DAD检测的 NS (邻居请求) 消息时, 该消息包含请求的暂定 地址, 如果在该网络接入设备的某个线路端口 (例如 12B ) 的地址对应地址表 项中已经存在一个相同的地址,则说明地址重复。网络接入设备则产生相应 NA (邻居通告) 消息给用户网络 11A, 告知该地址不可用。 (2) 如果 DAD检测发 现没有地址重复, 则在 IPv6所规定的时间进行等待, 在这期间, 如果网络接入 设备收到某线路端口 (例如 12B)对同一个地址作 DAD检测的 NS消息, 则向 这两个线路端口 12A、 12B所连接的用户网络 11A、 11B发出相应通告, 说明 此地址重复; 否则, 网络接入设备在地址-线路端口映射表中添加关于新的地址 -线路端口对应映射表项。 Address assignment in IPv6 can be divided into two broad categories: stateful address assignment based on DHCPv6 (Dynamic Host Configuration Protocol) and stateless address assignment. The former can strictly control the address allocation. The latter is that the host or terminal obtains the 64-bit network prefix through the RA (Router Advertisement) message obtained from the routing device, and then attaches the Interface Identifier (interface identifier) of the host network interface that received the RA message to form a 128-bit IPv6. address. In an IPv6 network, all unicast IPv6 addresses must be successfully detected by DAD (Duplicate Address Detection) before being assigned to a network interface to ensure that the address is in the subnet (that is, the network with the same prefix). only one. From the perspective of revenue and network security, network operators do not allow direct communication between different user networks in the access network. Therefore, how to consider how multiple user networks share a prefix in the IPv6 access network model shown in Figure 1 Implement DAD detection. Generally, DAD detection can maintain an <IPv6 address, device line port, and terminal device MAC address> mapping table on the network access device (as shown in Figure 2). The address-line port mapping table completes the DAD detection in the same prefix address space. In the specific implementation, this mapping table may be changed, but as long as it can help complete the DAD function. For example: (1) When a line access device 12A of the network access device (a line port connected to the user network 11A) receives an NS (Neighbor Solicitation) message for DAD detection, the message contains the tentative provision of the request. Address, if an address already exists in the address corresponding to the address entry of a certain line port (for example, 12B) of the network access device, the address is duplicated. The network access device generates a corresponding NA (Neighbor Advertisement) message to the user network 11A, informing that the address is not available. (2) If the DAD detection finds that there is no address duplication, it waits at the time specified by IPv6. During this period, if the network access device receives an NS message for DAD detection of the same address by a line port (for example, 12B), Then, a corresponding advertisement is sent to the user networks 11A, 11B to which the two line ports 12A, 12B are connected, indicating that the address is duplicated; otherwise, the network access device adds a new address-line port corresponding to the address-line port mapping table. Mapping table entries.
目前存在多种内存: ROM (只读内存) 、 Flash (闪存) 、 RAM (随机存 储器) 等, 从价格、 功能以及存取速度上考虑, 网络设备通常用 RAM保存路 由表等数据信息, 在网络接入设备中采用 RAM来保存地址 -线路端口映射表, 当接入设备掉电或者因为其他某种故障重启时,地址 -线路端口映射表就不存在 了, 这将使今后的 DAD检测无法顺利进行, 网络接入设备下的终端设备将无 法正常工作。因此有必要解决在这种网络模型下地址重构方法,网络接入设备可 进一步地对其地址-线路端口映射表予以重构。 发明内容  There are currently a variety of memory: ROM (read-only memory), Flash (flash), RAM (random access memory), etc., in terms of price, function and access speed, network devices usually use RAM to store routing table and other data information, in the network The access device uses RAM to store the address-line port mapping table. When the access device is powered down or restarted due to some other failure, the address-line port mapping table does not exist, which will make future DAD detection impossible. The terminal device under the network access device will not work properly. Therefore, it is necessary to solve the address reconstruction method under this network model, and the network access device can further reconstruct its address-line port mapping table. Summary of the invention
本发明目的之一在于提供一种 IPv6接入网络中网络地址重构方法,基于网 络前缀重新使能, 网络接入设备故障恢复时, 使用户网络中的终端设备自动进 行地址重构; 所述方法包括: a)、 网络接入设备向路由设备发起前缀重新使能 请求; b) 、 路由设备禁止与该网络接入设备相连接的用户网络中终端设备当 前使用的网络前缀; c)、路由设备为该网络接入设备相连接的用户网络重新分 配网络前缀; d) 、 用户网络中的终端设备根据获得的网络前缀重新构造网络 地址。  An object of the present invention is to provide a method for reconfiguring a network address in an IPv6 access network, which is re-enabled based on a network prefix, and the terminal device in the user network automatically performs address reconstruction when the network access device recovers from a fault; The method includes: a), the network access device initiates a prefix re-enable request to the routing device; b), the routing device prohibits the network prefix currently used by the terminal device in the user network connected to the network access device; c), routing The device reassigns the network prefix to the user network to which the network access device is connected; d), the terminal device in the user network reconstructs the network address according to the obtained network prefix.
优选地, 步骤 a)中前缀重新使能请求包括该网络接入设备标识信息。 优选地, 前述前缀重新使能请求使用路由器请求消息方式。 Preferably, the prefix re-enable request in step a) includes the network access device identification information. Preferably, the foregoing prefix re-enable request uses a router request message mode.
优选地, 步骤 b)中路由设备构造一个发往上述网络接入设备下用户网络的 路由器通告消息, 设置其网络前缀的有效生存时间为零。  Preferably, in step b), the routing device constructs a router advertisement message sent to the user network under the network access device, and sets the effective lifetime of the network prefix to zero.
优选地,步骤 C) 路由设备构造一个发往上述网络接入设备下用户网络的路 由器通告消息, 该消息包含重新分配的网络前缀以及合适的非零有效生存时 间。  Preferably, the step C) routing device constructs a router advertisement message addressed to the user network under the network access device, the message including the reassigned network prefix and a suitable non-zero effective lifetime.
优选地, 所述网络接入设备为数字用户线接入复用装置, 所述路由设备为 宽带接入服务器。  Preferably, the network access device is a digital subscriber line access multiplexing device, and the routing device is a broadband access server.
基于上述 IPv6接入网络中网络地址重构方法,网络接入设备接收来自各用 户网络的终端设备的邻居请求消息,执行重复地址检测、并重构地址-线路端口 映射表。  Based on the network address reconfiguration method in the IPv6 access network described above, the network access device receives a Neighbor Solicitation message from a terminal device of each user network, performs duplicate address detection, and reconstructs an address-line port mapping table.
本发明进一步目的在于提供一种网络接入设备地址-线路端口映射表重构 方法, 基于多播听众发现协议, 使得网络接入设备在共享网络前缀下, 其地址 -线路端口映射表能快速恢复。 所述方法包括: al ) 、 网络接入设备构造并向甩 户网络中的终端设备发出多播听众查询请求; M ) 、 终端设备响应上述请求, 产生多播听众报告; cl ) 、 网络接入设备根据多播听众报告重构地址-线路端口 映射表。 A further object of the present invention is to provide a network access device address-line port mapping table reconstruction method, which enables a network access device to quickly recover an address-line port mapping table under a shared network prefix based on a multicast audience discovery protocol. . The method includes: a), a network access device constructing and issuing a multicast listener query request to a terminal device in the tenant network; M) , the terminal device responding to the request, generating a multicast listener report; cl), network access The device reconstructs the address-line port mapping table based on the multicast audience report.
优选地, 步骤 al)中, 多播听众査询请求是常规查询消息, 该消息请求用户 网络中的所有终端设备网络接口报告其所加入的所有多播组。  Preferably, in step al), the multicast listener query request is a regular query message requesting all terminal device network interfaces in the user network to report all the multicast groups to which they are joining.
优选地, 步骤 cl)中, 网络接入设备通过路由设备获得网络前缀, 并根据 多播听众报告记录终端设备的接口标识, 进一步构成地址 -线路端口映射表。  Preferably, in step cl), the network access device obtains the network prefix through the routing device, and further records the interface identifier of the terminal device according to the multicast audience report, and further forms an address-line port mapping table.
本发明方法有效地解决了在 IPv6接入网络中网络地址重构问题,在网络接 入设备出于管理的需要或发生故障时, 使得其用户网络终端进行网络地址重 构。  The method of the invention effectively solves the problem of network address reconfiguration in an IPv6 access network, and causes the user network terminal to perform network address reconfiguration when the network access device needs or fails for management.
本发明所提供的设备地址-线路端口映射表重构方法,可进一步解决在共享 网络前缀的接入网模型下, 网络接入设备由于某种原因重启或其他故障因素而 造成地址 -线路端口映射表丢失进而影响接入网络的正常工作的问题。  The device address-line port mapping table reconstruction method provided by the present invention can further solve the address-line port mapping caused by the network access device restarting or other failure factors for some reason under the access network model of the shared network prefix. The loss of the table in turn affects the normal operation of the access network.
附图说明 DRAWINGS
图 1是 IPv6接入网模型; 图 2是网络接入设备中的地址-线路端口映射表结构示意; Figure 1 is an IPv6 access network model; 2 is a schematic structural diagram of an address-line port mapping table in a network access device;
图 3是 IPv6无状态地址配置中 RA消息的前缀信息域格式;  Figure 3 is a prefix information field format of an RA message in an IPv6 stateless address configuration;
图 4是本发明实施例之一: 前缀重新使能;  Figure 4 is one embodiment of the present invention: the prefix is re-enabled;
图 5是 IPv6无状态地址配置中 RS消息的前缀重新使能域格式;  Figure 5 is a prefix re-enable domain format of an RS message in an IPv6 stateless address configuration;
图 6是本发明实施例之一: 多播听众发现; 具体实施方式  6 is one embodiment of the present invention: multicast audience discovery;
下面结合附图, 对本发明的优选实施方式进行详细的说明。  DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
实施例一: 前缀重新使能 (Reenable-Prefix)  Embodiment 1: Prefix re-enablement (Reenable-Prefix)
本实施例涉及到 RFC2461 "IPv6邻居发现"和 RFC2462 "IPv6无状态地址自 动配置"。网络接入设备向路由设备发起前缀重新使能请求,路由设备通过对用 户网络中的终端设备使用的前缀予以禁止, 然后再次使该前缀为合法前缀, 促 使用户网络中各个正常开机的终端设备重新构造 IPv6网络地址;进一步地, 终 端设备发起 DAD检测,网络接入设备根据 DAD检测的消息即可成功重构地址 -线路端口映射表。  This embodiment relates to RFC 2461 "IPv6 Neighbor Discovery" and RFC 2462 "IPv6 Stateless Address Auto Configuration". The network access device initiates a prefix re-enable request to the routing device, and the routing device disables the prefix used by the terminal device in the user network, and then makes the prefix a legal prefix again, so that each normally-powered terminal device in the user network is restarted. Constructing an IPv6 network address; further, the terminal device initiates DAD detection, and the network access device can successfully reconstruct the address-line port mapping table according to the message detected by the DAD.
图 3是 IPv6无状态地址配置中 RA消息的前缀信息域格式。 其中, Type (类型) 选项为 3 : 唯一地标识该消息类型; Prefix (前缀) 选项: 如前所述, 在无状态地址配置中, 用户网络中的终端设备通过该 Prefix信息, 再附加上终 端设备接口的 64比特的 Interface Identifier (接口标识符)构成了自己的 IPv6地 址; 一个 IPv6地址有一个 Valid Lifetime (有效生存时间) 选项与其关联, 该有 效生存时间被分成两段: 推荐生存时间 (Preferred Lifetime)和不赞成使用时间。 在推荐生存时间内, 设备可以与网络上其他设备建立新的会话; 在不赞成使用 时间内不能建立新的会话, 但已有的会话通信仍可进行。  Figure 3 shows the prefix information field format of the RA message in the IPv6 stateless address configuration. Wherein, the Type option is 3: uniquely identifies the message type; Prefix option: As described above, in the stateless address configuration, the terminal device in the user network passes the Prefix information and then attaches the terminal. The 64-bit Interface Identifier of the device interface constitutes its own IPv6 address; an IPv6 address has a Valid Lifetime option associated with it, and the effective lifetime is divided into two segments: Recommended lifetime (Preferred) Lifetime) and disapproval of usage time. During the recommended lifetime, the device can establish a new session with other devices on the network; a new session cannot be established within the time limit, but the existing session communication can still be performed.
在 RFC2462规定,终端设备需对每个 RA消息中的前缀信息域作以下处理: (1)如果前缀信息域中的 Prefix选项与当前终端设备接口使用地址的网络前缀不 匹配, 它会构造相应的地址并作 DAD捡测, DAD检测成功通过后, 该地址分 配给该接口;(2)如果前缀信息域中的 Prefix选项与当前终端设备接口使用地址 的前缀匹配, 对其处理则视前缀信息域的有效生存时间与该地址的剩余有效生 存时间而定, 通常不让将剩余生存时间更改为前缀信息域中指定的有效生存时 间, 除非前缀信息域中的有效生存时间大于 2个小时或者其大于剩余有效生存 时间, 或者此 RA消息是认证通过认证的(比如通过 IP security等手段或者使用 RFC3971所定义的机制)。 In RFC2462, the terminal device shall perform the following processing on the prefix information field in each RA message: (1) If the Prefix option in the prefix information field does not match the network prefix of the current terminal device interface using the address, it will construct the corresponding The address is also used as a DAD test. After the DAD test succeeds, the address is assigned to the interface. (2) If the Prefix option in the prefix information field matches the prefix of the current terminal device interface address, the prefix information field is treated according to the prefix information field. The effective lifetime is determined by the remaining valid lifetime of the address, and usually does not change the remaining lifetime to the valid lifetime specified in the prefix information field. If the valid lifetime in the prefix information field is greater than 2 hours or greater than the remaining valid time to live, or the RA message is authenticated (such as by IP security or by using the mechanism defined in RFC3971).
而网络接入设备上为与其线路端口相连的用户网络维护了一个地址 -线路 端口映射表, 作 DAD检测时, 网络接入设备检查所有地址 -线路端口映射表帮 助实现 DAD检测, 同时不把各自用户网络中的 NS/NA消息转发到其他用户网 络中去, 前面已有叙述。  On the network access device, an address-line port mapping table is maintained for the user network connected to its line port. When performing DAD detection, the network access device checks all address-line port mapping tables to help implement DAD detection, and does not The NS/NA messages in the user network are forwarded to other user networks, as described above.
如图 4所示是本发明实施例之一: 前缀重新使能, 其具体流程为: 步骤 S40, 网络接入设备 DSLAM在发生需要地址重构的情况下,例如: 出 于管理的需要或设备重新启动等, 它通知 BRAS进行前缀重新使能。 该通知过 程可以通过任何一种方式通知 BRAS, 比如简单网络管理协议 (SNMP) 等。 在此, 我们使用 RS (路由器请求)消息方式, 可以为 RS消息定义一个新的域, 称之为前缀重新使能域, 其格式见图 5: Type (类型) 选项可以选择为 10, 唯 一地标识该消息类型, Length (长度) 选项为 1, 接入节点 (Access Node #) 选项为发出该 RS消息的网络接入设备的编号。 DSLAM构造一个新的 RS消息, 携带前缀重新使能域送到 BRAS。  As shown in FIG. 4, in the embodiment of the present invention, the prefix is re-enabled, and the specific process is as follows: Step S40: The network access device DSLAM needs to perform address reconfiguration, for example: for management needs or equipment Restart, etc., it informs the BRAS to re-enable the prefix. The notification process can notify the BRAS by any means, such as Simple Network Management Protocol (SNMP). Here, we use the RS (Router Request) message mode to define a new domain for the RS message, called the prefix re-enable domain. The format is shown in Figure 5: The Type option can be selected as 10, uniquely. Identifies the message type, the Length option is 1, and the Access Node # option is the number of the network access device that sent the RS message. The DSLAM constructs a new RS message carrying the prefix re-enabled domain to the BRAS.
步骤 S41, BRAS在得到 DSLAM前缀重新使能通知消息后, 则构造一个 发往该 DSLAM的 RA消息, RA消息包含一个前缀信息域, 指明 DSLAM下面 的用户网络使用的 Prefix信息, 并且 Valid Lifetime选项为 0。 当然, 这个消息 需要携带能认证此消息的信息。  Step S41, after obtaining the DSLAM prefix re-enabling notification message, the BRAS constructs an RA message addressed to the DSLAM. The RA message includes a prefix information field indicating the Prefix information used by the user network under the DSLAM, and the Valid Lifetime option is 0. Of course, this message needs to carry information that can authenticate this message.
步骤 S42, 用户网络中的终端设备验证此 RA消息, 发现当前使用地址的 前缀与 RA中携带的前缀信息匹配并且指定的 Valid Lifetime设为 0, 即抛弃当 前使用的地址。  Step S42: The terminal device in the user network verifies the RA message, finds that the prefix of the current used address matches the prefix information carried in the RA, and the specified Valid Lifetime is set to 0, that is, discards the currently used address.
步骤 S43, BRAS在步骤 S41发出 RA消息后, 紧接着或者等数秒后, 发 出携带分配给该网络接入设备下用户网络终端设备的网络前缀的 RA消息。 该 前缀的 Valid Lifetime选项和 Preferred Lifetime选项设置为一个合理的非 0值。  Step S43: After the RA message is sent in step S41, the BRAS sends an RA message carrying the network prefix assigned to the user network terminal device under the network access device immediately after or after a few seconds. The Valid Lifetime and Preferred Lifetime options for this prefix are set to a reasonable non-zero value.
步骤 S44, 用户网络中的终端设备根据接收到的 RA消息, 得到的 Prefix 信息并根据前述方式对每个 RA消息中的前缀信息域作相应处理, 以进行构造 新的 IPv6暂定地址。 此外, 根据本发明的网络接入设备中的地址-线路端口映射表重构思想,在 接下来的步骤 S45,用户网络中的终端设备接口产生用于 DAD检测的 NS消息, 该 NS 消息包含新构造的暂定地址信息。 步骤 S46, DSLAM根据收到的相关 DAD信息, 进行 DAD检测并重构地址 -线路端口映射表。 Step S44: The terminal device in the user network obtains the Prefix information according to the received RA message and processes the prefix information field in each RA message according to the foregoing manner to construct a new IPv6 tentative address. Further, according to the address-line port mapping table reconfiguration idea in the network access device of the present invention, in the next step S45, the terminal device interface in the user network generates an NS message for DAD detection, the NS message including new Constructed tentative address information. Step S46, the DSLAM performs DAD detection and reconstructs the address-line port mapping table according to the received related DAD information.
实施例 2: 多播听众发现 (MLD: Multicast Listener Discovery) ;  Embodiment 2: Multicast Listener Discovery (MLD: Multicast Listener Discovery);
此方案涉及 RFC2710 "IPv6多播听众发现" 和 RFC3810 "多播听众发现 (第二版) " , 本实施例利用多播听众发现协议中的多播查询和多播报告, 并 根据多播报告中的 IP源地址重构地址线路端口映射表。  This solution involves RFC2710 "IPv6 Multicast Audience Discovery" and RFC3810 "Multicast Audience Discovery (Second Edition)". This embodiment utilizes multicast queries and multicast reports in the multicast audience discovery protocol, and according to the multicast report. The IP source address reconstructs the address line port mapping table.
IPv4网络使用 IGMP (因特网组管理协议) 协议管理本机子网多播成员身 份, 在 IPv6网络中, MLD协议取代了 IGMP协议, 当前有两个版本的 MLD, 即 MLD第一版和 MLD第二版, 根据其相关规定: IPv6路由器使用 MLD协议 去发现与其直接相连的链路上多播成员。 MLD协议运行在 ICMP (网际控制报 文协议)协议之上,其定义了三种类型的消息类型: (1 )多播听众查询 (Multicast Listener Query), 由多播路由器以便轮询直接相连链路上组成员情况。查询可以 是常规查询, 以查询该链路上有哪些多播组成员; 或者是特定组查询, 以查询 是否有某个特定多播组的成员。 (2) 多播听众报告 (Multicast Listener Report), 当主机加入多播组时, 主机接口在响应多播听众查询时发出此报告消息。 在 MLD第一版中, 报告消息的 IPv6 目标地址以及报告消息中的 MLD多播地址 域都设定为该主机加入的多播组地址, 因此该报告不仅路由器能听到, 该链路 上其他加入该多播组的主机成员也能侦听到, 由于使用了延迟报告和侦听技 术, 在与路由器一个接口直接相连的共享链路上, 即使有多个同属于这一个多 播组的成员, 该子网也只产生一个报告消息。 而在 MLD第二版中, 情况有所 不同: 多播听众报告消息的 IPv6目标地址是所有 MLD路由器正在侦听的多播 地址 (FF02:0:0:0:0:0:0:16) , 该消息不能被该共享链路上属于同一个多播组的 主机成员所侦听到, 因此在同一个共享链路上的属于同一个多播组的网络接口 都会发出报告。 (3 ) 多播听众完成 (Multicast Listener Done), 当主机离开多播 组, 其网络接口发出此消息。 The IPv4 network uses the IGMP (Internet Group Management Protocol) protocol to manage the multicast membership of the local subnet. In the IPv6 network, the MLD protocol replaces the IGMP protocol. Currently, there are two versions of MLD, namely the first version of MLD and the second version of MLD. According to its relevant regulations: IPv6 routers use the MLD protocol to discover multicast members on links directly connected to them. The MLD protocol runs on the ICMP (Internet Control Message Protocol) protocol, which defines three types of message types: (1) Multicast Listener Query, which is used by the multicast router to poll the directly connected link. The situation of the members of the upper group. The query can be a regular query to query which multicast group members are on the link; or a specific group query to query if there is a member of a particular multicast group. (2) Multicast Listener Report. When the host joins the multicast group, the host interface sends this report message in response to the multicast listener query. In the first version of MLD, the IPv6 destination address of the report message and the MLD multicast address field in the report message are all set to the multicast group address that the host joins, so the report can be heard not only by the router but also on the link. Host members joining the multicast group can also hear, because of the use of delayed reporting and listening techniques, on a shared link directly connected to an interface of the router, even if there are multiple members belonging to the same multicast group , the subnet also generates only one report message. In the second version of MLD, the situation is different: The IPv6 destination address of the multicast listener report message is the multicast address that all MLD routers are listening to (FF02:0:0 : 0 : 0:0:0:16) The message cannot be heard by the host members of the same multicast group on the shared link. Therefore, the network interfaces belonging to the same multicast group on the same shared link will report. (3) Multicast Listener Done, when the host leaves the multicast group, its network interface sends this message.
在 IPv6网络中, 一个单播地址分配给一个网络接口后, 该网络接口也加入 了由该单播地址的最低 24比特 (XX:XXXX)附加在 FF02:0:0:0:0:1 :FF形成的征 求多播组 (Solicited Multicast Group, FF02:0:0:0:0:1 :FFXX:XXXX), 这类多播组 地址属于 MLD需要报告多播成员关系的多播组地址, 因此该网络接口会响应 多播听众常规査询消息。 In an IPv6 network, after a unicast address is assigned to a network interface, the network interface also joins the lowest 24 bits (XX:XXXX) of the unicast address attached to FF02:0:0:0:0:1: FF formation Solicited Multicast Group (FF02:0:0:0:0:1:FFXX:XXXX), this type of multicast group address belongs to the multicast group address that MLD needs to report multicast membership, so the network interface Will respond to the multicast listener regular query message.
如图 6所示本发明实施例之一, 它是基于多播听众发现的网络接入设备地 址-线路端口映射表重构方案, 其具体过程为- 步骤 S60、 网络接入设备 DSLAM在发生需要地址重构的情况下,例如: 设 备重新启动等, 它构造一个多播听众常规查询消息, 消息的目标地址是所有节 点多播地址 ( FF02::1 ) 。  As shown in FIG. 6, one embodiment of the present invention is a network access device address-line port mapping table reconstruction scheme based on a multicast audience discovery, and the specific process is: Step S60, the network access device DSLAM needs to be generated. In the case of address reconfiguration, for example: device restart, etc., it constructs a multicast listener regular query message whose destination address is the multicast address of all nodes (FF02::1).
步骤 S61、 用户网络中的终端设备接收到上述多播查询消息, 产生多播听 众报告, 其报告的源地址为其网络接口的当前 IPv6单播地址。  Step S61: The terminal device in the user network receives the multicast query message, and generates a multicast audience report, where the source address of the report is the current IPv6 unicast address of the network interface.
步骤 S62、 DSLAM可以通过实现 MLD PROXY/SNOOPING (MLD代理 / 侦听)功能, 截获上述多播听众报告, 记录该报告的源 IP地址及收到该报告的 线路端口, 并取得该源 IP地址的 64比特的接口标识。 值得说明的是, 地址重 构所需要的 64 比特的网络前缀可以由网络接入设备通过任何方式从 BRAS处 获得: 例如构造一个 RS 消息请求给 BRAS 分配网络前缀信息、 或者就通过 SNMP请求给 BRAS 以获得网络前缀信息、 另外, BRAS也周期性地通过 RA 消息发送网络前缀信息给 DSLAM。 接口标识与网络前缀组合即构成终端设备 当前的 IP地址, 进而 DSLAM重构地址 -线路端口映射表。  Step S62: The DSLAM can intercept the multicast audience report by performing the MLD PROXY/SNOOPING function, record the source IP address of the report, and receive the line port of the report, and obtain the source IP address. 64-bit interface identifier. It is worth noting that the 64-bit network prefix required for address reconfiguration can be obtained by the network access device from the BRAS in any way: for example, constructing an RS message request to the BRAS to allocate network prefix information, or requesting BRAS via SNMP To obtain the network prefix information, in addition, the BRAS also periodically sends the network prefix information to the DSLAM through the RA message. The combination of the interface identifier and the network prefix constitutes the current IP address of the terminal device, and the DSLAM reconstructs the address-line port mapping table.
值得注意的是: (1 ) 、 从某个线路端口上来的多播听众报告不能被网络 接入设备中继到其他用户网络; (2) 、 此方案适应于全局 IPv6地址和链路级 IPv6 地址使用相同的网络接口标识的情形, 由于本地连接地址已经完成 DAD 地址检测、 无重复地址, 因此重构的可路由地址不会有冲突。  It is worth noting that: (1) The multicast audience report from a certain line port cannot be relayed to other user networks by the network access device; (2) This scheme is adapted to the global IPv6 address and the link-level IPv6 address. In the case of using the same network interface identifier, since the local connection address has completed DAD address detection and no duplicate address, the reconstructed routable address does not conflict.
由 MLD第二版标准可知, 一个子网中即使有多个属于同一个多播组的成 员,每一个多播成员都发出多播听众报告以响应多播查询。 因此对于使用 MLD 第二版的接入网络,网络接入设备能根据上述方法重构所有地址-线路端口映射 表。  According to the MLD version 2 standard, even if there are multiple members belonging to the same multicast group in a subnet, each multicast member sends a multicast audience report in response to the multicast query. Therefore, for an access network using MLD version 2, the network access device can reconstruct all address-line port mapping tables according to the above method.
由 MLD第一版标准可知, 一个子网中即使有多个属于同一个多播组的成 员, 也只会有一个多播成员发出多播听众报告以响应多播査询。在 IPv6的一个 子网中只能保证正在使用的接口的 IP地址最低 64比特不同, 并不能保证最低 24比特的不同, 因此可能由有多个终端设备接口属于同一个征求多播组。 当使 用 MLD第一版时,该方案下的地址-线路端口表重构可能使得表项重构不完整, 但在接入网络中一般可以忽略, 因为(1)、 在接入网络中一个用户网络的多播听 众报告不可能被其他用户网络中的设备所侦听到, 因此如果不同用户网络中都 有属于同个征求多播组的成员 (这些成员的地址的低 64比特不同),那么每个用 户网络会一个对于该多播组的多播听众报告; (2)、 一个用户网络中设备不会太 多, 因此一个用户网络多个设备的地址的最低 24相同的可能性是很小的。 According to the first version of the MLD standard, even if there are multiple members belonging to the same multicast group in a subnet, only one multicast member will send a multicast audience report in response to the multicast query. In a subnet of IPv6, only the IP address of the interface being used can be guaranteed to be at least 64 bits different, and the minimum is not guaranteed. The difference of 24 bits, therefore, may belong to the same solicitation multicast group by having multiple terminal device interfaces. When using the first version of MLD, the address-line port table reconstruction under this scheme may make the entry reconstruction incomplete, but it can generally be ignored in the access network, because (1), a user in the access network The multicast audience report of the network cannot be heard by devices in other user networks, so if different users have networks belonging to the same soliciting multicast group (the lower 64 bits of the addresses of these members are different), then Each user network will report a multicast audience for the multicast group; ( 2 ) there will not be too many devices in a user network, so the lowest 24 of the addresses of multiple devices in a user network is unlikely to be the same. of.
不脱离本发明的构思和范围可以做出许多其他改变和改型。 应当理解, 本 发明不限于特定的实施方式, 本发明的范围由所附权利要求限定。  Many other changes and modifications can be made without departing from the spirit and scope of the invention. It is to be understood that the invention is not limited to the specific embodiment, and the scope of the invention is defined by the appended claims.

Claims

权 利 要 求 Rights request
1、 一种 IPv6接入网络中网络地址重构方法, 包括: A method for reconstructing a network address in an IPv6 access network, comprising:
a) 、 网络接入设备向路由设备发起前缀重新使能请求;  a), the network access device initiates a prefix re-enable request to the routing device;
b)、路由设备禁止与该网络接入设备相连接的用户网络中终端设备当前使 用的网络前缀;  b) the routing device prohibits the network prefix currently used by the terminal device in the user network connected to the network access device;
c) 、 路由设备为该网络接入设备相连接的用户网络重新分配网络前缀; d) 、 用户网络中的终端设备根据获得的网络前缀重新构造网络地址。 c), the routing device reassigns the network prefix to the user network to which the network access device is connected; d), the terminal device in the user network reconstructs the network address according to the obtained network prefix.
2、 如权利要求 1所述的 IPv6接入网络中网络地址重构方法, 其特征在 于步骤 a)中, 前缀重新使能请求包括该网络接入设备标识信息。 2. The network address reconfiguration method in an IPv6 access network according to claim 1, wherein in step a), the prefix re-enable request includes the network access device identification information.
3、 如权利要求 1或 2所述的 IPv6接入网络中网络地址重构方法, 其特 征在于步骤 a)中, 所述前缀重新使能请求使用路由器请求消息方式。  The method for reconstructing a network address in an IPv6 access network according to claim 1 or 2, wherein in the step a), the prefix re-enable request uses a router request message mode.
4、 如权利要求 1所述的 IPv6接入网络中网络地址重构方法, 其特征在 于步骤 b)中, 路由设备构造一个发往上述网络接入设备下用户网络的路由器通 告消息, 设置其网络前缀的有效生存时间为零。  The method for reconstructing a network address in an IPv6 access network according to claim 1, wherein in step b), the routing device constructs a router advertisement message addressed to the user network under the network access device, and sets a network thereof. The effective lifetime of the prefix is zero.
5、 如权利要求 1所述的 IPv6接入网络中网络地址重构方法, 其特征在 于步骤 c)中, 路由设备构造一个发往上述网络接入设备下用户网络的路由器通 告消息, 该消息包含重新分配的网络前缀以及合适的非零有效生存时间。  The method for reconstructing a network address in an IPv6 access network according to claim 1, wherein in the step c), the routing device constructs a router advertisement message sent to the user network under the network access device, where the message includes The reassigned network prefix and the appropriate non-zero effective lifetime.
6、 如权利要求 1至 5所述的 IPv6接入网络中网络地址重构方法, 其特 征在于所述网络接入设备为数字用户线接入复用装置, 所述路由设备为宽带接 入服务器。  The method for reconstructing a network address in an IPv6 access network according to any one of claims 1 to 5, wherein the network access device is a digital subscriber line access multiplexing device, and the routing device is a broadband access server. .
7、 如权利要求 1至 5所述的 IPv6接入网络中网络地址重构方法, 其特 征在于其进一步包括- e)、 网络接入设备接收来自各用户网络中终端设备的邻居请求消息, 执行 重复地址检测、 并重构地址 -线路端口映射表。  The method for reconstructing a network address in an IPv6 access network according to any one of claims 1 to 5, further comprising: e), the network access device receiving a neighbor request message from the terminal device in each user network, and executing Repeat address detection and reconstruct the address-line port mapping table.
8、 一种 IPv6网络接入设备中地址-线路端口映射表重构方法, 包括: al ) 、 网络接入设备构造并向用户网络中的终端设备发出多播听众查询请 求;  8. An IPv6 network access device address-line port mapping table reconstruction method, comprising: a), a network access device constructing and issuing a multicast listener query request to a terminal device in a user network;
bl ) 、 终端设备响应上述请求, 产生多播听众报告; cl ) 、 网络接入设备根据多播听众报告重构地址 -线路端口映射表。 Bl), the terminal device responds to the request, and generates a multicast audience report; Cl), the network access device reconstructs the address-line port mapping table according to the multicast audience report.
9、 如权利要求 8所述的网络接入设备中地址-线路端口映射表重构方法, 其特征在于步骤 al)中, 多播听众查询请求是常规查询消息, 该消息请求用户 网络中的所有终端设备网络接口报告其所加入的所有多播组。  9. The method for reconstructing an address-line port mapping table in a network access device according to claim 8, wherein in step a1, the multicast listener query request is a regular query message, and the message requests all of the user network. The terminal device network interface reports all the multicast groups it has joined.
10、 权利要求 8或 9所述的网络接入设备中地址-线路端口映射表重构方 法, 其特征在于步骤 cl)中, 网络接入设备通过路由设备获得网络前缀, 并根 据多播听众报告记录终端设备的接口标识, 进一步构成地址 -线路端口映射表。  The method for reconstructing an address-line port mapping table in a network access device according to claim 8 or 9, wherein in step cl), the network access device obtains a network prefix through the routing device, and reports according to the multicast audience. The interface identifier of the terminal device is recorded, and further forms an address-line port mapping table.
PCT/CN2006/001707 2005-09-09 2006-07-17 A method for reconstructing the network address in the ipv6 access network WO2007028306A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200510029544.1A CN100499669C (en) 2005-09-09 2005-09-09 Network address reconstruction method in IPv6 switch-in network
CN200510029544.1 2005-09-09

Publications (1)

Publication Number Publication Date
WO2007028306A1 true WO2007028306A1 (en) 2007-03-15

Family

ID=37835363

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/001707 WO2007028306A1 (en) 2005-09-09 2006-07-17 A method for reconstructing the network address in the ipv6 access network

Country Status (2)

Country Link
CN (1) CN100499669C (en)
WO (1) WO2007028306A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016001869A1 (en) 2016-02-18 2017-08-24 Innoroute Gmbh Method for optimizing the routing of IPv6 traffic (IPway)
CN110147090A (en) * 2019-06-30 2019-08-20 潍柴动力股份有限公司 Controller Area Network BUS closing fault processing method and system
CN112601229A (en) * 2019-10-01 2021-04-02 阿自倍尔株式会社 Apparatus and method for detecting illegal
CN113037704A (en) * 2019-12-25 2021-06-25 阿自倍尔株式会社 Detection device and detection method
CN115412533A (en) * 2021-05-27 2022-11-29 北京小米移动软件有限公司 Terminal device, control method and device thereof, and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026200B (en) * 2009-09-16 2014-01-01 中兴通讯股份有限公司 Method and device for identifying users in relay link
CN101945144A (en) * 2010-09-14 2011-01-12 中兴通讯股份有限公司 IP address redistribution method and service node
US20120182994A1 (en) * 2011-01-18 2012-07-19 Cisco Technology, Inc. Address compatibility in a network device reload
CN102333013B (en) * 2011-10-17 2014-12-10 中兴通讯股份有限公司 Method, device and system for detecting medium access control (MAC) address conflicts
US10027622B2 (en) * 2013-01-31 2018-07-17 Cisco Technology, Inc. Recovering lost device information in cable networks
CN111030879A (en) * 2018-10-10 2020-04-17 迈普通信技术股份有限公司 Fault detection method for wide area network port and communication terminal equipment
JP7359586B2 (en) * 2019-07-25 2023-10-11 アズビル株式会社 Address management device and address management method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001054437A1 (en) * 2000-01-20 2001-07-26 Nokia Corporation Address acquisition
WO2003028306A1 (en) * 2001-09-26 2003-04-03 Siemens Aktiengesellschaft Method for creating a static address table and data network
US20030202513A1 (en) * 2002-04-30 2003-10-30 Realtek Semiconductor Corp. Method and apparatus for packet forwarding in a switch controller
US6868416B2 (en) * 1999-12-03 2005-03-15 Korea Telecommunication Authority Internet addressing architecture and hierarchical routing method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6868416B2 (en) * 1999-12-03 2005-03-15 Korea Telecommunication Authority Internet addressing architecture and hierarchical routing method thereof
WO2001054437A1 (en) * 2000-01-20 2001-07-26 Nokia Corporation Address acquisition
WO2003028306A1 (en) * 2001-09-26 2003-04-03 Siemens Aktiengesellschaft Method for creating a static address table and data network
US20030202513A1 (en) * 2002-04-30 2003-10-30 Realtek Semiconductor Corp. Method and apparatus for packet forwarding in a switch controller

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016001869A1 (en) 2016-02-18 2017-08-24 Innoroute Gmbh Method for optimizing the routing of IPv6 traffic (IPway)
CN110147090A (en) * 2019-06-30 2019-08-20 潍柴动力股份有限公司 Controller Area Network BUS closing fault processing method and system
CN110147090B (en) * 2019-06-30 2020-12-22 潍柴动力股份有限公司 Method and system for processing controller local area network bus closing fault
CN112601229A (en) * 2019-10-01 2021-04-02 阿自倍尔株式会社 Apparatus and method for detecting illegal
CN112601229B (en) * 2019-10-01 2023-12-05 阿自倍尔株式会社 Device and method for detecting illegality
CN113037704A (en) * 2019-12-25 2021-06-25 阿自倍尔株式会社 Detection device and detection method
CN113037704B (en) * 2019-12-25 2023-10-31 阿自倍尔株式会社 Detection device and detection method
CN115412533A (en) * 2021-05-27 2022-11-29 北京小米移动软件有限公司 Terminal device, control method and device thereof, and storage medium
CN115412533B (en) * 2021-05-27 2024-01-16 北京小米移动软件有限公司 Terminal device, control method and device thereof, and storage medium

Also Published As

Publication number Publication date
CN1929496A (en) 2007-03-14
CN100499669C (en) 2009-06-10

Similar Documents

Publication Publication Date Title
WO2007028306A1 (en) A method for reconstructing the network address in the ipv6 access network
US9756052B2 (en) Method and apparatus for dual stack access
EP2919444B1 (en) Method, relay device, and system for acquiring internet protocol address in network
US7706374B2 (en) Method for assigning IP address to terminal device and communication system
US20140325090A1 (en) Discovery and disconnection of client addresses in an access node for an ip network
US8681695B1 (en) Single address prefix allocation within computer networks
CN100583904C (en) Automatic configuration method for host address in IPV6 network
WO2007009367A1 (en) A method for duplicate address detection in the two-layer access network supporting ipv6 and a system thereof
WO2010069181A1 (en) Method and system for configuring ipv6 address
WO2009117963A1 (en) Address configuring method, apparatus and system
JP2012085335A (en) Method for blocking and searching host in ipv6 network
US11290421B2 (en) Generation of IPv6 multicast address
US8438390B2 (en) Method and system for using neighbor discovery unspecified solicitation to obtain link local address
JP2004040804A (en) Apparatus and method for automatically assigning virtual address to duplicate address node
JP5241957B2 (en) Method and apparatus for connecting a subscriber unit to an aggregation network supporting IPv6
Bound et al. RFC3315: Dynamic host configuration protocol for IPv6 (DHCPv6)
JP3994412B2 (en) Network system, network identifier setting method, network connection point, network identifier setting program, and recording medium
JP4054719B2 (en) Specific address use restriction device
Chelius et al. No Administration Protocol (NAP) for IPv6 router auto-configuration
Mrugalski et al. RFC 8415: Dynamic Host Configuration Protocol for IPv6 (DHCPv6)
JP2005064570A (en) Network system and internetwork apparatus
WO2011044729A1 (en) Method and apparatus for checking anycast group configuration in communication network
JP2005210554A (en) Dhcp substitute server
JP4242752B2 (en) Address table management method and terminal
WO2012174724A1 (en) Method for terminal network element registration, terminal network element and router

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06761450

Country of ref document: EP

Kind code of ref document: A1