WO2009026849A1 - Duplicate address detection method and network node device for address conflict - Google Patents

Duplicate address detection method and network node device for address conflict Download PDF

Info

Publication number
WO2009026849A1
WO2009026849A1 PCT/CN2008/072127 CN2008072127W WO2009026849A1 WO 2009026849 A1 WO2009026849 A1 WO 2009026849A1 CN 2008072127 W CN2008072127 W CN 2008072127W WO 2009026849 A1 WO2009026849 A1 WO 2009026849A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
conflicting
interface
duplicate
conflict
Prior art date
Application number
PCT/CN2008/072127
Other languages
French (fr)
Chinese (zh)
Inventor
Fengcheng Liu
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009026849A1 publication Critical patent/WO2009026849A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • H04L41/0873Checking configuration conflicts between network elements
    • 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

Definitions

  • the present invention relates to the field of network communications, and in particular, to a duplicate address detection method for address conflicts and a network node device. Background technique
  • IPv6 Internet Protocol Version 6
  • DHCP Dynamic Host Configuration Protocol
  • the former can strictly control the address allocation, and the stateless address allocation is that the host or the terminal obtains a 64-bit prefix by obtaining a Router Advertisement (RA) message from the router, and then attaches the host interface identifier of the RA message to obtain the host interface identifier. 128-bit IPv6 address.
  • RA Router Advertisement
  • RFC2462 specifies that an IPv6 unicast address must be duplicated in the subnet sharing the same prefix space before being assigned to an interface (Duplicate Address Detection) , DAD ), to ensure that the address is unique within the subnet.
  • DAD Downlicate Address Detection
  • Router B lacks a reasonable detection mechanism, it cannot detect the change of Router A in the link in time.
  • the local address FE80::1 is still unavailable.
  • the inventors have found that in the prior art, due to the lack of a reasonable detection mechanism by the conflicting node, the changes occurring in the link cannot be detected in time (for example, the node causing the conflict changes the address causing the conflict, or The node causing the conflict is detached from the network, resulting in the conflicted node being in the long-term or always without human intervention. Unavailable status. Summary of the invention
  • the embodiment of the invention provides a method for detecting a duplicate address of an address conflict and a network node device, which adopts an address-replicating-initiative detection (AD-ID) mechanism to actively initiate a duplicate address detection (DAD detection). To detect link changes in time, so that conflicting nodes are available in a timely manner.
  • AD-ID address-replicating-initiative detection
  • DAD detection duplicate address detection
  • an embodiment of the present invention provides a method for detecting duplicate addresses for address conflicts, including:
  • the conflicted node After detecting the occurrence of an address conflict, the conflicted node retrieves the duplicate address list according to the conflicting address; according to the search result, it is checked whether the conflicting address hits the duplicate address list, and if there is no hit, the duplicate address list information is configured according to the conflicting address, otherwise, according to The search result updates the duplicate address list information;
  • the embodiment of the present invention further provides a network node device, including multiple communication interface units, connected to other network or network node devices, and receiving data packets from other network node devices, where the network
  • the node device also includes:
  • a list storage unit configured to store a duplicate address list
  • a retrieval unit configured to retrieve a duplicate address list in the list storage unit according to the conflict address, and output the retrieval result
  • a search result processing unit configured to: when the search result of the search unit is a missed duplicate address list, configure the duplicate address list information in the list storage unit according to the conflict address, or when the search result of the search unit is a hit duplicate address list, according to Retrieving the result of updating the duplicate address list information in the list storage unit;
  • An active detecting unit is configured to actively initiate duplicate address detection according to the duplicate address list information stored in the list storage unit.
  • the method for detecting a duplicate address conflict and the network node device provided by the embodiment of the present invention adopts an Address Duplicate-Initiative Detection (AD-ID) mechanism, that is, introduces a duplicate address list ( Duplicate Address List, DAL ), by the conflicting node, by retrieving the information in the DAL list and actively initiating DAD detection according to the information recorded in the DAL list.
  • AD-ID Address Duplicate-Initiative Detection
  • DAL Duplicate Address List
  • the link change is detected, the period of the unavailable state of the conflicting node is reduced as much as possible, and the reliability of the communication system is improved.
  • Figure 1 is a schematic diagram of an example of repeated address conflicts
  • FIG. 2 is a schematic structural diagram of a network node device according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a search result processing unit described in FIG. 2;
  • FIG. 4 is a schematic structural diagram of a network node device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a detection result processing unit illustrated in FIG. 4; FIG.
  • FIG. 6 is a flowchart of a first specific embodiment of a method for detecting duplicate addresses of address conflicts provided by the present invention
  • Figure ⁇ is a flow chart of a second specific embodiment of a method for detecting duplicate addresses of address conflicts provided by the present invention. detailed description
  • the method for detecting duplicate addresses of address conflicts and the network node device provided by the embodiment of the present invention adopts an Address Duplicate-Initiative Detection (AD-ID) mechanism to detect a chain in time by actively initiating DAD detection.
  • AD-ID Address Duplicate-Initiative Detection
  • the road changes, making the conflict nodes available in a timely manner.
  • FIG. 2 is a schematic structural diagram of a network node device according to an embodiment of the present invention.
  • the network node device may include:
  • the communication interface unit 1 is connected to other network or network node devices and receives data packets from other network node devices;
  • the list storage unit 2 is configured to store a Duplicate Address List (DAL), where the DAL list is used to save conflicting address information, and the options include: a conflicting address, a conflicting interface chain, a collision count, and an aging time.
  • DAL Duplicate Address List
  • MAC Media Access Control
  • a retrieval unit 3 configured to retrieve the DAL list in the list storage unit 1 according to the conflict address, And outputting the search result;
  • the retrieval result processing unit 4 when the retrieval result of the retrieval unit 3 is a missed duplicate address list, configures the duplicate address list information in the list storage unit 2 according to the conflict address, or when the retrieval result of the retrieval unit 3 is a hit duplicate address At the time of list, the duplicate address list information in the list storage unit 2 is updated according to the retrieval result;
  • the active detecting unit 5 is configured to initiate active DAD detection according to the DAL list information stored in the list storage unit 2, specifically, when the timing reaches the aging time, select an interface in the conflicting interface chain (for example, the earliest occurs) Conflicting interface) Initiates a DAD probe to the node that caused the conflict.
  • the search result processing unit 4 described in FIG. 2 may include:
  • the determining unit 43 is configured to determine whether the conflicting address hits the duplicate address list, and output a judgment result
  • the configuration unit 41 when the determination result output by the determining unit 43 is a miss, is used to add a new record related to the conflicting address in the DAL list according to the conflicting address, such as: a conflicting address, a conflicting interface chain, a collision count, Recording such as aging time;
  • the list updating unit 42 is configured to update the DAL list option information according to the search result when the determination result of the determining unit 43 is a hit, which may specifically include:
  • the aging time reset unit 421 is configured to reset the aging time of the aging time when the conflicting interface hits the interface recorded in the conflicting interface chain.
  • the interface management unit 422 when the conflicting interface is not the interface recorded in the conflicting interface chain, adding the information of the conflicting interface to the conflicting interface chain;
  • the conflict count management unit 423 adds the count information to the conflict count when the conflict interface is not the interface recorded in the conflicting interface chain.
  • Collision count This field is used in conjunction with the previous field. When the count is 0, the entry is deleted.
  • Aging time The time when the DAD detection is re-initiated
  • FIG. 4 it is a schematic structural diagram of a network node device according to an embodiment of the present invention.
  • the network node device has the same structure, and further includes a detection result processing unit 6 for processing the result detected by the active detection unit.
  • the specific structure of the detection result processing unit 6 is as shown in FIG. 5, which specifically includes:
  • the address analyzing unit 61 is configured to determine, according to the DAD detection result, whether the conflicting address is unique.
  • the aging time triggering unit 62 is configured to trigger the aging time reset when the address analyzing unit 61 analyzes that the conflicting address is not unique. Unit, reset aging time;
  • the counting trigger unit 63 is configured to: when the address analyzing unit 61 analyzes that the conflicting address is unique, triggering the conflict count management unit to decrement the count value by one;
  • the interface triggering unit 64 is configured to: when the address analyzing unit 61 analyzes that the conflicting address is unique, triggering the interface management unit to remove the conflicting interface.
  • the method for detecting duplicate addresses for address conflicts includes:
  • Step S1 after detecting an address conflict, the conflicted node retrieves the DAL list according to the conflicting address;
  • Step S2 checking whether the conflict address hits the duplicate address list according to the search result, and if there is no hit, configuring the duplicate address list information according to the conflict address; otherwise, updating the duplicate address list information according to the search result;
  • Step S3 Proactively initiate a duplicate address (DAD 'J ) to the node causing the conflict according to the repeated address list information.
  • the data structure of the DAL list is the same as the DAL list described in the foregoing embodiment, such as Table 1, which includes options: conflict address, conflicting interface chain, collision count, aging time, MAC address of the node causing the collision (optional).
  • the updating the duplicate address list information according to the search result is specifically: checking whether the conflicting interface hits the conflicting interface chain in the duplicate address list, and if it hits, resetting the aging time, otherwise, increasing Counting information of the conflict count, and adding the conflicting interface information to the conflicting interface chain;
  • step S3 the DAD detection is actively initiated to the node causing the conflict according to the duplicate address list information:
  • the aging time When the aging time reaches the aging time, select an interface in the conflicting interface chain (for example, the interface that first conflicts) to initiate DAD detection to the node that caused the conflict.
  • an interface in the conflicting interface chain for example, the interface that first conflicts
  • step S3 the following steps may be further included:
  • the count value of the conflict count is decremented by 1 and the interface is removed from the conflicting interface chain.
  • the count value of the conflict count is 0, the duplicate address list corresponding to the conflict address is cleared.
  • step S1 may be replaced by the following steps: after the conflicting node changes the conflicting address, the RA termination text is sent with the conflicting address as the source address; After receiving the RA termination message, the node parses the source address of the packet, and searches for the duplicate address list by using the source address as the conflict address.
  • the interface When the duplicate address list is retrieved, if the conflicting address hits the duplicate address list, and the interface of the conflicting node that receives the RA terminating message hits the duplicate address list, the interface is used to cause the conflict.
  • the node initiates a DAD probe.
  • a method for detecting duplicate addresses for address conflicts includes:
  • Step S101 After detecting the duplicate address conflict by the DAD detection, the conflicting node searches the DAL list according to the conflicting address, and the data structure description of the DAL list is the same as that in the foregoing embodiment.
  • Step S102 Determine, according to the search result, whether the conflict address hits DAL list, if yes, step S103 is performed, otherwise, step S106 is performed;
  • Step S103 checking whether the conflicting interface hits the conflicting interface in the DAL list. Chain, if yes, proceed to step S104, otherwise, perform step S105;
  • Step S104 when the conflicting interface hits the DAL list, the aging time of the DAL list is reset to avoid excessive DAD detection, and then step S107 is performed;
  • Step S105 when the interface that has collided does not hit the DAL list, the conflicting interface information is added in the conflicting interface chain of the DAL list, and the count information of the conflict count is increased, and then step S107 is performed;
  • Step S106 If the conflicting address does not hit the DAL list, add the DAL list information corresponding to the conflicting address in the DAL list, that is,
  • the conflict address is added to the conflicting address option of the DAL list, and the interface information corresponding to the conflicting address is added to the conflicting interface chain option, and the count value of the conflict count is incremented by 1 and the aging time is reset.
  • Step S107 determining whether the entry of the DAL list starts to age, that is, whether the timing reaches the chrono threshold set in the aging time of the DAL list, and if yes, executing step S108; otherwise, continuing the step;
  • Step S108 Selecting an interface that is the earliest conflict from the conflicting interface chain of the DAL list to initiate DAD detection
  • Step S109 checking whether the conflicting address is unique according to the DAD detection result, if yes, executing step S110, otherwise continuing the step;
  • Step S110 if it is confirmed that the conflicting address is unique, the interface corresponding to the conflicting address is removed from the conflicting interface chain in the DAL list (the earliest conflicting interface described in step S108), and the conflict is caused.
  • Count the count value minus 1;
  • Step S111 determining whether the count value of the conflict count is 0, and if yes, executing step S112, otherwise, continuing the step;
  • Step S112 deleting the DAL list option corresponding to the conflicting address.
  • the conflicting address is already unique, that is, restored to a usable state, and the network node can use the address to initiate network communication.
  • the method for detecting a duplicate address of an address conflict and the network node device provided by the embodiment of the present invention adopts an Address Duplicate-Initiative Detection (AD-ID) mechanism, that is, introduces a repetition.
  • the Duplicate Address List (DAL) is retrieved by the conflicting node by the information in the DAL list and is actively sent according to the information recorded in the DAL list.
  • DAD detection is used to detect link changes in time, so that conflict addresses are available in a timely manner, and the period of unavailable states of conflicting nodes is reduced as much as possible, thereby improving system reliability and availability.

Abstract

A duplicate address detection method for address conflict is disclosed in the present invention. The method includes: the conflicted node searching a duplicate address list according to the conflict address when an address conflict is detected; checking whether or not the conflict address hits the duplicate address list information according to the searching result while if not, configuring the duplicate address list information according to the conflict address, and otherwise updating the duplicate address list information according to the conflict address; initiating a duplicate address detection to the conflicting node according to the duplicate address list information. Accordingly, a network node device is also disclosed in the present invention. According to the duplicate address detection method and network node device for address conflict of the present invention, the DAD detection can be initiated so as to detect the link variety in time, and the unusable status period of the conflicted node can be reduced as much as possible.

Description

用于地址冲突的重复地址检测方法及网络节点设备 技术领域  Duplicate address detection method for address conflict and network node device
本发明涉及网络通信领域, 尤其涉及一种用于地址冲突的重复地址检测方 法及网络节点设备。 背景技术  The present invention relates to the field of network communications, and in particular, to a duplicate address detection method for address conflicts and a network node device. Background technique
在网际协议版本六( Internet Protocol Version 6 , IPv6 ) 中, 地址空间相当巨 大, 可以做到让地球上每一粒沙子都能拥有一个 IPv6地址, 因此用户网络中每 一个设备都能有个全球寻址的地址。 IPv6 中地址分配可以分为两大类: 基于动 态主机配置协议( DHCP )的有状态地址分配和无状态地址分配。 前者可以严格 地控制地址分配 , 而无状态地址分配是主机或终端通过从路由器获得路由通告 ( Router Advertisement , RA ) 消息得到 64bit的前缀, 再附加上接收到该 RA 消息的主机接口标识符以得到 128bit的 IPv6地址。  In Internet Protocol Version 6 (IPv6), the address space is quite large, so that every grain of sand on the earth can have an IPv6 address, so every device in the user network can have a global search. The address of the address. Address assignment in IPv6 can be divided into two broad categories: stateful address assignment and stateless address assignment based on the Dynamic Host Configuration Protocol (DHCP). The former can strictly control the address allocation, and the stateless address allocation is that the host or the terminal obtains a 64-bit prefix by obtaining a Router Advertisement (RA) message from the router, and then attaches the host interface identifier of the RA message to obtain the host interface identifier. 128-bit IPv6 address.
为了避免广播类型网络中出现两个节点具有相同的 IP地址, RFC2462规定 将一个 IPv6单播地址赋给一个接口使用之前, 必须在共享同一个前缀空间的子 网中进行重复地址检测 ( Duplicate Address Detection, DAD ), 以保证该地址在 子网中的唯一性。  In order to avoid the fact that two nodes in the broadcast type network have the same IP address, RFC2462 specifies that an IPv6 unicast address must be duplicated in the subnet sharing the same prefix space before being assigned to an interface (Duplicate Address Detection) , DAD ), to ensure that the address is unique within the subnet.
在实际的网络管理中, 可能出现由于静态的配置, 导致冲突的现象发生。 如图 1所示, 网络已经给路由器 A配置了链路本地地址 FE80::1, 如果此时再给 路由器 B配置同样的链路本地地址 FE80::1,在该地址赋给路由器 B之前会进行 DAD探测, 以保证链路中地址的唯一性。 一旦在一次 DAD探测失败之后, 路 由器 B因链路本地地址冲突, 导致路由器 B上配置该重复地址的接口处于协议 DOWN状态, 如果此时, 路由器 A改变了它的链路本地地址, 如 FE80::2, 此 时路由器 B上配置的链路本地地址 FE80::1已经具有唯一性,可以使用,但是由 于路由器 B缺乏合理探测机制, 不能及时探测到链路中路由器 A的变化, 使得 链路本地地址 FE80::1仍处于不可用状态。发明人在实现本发明的过程中,发现 现有技术中, 由于被冲突节点缺乏合理的探测机制, 不能及时探测到链路中发 生的变化(如引起冲突的节点改变了引起冲突的地址, 或者引起冲突的节点从 网络中脱离), 导致被冲突节点在无人工干预的情况下, 很长时间内或始终处于 不可用状态。 发明内容 In actual network management, conflicts may occur due to static configuration. As shown in Figure 1, the network has configured link-local address FE80::1 for router A. If you configure router B with the same link-local address FE80::1 at this time, it will be assigned to router B before the address is assigned to router B. Perform DAD detection to ensure the uniqueness of the address in the link. After a DAD probe fails, Router B conflicts with the link-local address, causing the interface configured with the duplicate address on Router B to be in the protocol DOWN state. If at this time, Router A changes its link-local address, such as FE80: :2. At this time, the link-local address FE80::1 configured on Router B is unique and can be used. However, because Router B lacks a reasonable detection mechanism, it cannot detect the change of Router A in the link in time. The local address FE80::1 is still unavailable. In the process of implementing the present invention, the inventors have found that in the prior art, due to the lack of a reasonable detection mechanism by the conflicting node, the changes occurring in the link cannot be detected in time (for example, the node causing the conflict changes the address causing the conflict, or The node causing the conflict is detached from the network, resulting in the conflicted node being in the long-term or always without human intervention. Unavailable status. Summary of the invention
本发明实施例提供一种用于地址冲突的重复地址检测方法及网络节点设 备, 采用地址冲突后主动检测 (Address Duplicate-Initiative Detection, AD-ID ) 机制, 通过主动发起重复地址检测 (DAD探测)来及时探测链路变化, 使冲突 节点及时处于可用状态。  The embodiment of the invention provides a method for detecting a duplicate address of an address conflict and a network node device, which adopts an address-replicating-initiative detection (AD-ID) mechanism to actively initiate a duplicate address detection (DAD detection). To detect link changes in time, so that conflicting nodes are available in a timely manner.
一方面, 本发明实施例提出了一种用于地址冲突的重复地址检测方法, 包 括:  In one aspect, an embodiment of the present invention provides a method for detecting duplicate addresses for address conflicts, including:
当检测到发生地址冲突后 , 被冲突节点根据冲突地址检索重复地址列表; 根据检索结果检查冲突地址是否命中重复地址列表, 如果没有命中, 则根 据所述冲突地址配置重复地址列表信息, 否则, 根据检索结果更新重复地址列 表信息;  After detecting the occurrence of an address conflict, the conflicted node retrieves the duplicate address list according to the conflicting address; according to the search result, it is checked whether the conflicting address hits the duplicate address list, and if there is no hit, the duplicate address list information is configured according to the conflicting address, otherwise, according to The search result updates the duplicate address list information;
根据所述重复地址列表信息向引起冲突的节点主动发起重复地址检测。  Determining duplicate address detection to the node causing the collision according to the repeated address list information.
另一方面, 本发明实施例还提供了一种网络节点设备, 包括多个通讯接口 单元, 与其它网络或网络节点设备连接, 并接收来自其它网络节点设备的数据 报文, 其中, 所述网络节点设备还包括:  In another aspect, the embodiment of the present invention further provides a network node device, including multiple communication interface units, connected to other network or network node devices, and receiving data packets from other network node devices, where the network The node device also includes:
列表存储单元, 用于存储重复地址列表;  a list storage unit, configured to store a duplicate address list;
检索单元, 用于根据冲突地址检索列表存储单元中的重复地址列表, 并输 出检索结果;  a retrieval unit, configured to retrieve a duplicate address list in the list storage unit according to the conflict address, and output the retrieval result;
检索结果处理单元, 当检索单元的检索结果为未命中重复地址列表时, 根 据冲突地址配置所述列表存储单元中的重复地址列表信息, 或者当检索单元的 检索结果为命中重复地址列表时, 根据检索结果更新所述列表存储单元中的重 复地址列表信息;  a search result processing unit configured to: when the search result of the search unit is a missed duplicate address list, configure the duplicate address list information in the list storage unit according to the conflict address, or when the search result of the search unit is a hit duplicate address list, according to Retrieving the result of updating the duplicate address list information in the list storage unit;
主动探测单元, 用于根据所述列表存储单元中存储的重复地址列表信息主 动发起重复地址检测。  An active detecting unit is configured to actively initiate duplicate address detection according to the duplicate address list information stored in the list storage unit.
综上所述, 本发明实施例提供的一种重复地址冲突后的探测方法及网络节 点设备,采用地址冲突后主动探测( Address Duplicate-Initiative Detection, AD-ID ) 机制, 即引入重复地址列表(Duplicate Address List, DAL ), 被冲突节点通过检 索 DAL列表中的信息,并按照 DAL列表记录的信息主动发起 DAD探测来及时 探测链路变化, 尽可能地减少冲突节点的不可用状态的周期, 提高通信系统可 靠性。 附图说明 In summary, the method for detecting a duplicate address conflict and the network node device provided by the embodiment of the present invention adopts an Address Duplicate-Initiative Detection (AD-ID) mechanism, that is, introduces a duplicate address list ( Duplicate Address List, DAL ), by the conflicting node, by retrieving the information in the DAL list and actively initiating DAD detection according to the information recorded in the DAL list. The link change is detected, the period of the unavailable state of the conflicting node is reduced as much as possible, and the reliability of the communication system is improved. DRAWINGS
图 1是一种重复地址冲突的实例示意图;  Figure 1 is a schematic diagram of an example of repeated address conflicts;
图 2是本发明实施例提供的一种网络节点设备的结构示意图;  2 is a schematic structural diagram of a network node device according to an embodiment of the present invention;
图 3是图 2所述的检索结果处理单元的结构示意图;  3 is a schematic structural diagram of a search result processing unit described in FIG. 2;
图 4是本发明实施例提供的一种网络节点设备的结构示意图;  4 is a schematic structural diagram of a network node device according to an embodiment of the present invention;
图 5是图 4所述的探测结果处理单元的结构示意图;  FIG. 5 is a schematic structural diagram of a detection result processing unit illustrated in FIG. 4; FIG.
图 6是本发明提供的一种用于地址冲突的重复地址检测方法的第一具体实 施例的流程图;  6 is a flowchart of a first specific embodiment of a method for detecting duplicate addresses of address conflicts provided by the present invention;
图 Ί是本发明提供的一种用于地址冲突的重复地址检测方法的第二具体实 施例的流程图。 具体实施方式  Figure Ί is a flow chart of a second specific embodiment of a method for detecting duplicate addresses of address conflicts provided by the present invention. detailed description
本发明实施例提供的一种用于地址冲突的重复地址检测方法及网络节点设 备是采用地址冲突后主动探测 ( Address Duplicate-Initiative Detection, AD-ID ) 机制, 通过主动发起 DAD探测来及时探测链路变化, 使冲突节点及时处于可用 状态。  The method for detecting duplicate addresses of address conflicts and the network node device provided by the embodiment of the present invention adopts an Address Duplicate-Initiative Detection (AD-ID) mechanism to detect a chain in time by actively initiating DAD detection. The road changes, making the conflict nodes available in a timely manner.
下面结合附图详细阐述本发明实施例提供的一种重复地址冲突后的探测方 法及网络节点设备的技术方案。  A method for detecting a duplicate address conflict and a technical solution for a network node device according to an embodiment of the present invention are described in detail below with reference to the accompanying drawings.
参考图 2, 是本发明实施例提供的一种网络节点设备的结构示意图; 所述网 络节点设备可以包括:  2 is a schematic structural diagram of a network node device according to an embodiment of the present invention; the network node device may include:
通讯接口单元 1, 与其它网络或网络节点设备连接, 并接收来自其它网络节 点设备的数据报文;  The communication interface unit 1 is connected to other network or network node devices and receives data packets from other network node devices;
列表存储单元 2, 用于存储重复地址列表(Duplicate Address List, DAL ), 其中, 所述 DAL列表用于保存冲突地址信息, 其选项包括: 冲突地址、 发生冲 突的接口链、 冲突计数、 老化时间、 引起冲突的节点的媒体接入控制 (Media Access Control, MAC )地址(可选);  The list storage unit 2 is configured to store a Duplicate Address List (DAL), where the DAL list is used to save conflicting address information, and the options include: a conflicting address, a conflicting interface chain, a collision count, and an aging time. Media Access Control (MAC) address of the node causing the conflict (optional);
检索单元 3, 用于根据冲突地址检索所述列表存储单元 1中的 DAL列表, 并输出检索结果; a retrieval unit 3, configured to retrieve the DAL list in the list storage unit 1 according to the conflict address, And outputting the search result;
检索结果处理单元 4, 当检索单元 3的检索结果为未命中重复地址列表时, 根据冲突地址配置所述列表存储单元 2 中的重复地址列表信息, 或者当检索单 元 3的检索结果为命中重复地址列表时,根据检索结果更新所述列表存储单元 2 中的重复地址列表信息;  The retrieval result processing unit 4, when the retrieval result of the retrieval unit 3 is a missed duplicate address list, configures the duplicate address list information in the list storage unit 2 according to the conflict address, or when the retrieval result of the retrieval unit 3 is a hit duplicate address At the time of list, the duplicate address list information in the list storage unit 2 is updated according to the retrieval result;
主动探测单元 5, 用于根据所述列表存储单元 2中存储的 DAL列表信息发 起主动 DAD探测, 具体地, 当计时达到老化时间时, 选中发生冲突的接口链中 的一接口 (如:最早发生冲突的接口) 向引起冲突的节点发起 DAD探测。  The active detecting unit 5 is configured to initiate active DAD detection according to the DAL list information stored in the list storage unit 2, specifically, when the timing reaches the aging time, select an interface in the conflicting interface chain (for example, the earliest occurs) Conflicting interface) Initiates a DAD probe to the node that caused the conflict.
其中, 如图 3所示, 图 2所述的检索结果处理单元 4可以包括:  As shown in FIG. 3, the search result processing unit 4 described in FIG. 2 may include:
判断单元 43 , 用于判断所述冲突地址是否命中所述重复地址列表, 并输出 判断结果;  The determining unit 43 is configured to determine whether the conflicting address hits the duplicate address list, and output a judgment result;
配置单元 41 , 当判断单元 43输出的判断结果为未命中时, 用于根据冲突地 址在 DAL列表中添加与该冲突地址相关的新记录, 如: 冲突地址、 发生冲突的 接口链、 冲突计数、 老化时间等记录;  The configuration unit 41, when the determination result output by the determining unit 43 is a miss, is used to add a new record related to the conflicting address in the DAL list according to the conflicting address, such as: a conflicting address, a conflicting interface chain, a collision count, Recording such as aging time;
列表更新单元 42, 当判断单元 43的判断结果为命中时, 用于根据检索结果 更新 DAL列表各选项信息, 其具体可以包括:  The list updating unit 42 is configured to update the DAL list option information according to the search result when the determination result of the determining unit 43 is a hit, which may specifically include:
老化时间重置单元 421,当冲突接口命中所述发生冲突的接口链中记录的接 口时, 用于重置老化时间的计时阔值;  The aging time reset unit 421 is configured to reset the aging time of the aging time when the conflicting interface hits the interface recorded in the conflicting interface chain.
接口管理单元 422, 当冲突接口不是所述发生冲突的接口链中记录的接口 时 , 在所述发生冲突的接口链中添加所述冲突接口的信息;  The interface management unit 422, when the conflicting interface is not the interface recorded in the conflicting interface chain, adding the information of the conflicting interface to the conflicting interface chain;
冲突计数管理单元 423 ,当冲突接口不是所述发生冲突的接口链中记录的接 口时, 在冲突计数中增加计数信息。  The conflict count management unit 423 adds the count information to the conflict count when the conflict interface is not the interface recorded in the conflicting interface chain.
值得说明的是, 本发明实施例以及下述所有实施例所提及的 DAL列表的数 据结构描述如表 1所示, 表 1 其中, 各选项字段的解释如下: 冲突地址: 保存发生冲突的地址; It should be noted that the data structure description of the DAL list mentioned in the embodiment of the present invention and all the following embodiments is as shown in Table 1, Table 1 Among them, the explanation of each option field is as follows: Conflict Address: Save the conflicting address;
发生冲突的接口链: 保存发生冲突的接口;  Conflicting interface chain: Save the conflicting interface;
冲突计数: 该字段与上个字段结合使用, 在计数为 0 的情况下, 会删除该 表项;  Collision count: This field is used in conjunction with the previous field. When the count is 0, the entry is deleted.
老化时间: 重新发起 DAD检测的时间;  Aging time: The time when the DAD detection is re-initiated;
引起冲突的节点的 MAC地址(可选): 保存引起冲突的节点的 MAC地址; 参考图 4, 是本发明实施例提供的一种网络节点设备的结构示意图; 所述网 络节点设备除了具有与图 2所述网络节点设备相同的结构外, 还进一步包括一 探测结果处理单元 6, 用于对主动探测单元探测到的结果进行处理。 所述探测结 果处理单元 6的具体结构如图 5所示, 其具体包括:  The MAC address of the node causing the conflict (optional): the MAC address of the node causing the conflict is saved. Referring to FIG. 4, it is a schematic structural diagram of a network node device according to an embodiment of the present invention; 2 The network node device has the same structure, and further includes a detection result processing unit 6 for processing the result detected by the active detection unit. The specific structure of the detection result processing unit 6 is as shown in FIG. 5, which specifically includes:
地址分析单元 61 , 用于根据 DAD探测结果判断冲突地址是否具有唯一性; 老化时间触发单元 62,用于地址分析单元 61分析出所述冲突地址不具有唯 一性时, 触发所述老化时间重置单元, 重置老化时间;  The address analyzing unit 61 is configured to determine, according to the DAD detection result, whether the conflicting address is unique. The aging time triggering unit 62 is configured to trigger the aging time reset when the address analyzing unit 61 analyzes that the conflicting address is not unique. Unit, reset aging time;
计数触发单元 63,用于地址分析单元 61分析出所述冲突地址具有唯一性时, 触发所述冲突计数管理单元计数值减 1 ;  The counting trigger unit 63 is configured to: when the address analyzing unit 61 analyzes that the conflicting address is unique, triggering the conflict count management unit to decrement the count value by one;
接口触发单元 64,用于地址分析单元 61分析出所述冲突地址具有唯一性时, 触发所述接口管理单元去掉所述冲突接口。  The interface triggering unit 64 is configured to: when the address analyzing unit 61 analyzes that the conflicting address is unique, triggering the interface management unit to remove the conflicting interface.
上面详细说明了本发明实施例提出的一种网络节点设备的技术方案, 下面 将结合图 6、图 7详细阐述本发明实施例的一种重复地址冲突后的探测方法的技 术方案。  The technical solution of the network node device according to the embodiment of the present invention is described in detail above. The technical solution of the method for detecting the repeated address conflict in the embodiment of the present invention will be described in detail below with reference to FIG. 6 and FIG.
参考图 6,是本发明提供的一种用于地址冲突的重复地址检测方法的第一具 体实施例的流程图。 所述用于地址冲突的重复地址检测方法包括:  Referring to Figure 6, there is shown a flow chart of a first specific embodiment of a method for detecting duplicate addresses of address conflicts provided by the present invention. The method for detecting duplicate addresses for address conflicts includes:
步骤 Sl, 当检测到发生地址冲突后, 被冲突节点根据冲突地址检索 DAL 列表;  Step S1, after detecting an address conflict, the conflicted node retrieves the DAL list according to the conflicting address;
步骤 S2, 根据检索结果检查冲突地址是否命中重复地址列表, 如果没有命 中, 则根据所述冲突地址配置重复地址列表信息, 否则, 根据检索结果更新重 复地址列表信息;  Step S2, checking whether the conflict address hits the duplicate address list according to the search result, and if there is no hit, configuring the duplicate address list information according to the conflict address; otherwise, updating the duplicate address list information according to the search result;
步骤 S3 , 根据所述重复地址列表信息向引起冲突的节点主动发起重复地址 ( DAD 'J )。  Step S3: Proactively initiate a duplicate address (DAD 'J ) to the node causing the conflict according to the repeated address list information.
其中, 所述 DAL列表的数据结构与上述实施例所述的 DAL列表相同, 如 表 1所示, 其包括选项: 冲突地址、 发生冲突的接口链、 冲突计数、 老化时间、 引起冲突的节点的 MAC地址(可选)。 The data structure of the DAL list is the same as the DAL list described in the foregoing embodiment, such as Table 1, which includes options: conflict address, conflicting interface chain, collision count, aging time, MAC address of the node causing the collision (optional).
其中, 在步骤 S2中, 所述根据检索结果更新重复地址列表信息具体为: 检查发生冲突的接口是否命中重复地址列表中的发生冲突的接口链, 如果 命中, 则重置老化时间, 否则, 增加冲突计数的计数信息, 并在发生冲突的接 口链中添加所述发生冲突的接口信息;  In the step S2, the updating the duplicate address list information according to the search result is specifically: checking whether the conflicting interface hits the conflicting interface chain in the duplicate address list, and if it hits, resetting the aging time, otherwise, increasing Counting information of the conflict count, and adding the conflicting interface information to the conflicting interface chain;
其中, 在步骤 S3中, 根据所述重复地址列表信息向引起冲突的节点主动发 起 DAD探测具体为:  In step S3, the DAD detection is actively initiated to the node causing the conflict according to the duplicate address list information:
当计时达到老化时间时, 选中发生冲突的接口链中的一接口 (如:最早发生 冲突的接口) 向引起冲突的节点发起 DAD探测。  When the aging time reaches the aging time, select an interface in the conflicting interface chain (for example, the interface that first conflicts) to initiate DAD detection to the node that caused the conflict.
在具体实现时, 在步骤 S3之后还可以进一步包括下述步骤:  In a specific implementation, after the step S3, the following steps may be further included:
根据 DAD探测结果判断冲突地址是否具有唯一性, 如果不是, 则重置老化 时间, 否则, 进入下一步骤;  Determining whether the conflicting address is unique according to the DAD detection result, if not, resetting the aging time; otherwise, proceeding to the next step;
冲突计数的计数值减 1 , 并在发生冲突的接口链中去掉所述接口, 当冲突计 数的计数值为 0时, 则清除所述冲突地址对应的重复地址列表。  The count value of the conflict count is decremented by 1 and the interface is removed from the conflicting interface chain. When the count value of the conflict count is 0, the duplicate address list corresponding to the conflict address is cleared.
值得说明的是, 在上述具体实施例中, 所述步骤 S1可以由下述步骤替代: 引起冲突的节点改变冲突地址后 , 以冲突地址为源地址发送 RA终结 文; 处于同一链路的被冲突节点接收到所述 RA终结报文后 ,解析出报文的源地 址, 并以所述源地址作为冲突地址检索重复地址列表。  It should be noted that, in the above specific embodiment, the step S1 may be replaced by the following steps: after the conflicting node changes the conflicting address, the RA termination text is sent with the conflicting address as the source address; After receiving the RA termination message, the node parses the source address of the packet, and searches for the duplicate address list by using the source address as the conflict address.
其中, 在检索重复地址列表时, 如果所述冲突地址命中重复地址列表, 且 被冲突节点的用于接收所述 RA终结报文的接口命中重复地址列表时 ,则利用该 接口向所述引起冲突的节点发起 DAD探测。  When the duplicate address list is retrieved, if the conflicting address hits the duplicate address list, and the interface of the conflicting node that receives the RA terminating message hits the duplicate address list, the interface is used to cause the conflict. The node initiates a DAD probe.
为了进一步说明本发明实施例的技术方案, 下面将结合图 7提出一种用于 地址冲突的重复地址检测方法的第二具体实施例。  In order to further illustrate the technical solution of the embodiment of the present invention, a second specific embodiment of a method for detecting duplicate addresses of address conflicts will be presented below with reference to FIG.
如图 7所示, 一种用于地址冲突的重复地址检测方法包括:  As shown in FIG. 7, a method for detecting duplicate addresses for address conflicts includes:
步骤 S101 , 通过 DAD探测, 检测到有重复地址冲突后, 被冲突节点根据 冲突地址检索 DAL列表, 所述 DAL列表的数据结构描述与上述实施例相同; 步骤 S102, 根据检索结果判断冲突地址是否命中 DAL列表, 如果是, 则执 行步骤 S103 , 否则, 执行步骤 S106;  Step S101: After detecting the duplicate address conflict by the DAD detection, the conflicting node searches the DAL list according to the conflicting address, and the data structure description of the DAL list is the same as that in the foregoing embodiment. Step S102: Determine, according to the search result, whether the conflict address hits DAL list, if yes, step S103 is performed, otherwise, step S106 is performed;
步骤 S103 , 检查发生冲突的接口是否命中 DAL列表中的发生冲突的接口 链, 如果是, 则执行步骤 S104, 否则, 执行步骤 S105; Step S103, checking whether the conflicting interface hits the conflicting interface in the DAL list. Chain, if yes, proceed to step S104, otherwise, perform step S105;
步骤 S104, 当发生冲突的接口命中 DAL列表时, 则重置 DAL列表的老化 时间以避免过多的 DAD探测, 然后执行步骤 S107;  Step S104, when the conflicting interface hits the DAL list, the aging time of the DAL list is reset to avoid excessive DAD detection, and then step S107 is performed;
步骤 S105, 当发生冲突的接口没有命中 DAL列表时, 则在 DAL列表的发 生冲突的接口链中添加所述发生冲突的接口信息 , 并增加冲突计数的计数信息 , 然后执行步骤 S107;  Step S105, when the interface that has collided does not hit the DAL list, the conflicting interface information is added in the conflicting interface chain of the DAL list, and the count information of the conflict count is increased, and then step S107 is performed;
步骤 S106, 如果冲突地址没有命中 DAL列表, 则在 DAL列表中增加该冲 突地址对应的 DAL列表信息 , 即:  Step S106: If the conflicting address does not hit the DAL list, add the DAL list information corresponding to the conflicting address in the DAL list, that is,
在 DAL列表的冲突地址选项中增加所述冲突地址, 在发生冲突的接口链选 项中增加所述冲突地址对应的接口信息, 并将冲突计数的计数值加 1 和重置老 化时间。  The conflict address is added to the conflicting address option of the DAL list, and the interface information corresponding to the conflicting address is added to the conflicting interface chain option, and the count value of the conflict count is incremented by 1 and the aging time is reset.
步骤 S107, 判断 DAL列表的表项是否开始老化, 即: 计时是否达到 DAL 列表的老化时间中设置的计时阔值, 如果是, 则执行步骤 S108, 否则, 继续本 步骤;  Step S107, determining whether the entry of the DAL list starts to age, that is, whether the timing reaches the chrono threshold set in the aging time of the DAL list, and if yes, executing step S108; otherwise, continuing the step;
步骤 S 108,从 DAL列表的发生冲突的接口链中选择最早发生冲突的接口发 起 DAD探测;  Step S108: Selecting an interface that is the earliest conflict from the conflicting interface chain of the DAL list to initiate DAD detection;
步骤 S109, 根据 DAD探测结果检查所述冲突地址是否唯一, 如果是则执 行步骤 S110, 否则继续本步骤;  Step S109, checking whether the conflicting address is unique according to the DAD detection result, if yes, executing step S110, otherwise continuing the step;
步骤 S110,如果确认所述冲突地址现具有唯一性, 则在 DAL列表中的发生 冲突的接口链中去掉该冲突地址对应的接口(步骤 S108中所述的最早发生冲突 的接口), 并使冲突计数的计数值减 1;  Step S110, if it is confirmed that the conflicting address is unique, the interface corresponding to the conflicting address is removed from the conflicting interface chain in the DAL list (the earliest conflicting interface described in step S108), and the conflict is caused. Count the count value minus 1;
步骤 S111 , 判断冲突计数的计数值是否为 0, 如果是, 则执行步骤 S112, 否则, 继续本步骤;  Step S111, determining whether the count value of the conflict count is 0, and if yes, executing step S112, otherwise, continuing the step;
步骤 S112, 删除该冲突地址对应的 DAL列表选项。  Step S112, deleting the DAL list option corresponding to the conflicting address.
通过上述步骤检测到所述冲突地址已经具有唯一性, 即恢复到可使用状态 , 网络节点可以利用该地址发起网络通信。  It is detected by the above steps that the conflicting address is already unique, that is, restored to a usable state, and the network node can use the address to initiate network communication.
由上述实施例可知, 本发明实施例提供的一种用于地址冲突的重复地址检 测方法及网络节点设备, 采用地址冲突后主动探测 (Address Duplicate-Initiative Detection, AD-ID )机制, 即引入重复地址列表( Duplicate Address List, DAL ), 被冲突节点通过检索 DAL列表中的信息, 并按照 DAL列表记录的信息主动发 起 DAD探测来及时探测链路变化, 使冲突地址及时处于可用状态, 尽可能地减 少冲突节点的不可用状态的周期, 提高系统的可靠性和可用性。 It can be seen from the foregoing embodiment that the method for detecting a duplicate address of an address conflict and the network node device provided by the embodiment of the present invention adopts an Address Duplicate-Initiative Detection (AD-ID) mechanism, that is, introduces a repetition. The Duplicate Address List (DAL) is retrieved by the conflicting node by the information in the DAL list and is actively sent according to the information recorded in the DAL list. DAD detection is used to detect link changes in time, so that conflict addresses are available in a timely manner, and the period of unavailable states of conflicting nodes is reduced as much as possible, thereby improving system reliability and availability.
以上所述是本发明的优选实施方式, 应当指出, 对于本技术领域的普通技 术人员来说, 在不脱离本发明原理的前提下, 还可以做出若干改进和润饰, 这 些改进和润饰也视为本发明的保护范围。  The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. These improvements and retouchings are also considered. It is the scope of protection of the present invention.

