WO2012155570A1 - 一种IPv6地址重复后自动恢复的方法、系统和节点 - Google Patents

一种IPv6地址重复后自动恢复的方法、系统和节点 Download PDF

Info

Publication number
WO2012155570A1
WO2012155570A1 PCT/CN2012/071407 CN2012071407W WO2012155570A1 WO 2012155570 A1 WO2012155570 A1 WO 2012155570A1 CN 2012071407 W CN2012071407 W CN 2012071407W WO 2012155570 A1 WO2012155570 A1 WO 2012155570A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
node
message
neighbor
duplicate
Prior art date
Application number
PCT/CN2012/071407
Other languages
English (en)
French (fr)
Inventor
李洪涛
谭云桥
吴坤峰
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012155570A1 publication Critical patent/WO2012155570A1/zh

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/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 data communications, and in particular, to a method, system and node for automatically recovering after IPv6 addresses are repeated. Background technique
  • the Neighbor Discovery (ND, Neighbor Discovery) protocol is a brand new protocol that implements the IPv4 address resolution protocol (ARP). , Address Resolution Protocol ), all functions of the router discovery part, the redirection part, and the address repeat detection function in the Internet Control Message Protocol (ICMP).
  • ARP IPv4 address resolution protocol
  • ICMP Internet Control Message Protocol
  • the address configured on any network node has an address status. The address must be repeatedly detected. The result of the last detection is reported to the interface management module. The common IPv6 address status is normal. Sexual address state (tentative) and duplicate address state (duplicated).
  • the principle of repeated detection of the IPv6 address is as shown in Figure 1: After the node newly configures the IPv6 address, it sends a neighbor request (NS, Neighbor Solicitation) message.
  • the destination address of the packet is the currently configured address, and the source IP is 0.
  • the destination IP address is an IPv6 request multicast address (generated according to the detected address). If an NS message for the same destination address is received before the NS message for detecting the duplicate address is sent, the address is duplicated. After sending the NS for detecting the duplicate address, if the received NS message for the same destination address is more than expected, the address is duplicated. If the neighbor advertisement (NA, Neighbor Advertisement) is received for the target address, the address is repeat. Otherwise, the address is valid.
  • NA Neighbor Advertisement
  • the corresponding tag is marked, and the IP address with the tentative tag and the duplicated tag cannot be used as the source IP when sending the packet.
  • IPv6 address detection if an address conflict is found, will be marked with a duplicated mark, and the mark will remain. Even if the address conflicting with the address marked as duplicated does not exist, the duplicated tag will continue to exist, and the address marked as duplicated will still be unavailable. Unless the intermediate interface flaps or the rack restarts, the address is triggered to repeat the address. Detection. There are two occasions for repeated detection of IPv6 addresses: when the address is configured and when the interface ⁇ ⁇ 6 is configured.
  • the main object of the present invention is to provide a method, system and node for automatically recovering after IPv6 address repetition, to solve the above problems in the prior art.
  • the present invention provides a method for automatically recovering after an IPv6 address is repeated, including:
  • the neighboring node After the node deletes the address, the neighboring node multicasts the neighbor advertisement (NA) message, where the NA message carries the address deleted by the node, and the neighbor node detects the local address after receiving the NA message, if If the local address is a duplicate address, it will be processed.
  • NA neighbor advertisement
  • NA message target address field is filled in the address deleted by the node, and the option part field, the S field, and the 0 field are all empty.
  • the neighboring node detects the local address after receiving the NA packet, include:
  • the destination IP address of the NA packet is a multicast address; if it is a multicast address, the destination address of the NA packet is taken out and checked on the inbound interface.
  • the process is to change the repeated address state of the duplicate address to a normal address state, or to repeatedly detect the address of the neighbor node.
  • the method further includes: when the neighbor node detects that the inbound interface neighbor entry includes the neighbor entry corresponding to the deleted address, deleting the corresponding neighbor entry.
  • the step of multicasting the NA message to the neighboring node includes sending the multicast NA message according to the configured sending interval and the number of sending.
  • the present invention also provides a system for automatically recovering after repeated IPv6 addresses, including: including a node and a neighbor node;
  • the node After the node is configured to delete the address, the node sends a multicast NA message to the neighboring node, where the NA message carries the address deleted by the node;
  • the neighboring node is configured to detect the local address after receiving the NA packet, and if the local address is a duplicate address, perform processing.
  • NA message destination address field is filled in the address deleted by the node, and the option part field, the S field, and the 0 field are all empty, and the source address of the NA message is 0.
  • the process is to change the repeated address state of the duplicate address to a normal address state, or to repeatedly detect the address of the neighbor node.
  • the node when the neighbor node detects that the inbound interface neighbor entry contains the neighbor entry corresponding to the address, the corresponding neighbor entry is deleted. Further, the node is further configured to send the multicast NA message to the neighbor node according to the configured sending interval and the number of sending.
  • the present invention further provides a node that automatically recovers after an IPv6 address is repeated, and includes an NA packet sending module and an address detecting module.
  • the NA message sending module is configured to send the multicast NA message to the neighbor node of the node after the node deletes the address;
  • the address detecting module is configured to detect, after the node receives the NA message multicast by the neighboring node, the local address of the node, and if the local address is a duplicate address, the duplicate address state of the duplicate address is Change to the normal address state, or the neighbor node triggers duplicate address detection.
  • the node further includes a neighbor entry deletion module, where the entry deletion module is configured to: when the node detects that the inbound interface neighbor entry includes the deleted neighbor entry corresponding to the address, Delete this entry.
  • the node After the node deletes the address, the node multicasts the NA message carrying the deleted address to the neighboring node. After receiving the NA message, the neighboring node checks whether the address of the node is the same as the deleted address of the NA message. If the same and the address state is the repeated state, the address repeat detection is re-triggered or the state of the duplicate address is changed to the normal state, which has better operability than the prior art.
  • Figure 1 is a schematic diagram of the principle of IPv6 duplicate address detection
  • FIG. 2 is a flowchart of a method for automatically recovering after an address is repeated according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a format of an NA packet according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a node sending an NA message according to a configuration according to an embodiment of the present invention
  • FIG. 5 is a flowchart of address detection after a node receives an NA message according to an embodiment of the present invention. detailed description
  • the technical solution of the present invention is that after the node deletes the address, the neighboring node multicasts the NA message carrying the deleted address, and after receiving the NA message, the neighboring node checks whether the address and the NA message are on the node. The delete address is the same. If the address is the same and the address status is a duplicate status, the address repeat detection is re-triggered or the status of the duplicate address is changed to the normal status.
  • the method of address repeat detection is prior art and has been described in the background art.
  • the address deleted by the node described herein is an IPv6 address.
  • Step 201 After deleting the address, the node multicasts the NA message to the neighbor node.
  • the address deleted by the node is an IPv6 address
  • the NA packet carries the address deleted by the node
  • the format of the NA ⁇ text is as shown in FIG. 3:
  • the NA message destination address field fills in the address deleted by the node, and the option part (generally the target link layer address option) is not filled in, the "S", "0" flag fields are not filled, other fields and common
  • the destination address of the message is the request multicast address generated according to the target address, and the source address is filled with 0.
  • the number of the NA packets and the packet transmission interval are configured to prevent the node from receiving packets from the neighboring node.
  • the specific steps are shown in Figure 4:
  • Step 401 The system initializes an address deletion transmission list
  • Step 402 After the node address is deleted, create a node that sends the NA message, and hang the node to the address deletion sending list.
  • Step 403 Start a timer, and send a multicast NA message according to the configured sending interval.
  • Step 405 Continue to send a multicast NA message according to the configuration interval, and perform step 404;
  • Step 406 The sending ends, and the sending node is deleted from the linked list.
  • the sending interval and the number of sending can be preset to a default value, for example, the sending interval is 1 second, and the number of sending is one.
  • Step 202 the neighbor node receives the NA message after detecting the local address; the above step address IPv 6 is a local address, the address of the neighboring node on the local detection step is performed, in conjunction with FIG. 5 below Do a detailed description.
  • Step 501 The neighboring node receives the NA packet, and takes out the IPv6 address deleted by the node carried in the NA packet.
  • Step 502 Determine whether the source IP address of the NA packet is 0; if yes, go to step 504; if no, go to step 503;
  • Step 503 Processing other types of NA messages according to their corresponding types
  • Step 504 Determine whether the destination IP address of the NA packet is a multicast address; if yes, go to step 506; if no, go to step 505;
  • Step 505 discard the NA message; performing step 506;
  • Step 506 Perform a lookup on the ingress interface to find whether the same address as the destination address of the NA packet exists.
  • Step 507 If yes, go to step 509; if there is no execution step 508;
  • Step 508 Searching for the neighbor entry corresponding to the deleted IPv6 address according to the target address and the inbound interface; performing step 511;
  • Step 509 Find whether the local address status is a duplicate address status; if not, go to step 510; if yes, go to step 513;
  • Step 510 No processing
  • Step 511 If found, go to step 512; if not found, go to step 510;
  • Step 512 Delete the neighbor entry
  • the method provided by the present invention can solve the above problem when deleting an IPv6 address and simultaneously deleting a neighbor entry on a neighbor node.
  • Step 513 Determine as a duplicate address.
  • Step 203 When the detected local address is a duplicate address, processing is performed.
  • the repeated address refers to an address where the local address of the neighboring node is the same as the address deleted by the node, and the state is the state of the duplicated address.
  • the processing refers to re-triggering address repeated detection, or changing the address state to a normal address state.
  • the invention provides a system for automatically recovering after an IPv6 address is repeated.
  • the system includes a node and a neighbor node
  • the node After the node is configured to delete the address, the node sends a multicast NA message to the neighboring node, where the NA message carries the address deleted by the node;
  • the neighboring node is configured to detect the local address after receiving the NA packet, and if the local address is a duplicate address, perform processing.
  • the destination address field of the NA packet is filled in the address deleted by the node, and the option part field, the S field, and the 0 field are all empty, and the source address of the NA packet is 0.
  • the process is to change the repeated address state of the repeated address to a normal address state, or to repeatedly detect the address of the neighbor node triggering.
  • the system further includes deleting the corresponding neighbor entry when the neighbor node detects that the neighbor entry of the inbound interface includes the neighbor entry corresponding to the address.
  • the multicasting of the NA message to the neighboring node includes: transmitting the NA message according to the configured sending interval and the number of sending the NA message.
  • the present invention also provides a node that automatically recovers after an IPv6 address is repeated, and the node includes The NA packet sending module, the address detecting module, and the neighbor entry deleting module;
  • the NA message sending module is configured to send a multicast NA message to the neighboring node after the node deletes the address
  • the address detecting module is configured to detect a local address after the node receives the NA message multicast by the neighboring node, and if the local address and the deleted address are the same, and the state is repeated, the duplicate address state of the duplicate address is changed. It is a normal address state, or the neighbor node triggers duplicate address detection.
  • the node further includes a neighbor entry deletion module, where the entry deletion module is configured to: after receiving the NA message, when the node detects that the inbound interface neighbor entry includes the deleted neighbor entry corresponding to the address, the entry is delete.
  • the node After the node deletes the address, the node multicasts the NA message carrying the deleted address to the neighboring node. After receiving the NA message, the neighboring node checks whether the address of the node is the same as the deleted address of the NA message. If the same and the address state is a repeating state, the address repeat detection is re-triggered or the state of the duplicate address is changed to the normal state, which has better operability.