Claims

权 利 要 求 Rights request
1、 一种用于地址冲突的重复地址检测方法, 其特征在于, 包括:  A method for detecting duplicate addresses for address conflicts, comprising:
当检测到发生地址冲突后 , 被冲突节点根据冲突地址检索重复地址列表; 根据检索结果判断冲突地址是否命中重复地址列表, 如果没有命中, 则根 据所述冲突地址配置重复地址列表信息, 否则, 根据检索结果更新重复地址列 表信息;  After detecting an address conflict, the conflicting node retrieves the duplicate address list according to the conflicting address; determines whether the conflicting address hits the duplicate address list according to the search result, and if there is no hit, configures the duplicate address list information according to the conflicting address, otherwise, according to the conflicting address, The search result updates the duplicate address list information;
根据所述重复地址列表信息向引起冲突的节点主动发起重复地址检测。  Determining duplicate address detection to the node causing the collision according to the repeated address list information.
2、如权利要求 1所述的方法,其特征在于, 所述重复地址列表的选项包括: 冲突地址、 发生冲突的接口链、 冲突计数、 老化时间。 The method according to claim 1, wherein the options of the duplicate address list comprise: a conflicting address, a conflicting interface chain, a collision count, and an aging time.
3、 如权利要求 2所述的方法, 其特征在于, 所述重复地址列表的选项进一 步包括: 引起冲突的节点的 MAC地址。 3. The method of claim 2, wherein the option of the duplicate address list further comprises: a MAC address of the node causing the collision.
4、 如权利要求 2所述的方法, 其特征在于, 所述根据检索结果更新重复地 址列表信息具体为: 4. The method according to claim 2, wherein the updating the duplicate address list information according to the search result is specifically:
检查发生冲突的接口是否命中重复地址列表中的发生冲突的接口链, 如果 命中, 则重置老化时间, 否则, 增加冲突计数的计数信息, 并在发生冲突的接 口链中添加所述发生冲突的接口信息。  Check whether the conflicting interface hits the conflicting interface chain in the duplicate address list. If it hits, reset the aging time. Otherwise, increase the count information of the collision count, and add the conflicting interface to the conflicting interface chain. Interface information.
5、 如权利要求 2或 4所述的方法, 其特征在于, 根据所述重复地址列表信 息向引起冲突的节点主动发起重复地址检测具体为: The method according to claim 2 or 4, wherein the repeatedly generating the duplicate address detection to the node causing the conflict according to the repeated address list information is specifically:
当计时达到老化时间时, 选中发生冲突的接口链中的一接口向引起冲突的 节点发起重复地址检测。  When the timing reaches the aging time, an interface in the conflicting interface chain is selected to initiate duplicate address detection to the node causing the collision.
6、 如权利要求 5所述的方法, 其特征在于, 所述方法进一步包括: 根据所述重复地址检测的结果判断冲突地址是否具有唯一性, 如果不是, 则重置老化时间, 否则 The method according to claim 5, wherein the method further comprises: determining whether the conflicting address is unique according to the result of the repeated address detection, and if not, resetting the aging time, otherwise
冲突计数的计数值减 1 , 并在发生冲突的接口链中去掉所述接口, 当冲突计 数的计数值为 0时, 则清除所述冲突地址对应的重复地址列表信息。 The count value of the conflict count is decremented by 1, and the interface is removed from the conflicting interface chain, when the conflict is counted When the count value of the number is 0, the duplicate address list information corresponding to the conflict address is cleared.
7、 如权利要求 1或 2所述的方法, 其特征在于, 所述当检测到重复地址冲 突后 , 被冲突节点根据冲突地址检索重复地址列表可以由下述方式替代: 7. The method according to claim 1 or 2, wherein, after detecting the duplicate address conflict, the conflicting node searches for the duplicate address list according to the conflicting address may be replaced by:
引起冲突的节点改变冲突地址后 , 以冲突地址为源地址发送路由通告终结 报文;  After the conflicting node changes the conflicting address, the route advertisement is terminated by using the conflicting address as the source address.
处于同一链路的被冲突节点接收到所述路由通告终结报文后 , 解析出报文 的源地址 , 并以所述源地址作为冲突地址检索重复地址列表。  After receiving the route advertisement termination message, the conflicting node in the same link parses the source address of the packet, and searches for the duplicate address list by using the source address as the conflict address.
8、 如权利要求 7所述的方法, 其特征在于, 在检索重复地址列表时, 如果 所述冲突地址命中重复地址列表, 并且被冲突节点的用于接收所述路由通告终 结报文的接口也命中重复地址列表时 , 则向该引起冲突的节点发起重复地址检 测。 8. The method according to claim 7, wherein when the duplicate address list is retrieved, if the conflicting address hits the duplicate address list, and the interface of the conflicting node for receiving the route advertisement termination message is also When a duplicate address list is hit, a duplicate address detection is initiated to the node that caused the conflict.
9、 如权利要求 8所述的方法, 其特征在于, 所述方法进一步包括: 根据所述重复地址检测的结果判断冲突地址是否具有唯一性, 如果不是, 则重置老化时间, 否则 The method according to claim 8, wherein the method further comprises: determining whether the conflicting address is unique according to the result of the repeated address detection, and if not, resetting the aging time, otherwise
冲突计数的计数值减 1 , 并在发生冲突的接口链中去掉所述接口, 当冲突计 数的计数值为 0时, 则清除所述冲突地址对应的重复地址列表。  The count value of the conflict count is decremented by 1 and the interface is removed from the conflicting interface chain. When the count value of the conflict count is 0, the duplicate address list corresponding to the conflict address is cleared.
10、 一种网络节点设备, 包括通讯接口单元, 与其它网络或网络节点设备 连接, 并接收来自其它网络节点设备的数据报文, 其特征在于, 所述网络节点 设备还包括: A network node device, comprising: a communication interface unit, connected to another network or network node device, and receiving data packets from other network node devices, wherein the network node device further comprises:
列表存储单元, 用于存储重复地址列表;  a list storage unit, configured to store a duplicate address list;
检索单元, 用于根据冲突地址检索所述列表存储单元中的重复地址列表, 并输出检索结果;  a retrieval unit, configured to retrieve a duplicate address list in the list storage unit according to the conflict address, and output a retrieval result;
检索结果处理单元, 当所述检索单元的检索结果为未命中重复地址列表时, 根据冲突地址配置所述列表存储单元中的重复地址列表信息, 或者当所述检索 单元的检索结果为命中重复地址列表时, 根据检索结果更新所述列表存储单元 中的重复地址列表信息; 主动探测单元, 用于根据所述列表存储单元中存储的重复地址列表信息主 动发起重复地址检测。 a retrieval result processing unit, configured to configure the duplicate address list information in the list storage unit according to the conflicting address when the retrieval result of the retrieval unit is a missed duplicate address list, or when the retrieval result of the retrieval unit is a hit duplicate address When listing, updating the duplicate address list information in the list storage unit according to the retrieval result; The active detecting unit is configured to actively initiate duplicate address detection according to the duplicate address list information stored in the list storage unit.
11、 如权利要求 10所述的网络节点设备, 其特征在于, 所述重复地址列表 的选项包括: 冲突地址、 发生冲突的接口链、 冲突计数、 老化时间。 The network node device according to claim 10, wherein the options of the duplicate address list include: a conflicting address, a conflicting interface chain, a collision count, and an aging time.
12、 如权利要求 10或 11所述的网络节点设备, 其特征在于, 所述检索结 果处理单元包括: The network node device according to claim 10 or 11, wherein the search result processing unit comprises:
判断单元, 用于判断所述冲突地址是否命中重复地址列表, 并输出判断结 果;  a determining unit, configured to determine whether the conflicting address hits a duplicate address list, and output a judgment result;
配置单元, 当所述判断单元输出的判断结果为未命中时, 用于根据冲突地 址在重复地址列表中添加与该冲突地址相关的新记录;  a configuration unit, configured to add a new record related to the conflict address in the duplicate address list according to the conflicting address when the judgment result output by the determining unit is a miss;
列表更新单元, 当所述判断单元的判断结果为命中时, 用于根据检索结果 更新重复地址列表各选项信息。  The list updating unit is configured to update the duplicate address list option information according to the retrieval result when the determination result of the determining unit is a hit.
13、 如权利要求 12所述的网络节点设备, 其特征在于, 所述列表更新单元 包括: The network node device according to claim 12, wherein the list updating unit comprises:
老化时间重置单元 , 当冲突接口命中所述发生冲突的接口链中记录的接口 时, 用于重置老化时间的计时阔值;  The aging time reset unit is used to reset the aging time of the aging time when the conflicting interface hits the interface recorded in the conflicting interface chain.
接口管理单元 , 当冲突接口不是所述发生冲突的接口链中记录的接口时 , 在所述发生冲突的接口链中添加所述冲突接口的信息;  An interface management unit, when the conflicting interface is not the interface recorded in the conflicting interface chain, adding the information of the conflicting interface to the conflicting interface chain;
冲突计数管理单元 , 当冲突接口不是所述发生冲突的接口链中记录的接口 时, 在冲突计数中增加计数信息。  The conflict count management unit increases the count information in the conflict count when the conflict interface is not the interface recorded in the conflicting interface chain.
14、 如权利要求 13所述的网络节点设备, 其特征在于, 所述网络节点设备 进一步包括一探测结果处理单元, 所述探测结果处理单元具体包括: The network node device according to claim 13, wherein the network node device further includes a detection result processing unit, and the detection result processing unit specifically includes:
地址分析单元, 用于根据重复地址检测的结果判断冲突地址是否具有唯一 性;  An address analyzing unit, configured to determine, according to a result of the duplicate address detection, whether the conflicting address is unique;
老化时间触发单元, 用于在所述地址分析单元分析出所述冲突地址不具有 唯一性时, 触发老化时间重置单元, 重置老化时间; 计数触发单元 , 用于在所述地址分析单元分析出所述冲突地址具有唯一性 时, 触发所述冲突计数管理单元将对应冲突计数的计数值减 1; An aging time triggering unit, configured to: when the address analysis unit analyzes that the conflicting address is not unique, trigger an aging time resetting unit to reset the aging time; a counting triggering unit, configured to trigger the conflict counting management unit to decrement the count value of the corresponding conflict count by 1 when the address analyzing unit analyzes that the conflicting address is unique;
接口触发单元 , 用于在所述地址分析单元分析出所述冲突地址具有唯一性 时 , 触发所述接口管理单元从所述发生冲突的接口链中去掉所述冲突接口。  And an interface triggering unit, configured to: when the address analyzing unit analyzes that the conflicting address is unique, triggering the interface management unit to remove the conflicting interface from the conflicting interface chain.
PCT/CN2008/072127 2007-08-30 2008-08-25 Duplicate address detection method and network node device for address conflict WO2009026849A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB2007100299884A CN100495992C (en) 2007-08-30 2007-08-30 Duplicated address detection method used for address conflict and network node equipment
CN200710029988.4 2007-08-30