Landscapes

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

Description

一种 IPv6地址重复后自动恢复的方法、 系统和节点 技术领域
本发明涉及数据通信领域,尤其涉及 IPv6地址重复后自动恢复的方法、 系统及节点。 背景技术
随着 IPv4地址的日益枯竭, IPv6网络的大量部署逐渐被提上了日程, 在 IPv6协议中, 邻居发现(ND, Neighbor Discovery )协议是一个全新的 协议, 它实现了 IPv4的地址解析协议 ( ARP, Address Resolution Protocol )、 互联网控制报文协议(ICMP, Internet Control Message Protocol ) 中路由器 发现部分、重定向部分的所有功能以及地址重复检测功能。在 IPv6网络中, 任何一个网络节点上配置的地址都有一个地址状态, 都必须进行地址重复 检测, 最后检测的结果要上报接口管理模块, IPv6 常见的地址状态有正常 状态(normal ), 实险性地址状态(tentative )和重复地址状态( duplicated )。
IPv6地址重复检测原理, 如附图 1所示: 节点新配置 IPv6地址以后, 发送一个邻居请求(NS , Neighbor Solicitation )报文, 该报文的目标地址 是当前配置的地址, 源 IP是 0, 目的 IP是一个 IPv6的请求组播地址(根 据被检测地址生成), 如果在发送用于检测重复地址的 NS报文前, 收到针 对同一个目标地址的 NS报文, 则说明地址重复; 在发送用于检测重复地址 的 NS后, 收到的针对同一个目标地址的 NS报文比预期的多, 则说明地址 重复; 收到针对目标地址的邻居通告(NA, Neighbor Advertisement ), 则说 明地址重复。 否则, 地址就是有效的。 根据检测结果, 分别打上对应的标 记, 带有 tentative标记和 duplicated标记的 IP地址, 在发包时不能作为源 IP。 当前, IPv6地址检测, 如果发现一个地址沖突了, 就会打上 duplicated 标记, 并且该标记会一直存下去。 即使和该标记为 duplicated的地址沖突的 地址已经不存在了, 该 duplicated标记也会继续存在, 标记为 duplicated的 地址仍然不能使用, 除非中途接口发生震荡或者机架重启, 触发该地址重 新进行地址重复检测。 一般 IPv6地址重复检测的时机有两个: 地址配置时 和接口 ιρν6协议 u 时。 这样如果一个用户配置地址 A, 发现和地址 B重 复后不删除, 地址 B删除后, 仍会给用户会造成一种错觉, 认为地址 A地 址重复检测有问题。 针对上述问题有一种解决方案, 就是将重复的地址挂 在一个链表上, 定时扫描链表, 重新触发这些重复的地址进行地址重复检 测, 这样如果地址 B被删除了, 很快地址 A就会发现不重复就会恢复正常 状态。 这种检测方式属于主动式, 优点是检测的可靠性比较高, 一旦沖突 解除, 一定可以恢复正确的地址状态; 缺点就是定时器的超时时间不好设 置, 设置长了效果不明显; 设置短了, 在沖突地址较多时, 如果对端的沖 突一直没有解除, 则浪费带宽较多。 发明内容
有鉴于此, 本发明的主要目的在于提供一种 IPv6地址重复后自动恢复 的方法、 系统和节点, 以解决上述现有技术中存在的问题。
为了达到上述目的, 本发明的技术方案是这样实现的:
本发明提供了一种 IPv6地址重复后自动恢复的方法, 包括:
节点删除地址后, 向邻居节点组播邻居通告(NA )报文, 所述 NA报 文携带节点删除的所述地址, 所述邻居节点收到所述 NA报文后对本地地 址进行检测, 若本地地址为重复地址, 则进行处理。
进一步地, 所述 NA报文目标地址字段填入节点删除的所述地址, 选 项部分字段、 S字段、 0字段均为空。
进一步地, 所述邻居节点收到所述 NA报文后对本地地址进行检测, 包括:
判断所述 NA报文的源 IP地址是否为 0;
若为 0, 则判断所述 NA报文的目的 IP地址是否为组播地址; 若为组播地址, 则取出所述 NA报文的目标地址, 在入接口上进行查
若存在, 则判断该地址的状态是否为重复地址状态;
若为重复地址状态, 则确定本地地址为所述重复地址。
进一步地, 所述处理为将所述重复地址的重复地址状态改为正常地址 状态, 或者为所述邻居节点触发地址重复检测。
进一步地, 所述方法还包括: 当邻居节点检测到入接口邻居条目中包 含删除的所述地址对应的邻居条目时, 将对应的所述邻居条目删除。
进一步地, 所述向邻居节点组播 NA报文的步驟, 包括根据配置的发 送间隔和发送个数发送组播 NA报文。
本发明还提供了一种 IPv6地址重复后自动恢复的系统, 包括: 包括节点和邻居节点;
所述节点用于删除地址后, 向邻居节点发送组播 NA报文, 所述 NA 报文携带节点删除的所述地址;
所述邻居节点用于收到所述 NA报文后对本地地址进行检测, 若本地 地址为重复地址, 则进行处理。
进一步地, 所述 NA报文目标地址字段填入节点删除的所述地址, 选 项部分字段、 S字段、 0字段均为空, 所述 NA报文的源地址为 0。
进一步地, 所述处理为将所述重复地址的重复地址状态改为正常地址 状态, 或者为所述邻居节点触发地址重复检测。
进一步地, 当邻居节点检测到入接口邻居条目中包含所述地址对应的 邻居条目时, 将对应的所述邻居条目删除。 进一步地, 所述节点还用于, 根据配置的发送间隔和发送个数向所述 邻居节点发送组播 NA 艮文。
本发明还提供了一种 IPv6地址重复后自动恢复的节点, 包括 NA报文 发送模块、 地址检测模块;
所述 NA报文发送模块用于所述节点删除地址后, 向所述节点的邻居 节点发送组播 NA 艮文;
所述地址检测模块用于所述节点收到所述邻居节点组播的 NA报文后 对所述节点的本地地址进行检测, 若本地地址为重复地址, 则将所述重复 地址的重复地址状态改为正常地址状态, 或者所述邻居节点触发重复地址 检测。
进一步地, 所述节点还包括邻居条目删除模块, 所述条目删除模块用 于收到所述 NA报文后, 当节点检测到入接口邻居条目中包含删除的所述 地址对应的邻居条目时, 将该条目删除。
本发明在节点删除地址后, 向邻居节点组播携带被删除地址的 NA报 文, 邻居节点收到所述 NA报文后, 检查本节点上是否有地址和 NA报文 的被删除地址相同, 如果相同且地址状态是重复状态则重新触发地址重复 检测或将重复地址的状态改为正常状态, 与现有技术相比, 具有更好的可 操作性。 附图说明
图 1为 IPv6重复地址检测原理示意图;
图 2为本发明实施例地址重复后自动恢复的方法流程图;
图 3为本发明实施例 NA报文格式示意图;
图 4为本发明实施例节点根据配置发送 NA报文的流程图;
图 5为本发明实施例节点接收到 NA报文后地址检测流程图。 具体实施方式
本发明技术方案为在节点删除地址后, 向邻居节点组播携带被删除地 址的 NA报文后,邻居节点收到所述 NA报文后,检查本节点上是否有地址 和 NA报文的被删除地址相同, 如果相同且地址状态是重复状态, 则重新 触发地址重复检测或将重复地址的状态改为正常状态。
地址重复检测的方法为现有技术, 在背景技术中已经描述。 本文中描 述的节点删除的所述地址为 IPv6地址。
下面结合附图 对地址重复后自动恢复的方法做详细说明。
步驟 201 : 节点删除地址后, 向邻居节点组播 NA报文。
上述节点删除的地址为 IPv6地址, 所述 NA报文携带节点删除的所述 地址, 所述 NA ^艮文格式如图 3所示:
所述 NA报文目标地址字段填写节点删除的地址, 选项部分(一般是 目标链路层地址选项) 不填, "S"、 "0" 标记字段不填, 其它字段和普通
NA ^艮文一样; 4艮文的目的地址是根据目标地址产生的请求组播地址, 源地 址填 0。
其中, 为了防止节点向邻居节点组播报文过程中丟包, 导致邻居节点 收不到, 增加两个配置命令, 配置组播所述 NA报文的个数和报文发送间 隔。 具体步驟如图 4所示:
步驟 401: 系统初始化一个地址删除发送链表;
步驟 402: 节点地址删除后, 创建一个 NA报文发送的节点, 将该节点 挂到地址删除发送链表;
步驟 403: 启动定时器, 根据配置的发送间隔发送组播 NA报文; 步驟 404:定时器超时,判断发送的 NA报文个数是否达到配置的个数, 若否, 执行步驟 405; 若是执行步驟 406;
步驟 405: 根据配置间隔继续发送组播 NA报文, 执行步驟 404; 步驟 406: 发送结束, 从链表中删除该发送节点。
上述步驟中, 发送间隔和发送个数, 可以预设一个默认值, 比如发送 间隔是 1秒, 发送个数是 1个。
步驟 202: 所述邻居节点收到所述 NA报文后对本地地址进行检测; 上述步驟中所述本地地址为 IPv6地址, 所述邻居节点对本地地址进行 检测的步驟, 下面结合如图 5做详细说明。
步驟 501 : 邻居节点收到 NA报文, 取出所述 NA报文中携带的节点删 除的所述 IPv6地址;
步驟 502: 判断所述 NA报文源 IP地址是否为 0; 若是,执行步驟 504; 若否, 执行步驟 503;
步驟 503: 为其他类型 NA报文, 按照其相应类型进行处理;
步驟 504: 判断所述 NA报文目的 IP地址是否为组播地址; 若是, 执 行步驟 506; 若否, 执行步驟 505;
步驟 505: 丟弃所述 NA报文; 执行步驟 506;
步驟 506:在入接口上进行查找是否存在与所述 NA报文的目标地址相 同的地址;
步驟 507: 若存在, 执行步驟 509; 若不存在执行步驟 508;
步驟 508: 根据所述目标地址和入接口查找所述删除的 IPv6地址对应 的邻居条目; 执行步驟 511;
步驟 509: 查找本地地址状态是否为重复地址状态; 若否, 执行步驟 510; 若是, 执行步驟 513;
步驟 510: 不作处理;
步驟 511: 若找到, 执行步驟 512; 若没找到, 执行步驟 510;
步驟 512: 删除该邻居条目;
现有技术中, 如果这个邻居条目对应的 IPv6地址早已经删除, 此时该 邻居条目其实已经是一个无效条目, 因为无法感知到这个地址删除, 这个 邻居条目会一直存在。 除非有报文通过该邻居条目发送, 触发邻居条目的 邻居探测, 探测失败删除条目; 否则这个条目默认会存在 24小时, 这样就 浪费了邻居条目资源空间。 本发明提供的方法, 可以在删除 IPv6地址时, 同时删除在邻居节点上的邻居条目, 解决了上述问题。
步驟 513: 确定为重复地址。
步驟 203: 当所述检测的本地地址为重复地址时, 进行处理。
上述步驟中, 所述的重复地址是指邻居节点的本地地址和被节点删除 的所述地址相同, 且状态为重复地址状态的地址。 所述进行处理, 是指重 新触发地址重复检测, 或者, 改变地址状态为正常地址状态。
本发明提供了一种 IPv6地址重复后自动恢复的系统,
所述系统包括节点和邻居节点;
所述节点用于删除地址后, 向邻居节点发送组播 NA报文, 所述 NA 报文携带节点删除的所述地址;
所述邻居节点用于收到所述 NA报文后对本地地址进行检测, 若本地 地址为重复地址, 则进行处理。
其中, 所述 NA报文目标地址字段填入节点删除的所述地址, 选项部 分字段、 S字段、 0字段均为空, 所述 NA报文的源地址为 0。
其中, 所述处理为将所述重复地址的重复地址状态改为正常地址状态, 或者为所述邻居节点触发地址重复检测。
其中, 所述系统还包括当邻居节点检测到入接口邻居条目中包含所述 地址对应的邻居条目, 则将对应的所述邻居条目删除。
其中, 所述向邻居节点组播 NA报文, 包括: 根据配置的发送间隔和 发送个数组播 NA报文。
本发明还提供了一种 IPv6地址重复后自动恢复的节点, 所述节点包括 NA报文发送模块、 地址检测模块以及邻居条目删除模块;
所述 NA报文发送模块用于节点删除地址后,向邻居节点发送组播 NA 报文;
所述地址检测模块用于节点收到邻居节点组播的 NA报文后对本地地 址进行检测, 若本地地址和被删除地址相同, 且状态为重复, 则将所述重 复地址的重复地址状态改为正常地址状态, 或者所述邻居节点触发重复地 址检测。
所述节点还包括邻居条目删除模块, 所述条目删除模块用于收到所述 NA报文后, 当节点检测到入接口邻居条目中包含删除的所述地址对应的邻 居条目, 则将该条目删除。
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。 属于本发明所附的权利要求的保护范围。
工业实用性
本发明在节点删除地址后, 向邻居节点组播携带被删除地址的 NA报 文, 邻居节点收到所述 NA报文后, 检查本节点上是否有地址和 NA报文 的被删除地址相同, 如果相同且地址状态是重复状态则重新触发地址重复 检测或将重复地址的状态改为正常状态, 具有更好的可操作性。

Claims

权利要求书
1、 一种 IPv6地址重复后自动恢复的方法, 其特征在于:
节点删除地址后,向邻居节点组播邻居通告 NA报文,所述 NA报文携 带节点删除的所述地址, 所述邻居节点收到所述 NA报文后对本地地址进 行检测, 若本地地址为重复地址, 则进行处理。
2、 根据权利要求 1所述的方法, 其特征在于:
所述 NA报文目标地址字段填入节点删除的所述地址, 选项部分字段、 S字段、 0字段均为空。
3、 根据权利要求 1所述的方法, 其特征在于, 所述邻居节点收到所述 NA 艮文后对本地地址进行检测, 包括:
判断所述 NA报文的源 IP地址是否为 0;
若为 0, 则判断所述 NA报文的目的 IP地址是否为组播地址; 若为组播地址, 则取出所述 NA报文的目标地址, 在入接口上进行查 若存在, 则判断该地址的状态是否为重复地址状态;
若为重复地址状态, 则确定本地地址为所述重复地址。
4、 根据权利要求 1至 3中任一项所述的方法, 其特征在于:
所述处理为将所述重复地址的重复地址状态改为正常地址状态, 或者 为所述邻居节点触发地址重复检测。
5、 根据权利要求 4所述的方法, 其特征在于, 所述方法还包括: 当邻居节点检测到入接口邻居条目中包含删除的所述地址对应的邻居 条目时, 将对应的所述邻居条目删除。
6、 根据权利要求 5 所述的方法, 其特征在于, 所述向邻居节点组播 NA报文, 包括:
根据配置的发送间隔和发送个数发送组播 NA报文。
7、一种 IPv6地址重复后自动恢复的系统, 其特征在于, 所述系统包括 节点和邻居节点; 其中:
所述节点用于删除地址后, 向邻居节点发送组播 NA报文, 所述 NA 报文携带节点删除的所述地址;
所述邻居节点用于收到所述 NA报文后对本地地址进行检测, 若本地 地址为重复地址, 则进行处理。
8、 根据权利要求 7所述的系统, 其特征在于:
所述 NA报文目标地址字段填入节点删除的所述地址, 选项部分字段、 S字段、 0字段均为空, 所述 NA报文的源地址为 0。
9、 根据权利要求 7或 8所述的系统, 其特征在于:
所述处理为将所述重复地址的重复地址状态改为正常地址状态, 或者 为所述邻居节点触发地址重复检测。
10、 根据权利要求 9所述的系统, 其特征在于:
当邻居节点检测到入接口邻居条目中包含所述地址对应的邻居条目 时, 将对应的所述邻居条目删除。
11、 根据权利要求 10所述的系统, 其特征在于, 所述节点还用于, 根 据配置的发送间隔和发送个数向所述邻居节点发送组播 NA报文。
12、 一种 IPv6地址重复后自动恢复的节点, 其特征在于: 所述节点包 括 NA报文发送模块、 地址检测模块;
所述 NA报文发送模块用于所述节点删除地址后, 向所述节点的邻居 节点发送组播 NA 艮文;
所述地址检测模块用于所述节点收到所述邻居节点组播的 NA报文后 对所述节点的本地地址进行检测, 若本地地址为重复地址, 则将所述重复 地址的重复地址状态改为正常地址状态, 或者所述邻居节点触发重复地址 检测。
13、 根据权利要求 12所述的节点, 其特征在于: 所述节点还包括邻居 条目删除模块, 所述条目删除模块用于收到所述 NA报文后, 当节点检测 除。
PCT/CN2012/071407 2011-05-18 2012-02-21 一种IPv6地址重复后自动恢复的方法、系统和节点 WO2012155570A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110129505.4 2011-05-18
CN2011101295054A CN102209122A (zh) 2011-05-18 2011-05-18 一种IPv6地址重复后自动恢复的方法、系统和节点