Publications (1)

Publication Number Publication Date
WO2009026849A1 true WO2009026849A1 (en) 2009-03-05

Family

ID=39042617

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072127 WO2009026849A1 (en) 2007-08-30 2008-08-25 Duplicate address detection method and network node device for address conflict

Country Status (2)

Country Link
CN (1) CN100495992C (en)
WO (1) WO2009026849A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130246593A1 (en) * 2012-03-15 2013-09-19 Adva Ag Optical Networking Network with a network wide extended policy framework

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100495992C (en) * 2007-08-30 2009-06-03 华为技术有限公司 Duplicated address detection method used for address conflict and network node equipment
KR101372988B1 (en) 2009-11-17 2014-03-25 후아웨이 테크놀러지 컴퍼니 리미티드 Method, apparatus and system of duplicate address detection proxy
CN102143036B (en) * 2010-06-07 2015-04-08 华为技术有限公司 Prefix sending method, prefix appointing method and corresponding devices
CN101945145B (en) * 2010-09-10 2013-10-23 北京星网锐捷网络技术有限公司 Address state processing method and system as well as network node
CN102209122A (en) * 2011-05-18 2011-10-05 中兴通讯股份有限公司 Method and system for automatically recovering after address duplication of IPv6 (Internet Protocol version 6) and node
CN104410547B (en) * 2014-12-03 2017-09-29 合肥工大高科信息科技股份有限公司 A kind of address conflict detecting method in dcs
US9300581B1 (en) * 2015-02-03 2016-03-29 Google Inc. Mesh network addressing
CN108108300B (en) * 2017-12-18 2020-06-16 北京东土科技股份有限公司 Resource allocation detection method and device for operating system
CN109951871B (en) * 2019-04-04 2021-05-11 乐鑫信息科技(上海)股份有限公司 Method, device, terminal and storage medium for detecting node conflict
CN114285828B (en) * 2021-12-21 2024-02-02 浙江中控技术股份有限公司 Address conflict processing method, system, storage medium and network equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5758282A (en) * 1995-06-19 1998-05-26 Sharp Kabushiki Kaisha Radio terminal using allocated addresses
US20020075836A1 (en) * 2000-12-20 2002-06-20 Nec Corporation Wireless communication system
CN1527540A (en) * 2003-03-04 2004-09-08 ���ǵ�����ʽ���� Method for distributing internet protocal address and detecting its replication in special network
WO2006129680A1 (en) * 2005-05-30 2006-12-07 Matsushita Electric Industrial Co., Ltd. Communication device provided with arp function
US20070097992A1 (en) * 2005-11-03 2007-05-03 Cisco Technology, Inc. System and method for resolving address conflicts in a network
US20070133544A1 (en) * 2005-12-12 2007-06-14 Matsushita Electric Industrial Co., Ltd. Communication apparatus, communication system including the same, and method for setting ip address of communication apparatus
CN101110712A (en) * 2007-08-30 2008-01-23 华为技术有限公司 Duplicated address detection method used for address conflict and network node equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5758282A (en) * 1995-06-19 1998-05-26 Sharp Kabushiki Kaisha Radio terminal using allocated addresses
US20020075836A1 (en) * 2000-12-20 2002-06-20 Nec Corporation Wireless communication system
CN1527540A (en) * 2003-03-04 2004-09-08 ���ǵ�����ʽ���� Method for distributing internet protocal address and detecting its replication in special network
WO2006129680A1 (en) * 2005-05-30 2006-12-07 Matsushita Electric Industrial Co., Ltd. Communication device provided with arp function
US20070097992A1 (en) * 2005-11-03 2007-05-03 Cisco Technology, Inc. System and method for resolving address conflicts in a network
US20070133544A1 (en) * 2005-12-12 2007-06-14 Matsushita Electric Industrial Co., Ltd. Communication apparatus, communication system including the same, and method for setting ip address of communication apparatus
CN101110712A (en) * 2007-08-30 2008-01-23 华为技术有限公司 Duplicated address detection method used for address conflict and network node equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130246593A1 (en) * 2012-03-15 2013-09-19 Adva Ag Optical Networking Network with a network wide extended policy framework
US9026632B2 (en) * 2012-03-15 2015-05-05 Adva Optical Networking Se Network with a network wide extended policy framework