Publications (1)

Publication Number Publication Date
WO2012155570A1 true WO2012155570A1 (zh) 2012-11-22

Family

ID=44697780

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071407 WO2012155570A1 (zh) 2011-05-18 2012-02-21 一种IPv6地址重复后自动恢复的方法、系统和节点

Country Status (2)

Country Link
CN (1) CN102209122A (zh)
WO (1) WO2012155570A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209122A (zh) * 2011-05-18 2011-10-05 中兴通讯股份有限公司 一种IPv6地址重复后自动恢复的方法、系统和节点

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945145A (zh) * 2010-09-10 2011-01-12 北京星网锐捷网络技术有限公司 地址状态处理方法、系统和网络节点
CN102209122A (zh) * 2011-05-18 2011-10-05 中兴通讯股份有限公司 一种IPv6地址重复后自动恢复的方法、系统和节点

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100495992C (zh) * 2007-08-30 2009-06-03 华为技术有限公司 用于地址冲突的重复地址检测方法及网络节点设备
CN101582888B (zh) * 2009-06-01 2012-04-18 杭州华三通信技术有限公司 一种创建邻居发现表项的方法和一种服务器

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945145A (zh) * 2010-09-10 2011-01-12 北京星网锐捷网络技术有限公司 地址状态处理方法、系统和网络节点
CN102209122A (zh) * 2011-05-18 2011-10-05 中兴通讯股份有限公司 一种IPv6地址重复后自动恢复的方法、系统和节点

Also Published As

Publication number Publication date
CN102209122A (zh) 2011-10-05

Similar Documents

Publication Publication Date Title
EP2362587B1 (en) Method and apparatus for realizing ARP request broadcasting limitation
WO2019184752A1 (zh) 网络设备的管理方法、装置及系统
CN1889579B (zh) 提高路由信息协议路由收敛速度的方法及装置
WO2011144495A1 (en) Methods and apparatus for use in an openflow network
WO2011060571A1 (zh) 一种地址重复检测代理方法、装置及系统
EP2399370B1 (en) Maximum transmission unit, MTU, size discovery method for data-link layers
WO2012159481A1 (zh) 一种路径最大传输单元发现方法和节点
WO2012075731A1 (zh) 基于arp交互的链路故障检测与恢复的方法和设备
JP2013258739A (ja) IPv6ネットワーク内ホスト遮断及び探索方法
US20120331542A1 (en) Preventing neighbor-discovery based denial of service attacks
CN101222513A (zh) 一种防止重复地址检测攻击的方法及网络设备
WO2013044827A1 (zh) 一种跟踪路由测试方法、系统、装置及设备
WO2009003394A1 (fr) Procédé d'étude d'adresse mac et élément de réseau
US20100027555A1 (en) Method for processing link state advertisement and routing device
JP4242876B2 (ja) ネットワークを構成するノード及びブリッジの位相検出方法及び装置
CN102347903B (zh) 一种数据报文转发方法、装置及系统
JP5321287B2 (ja) スイッチ装置、スイッチ制御方法
EP2429137B1 (en) Method, system and network device for node configuration and path detection
EP2736204B1 (en) Rendezvous Point Convergence Method and Apparatus
Nordmark et al. Neighbor unreachability detection is too impatient
WO2012155570A1 (zh) 一种IPv6地址重复后自动恢复的方法、系统和节点
JP6411262B2 (ja) 制御装置およびシステム
CN106034078B (zh) 一种减少pim协议dr变化的方法及系统
Luo et al. Research of neighbor discovery for IPv6 over low-power wireless personal area networks
WO2011044729A1 (zh) 通信网络中用于检测任意播组配置情况的方法和装置

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

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

Country of ref document: EP

Kind code of ref document: A1