Also Published As

Publication number Publication date
CN101110712A (en) 2008-01-23
CN100495992C (en) 2009-06-03

Similar Documents

Publication Publication Date Title
WO2009026849A1 (en) Duplicate address detection method and network node device for address conflict
CN101663878B (en) Extensions to ipv6 neighbor discovery protocol for automated prefix delegation
KR100453055B1 (en) Method for path MTU discovery on IP network and apparatus thereof
US8599858B1 (en) System and method for keep alive message aging
US7979582B2 (en) Communication device provided with ARP function
EP3207690B1 (en) Duplicate address detection based on distributed bloom filter
JPWO2008152807A1 (en) MAC address deduplication method, network device management system, server and information device
CN110505621B (en) Terminal migration processing method and device
CN107580079B (en) Message transmission method and device
EP2753029B1 (en) Message learning method, device and system
CN107948066B (en) Designated forwarder DF election method, system and device
EP1641192B1 (en) Method and device for detecting connectivity termination within an internet protocol version 6 access networks
KR20140038535A (en) Preventing neighbor-discovery based denial of service attacks
CN108769290B (en) IPv6 multi-address generation and duplicate address detection method
JP7430224B2 (en) Packet processing methods and gateway devices
US9992159B2 (en) Communication information detecting device and communication information detecting method
CN108600070B (en) Designated forwarder DF election method and device
WO2006063217A1 (en) Maskable content addressable memory
US20080130503A1 (en) Method and system for forwarding ethernet frames over redundant networks with all links enabled
US11902380B1 (en) Liveness detection for an authenticated client session
WO2017219868A1 (en) Arp entry processing method and apparatus
CN109862137B (en) Message transmission method and device
CN111049948B (en) Domain name detection method and device
CN111556179B (en) ARP (Address resolution protocol) table entry updating method and device
CN107547687B (en) Message transmission method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08784117

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08784117

Country of ref document: EP

Kind code of ref document: A1