一种IP地址冲突检测方法和设备技术

技术编号:6070266 阅读:317 留言:0更新日期:2012-04-11 18:40
本发明专利技术实施例提供一种互联网协议IP地址冲突检测方法和设备,所述方法包括:接收地址解析协议ARP报文;如果收到的所述ARP报文的源IP地址和某条ARP表项的IP地址相同,则发送至少一条ARP请求报文,其中,所述至少一条ARP请求报文的目的IP地址为所述ARP表项的IP地址;根据对所述ARP请求报文的响应情况判断网络中是否存在IP地址冲突。本发明专利技术实施例提供的IP地址冲突检测方法通过发送ARP请求报文主动检测网络中可能存在的IP地址冲突,以及时得知网络中存在的IP地址冲突,使得可以在网络中发生IP地址冲突时采取相应的操作从而避免正常的网络通信受到影响,提高了网络的可靠性。

Method and device for detecting IP address collision

The embodiment of the invention provides an internet protocol IP address conflict detection method and device, the method comprises: receiving a ARP message; if the source IP address of the received ARP message and a ARP item of the same IP address, then send at least one ARP request message, wherein, the the at least one ARP request message to the IP address to the ARP table of the IP address; and determine whether there is IP address conflict in the network according to the response to the ARP request message. IP address conflict detection method provided by the embodiment of the invention by sending the ARP request message active detection of possible IP address conflict in the network, IP address conflicts existing in the network and that, which can IP address conflict in the network when you take action in order to avoid the normal network communication is affected, improve the reliability of the network.

【技术实现步骤摘要】

【技术保护点】
1.一种互联网协议IP地址冲突检测方法,其特征在于,所述方法包括:接收地址解析协议ARP报文;如果收到的所述ARP报文的源IP地址和某条ARP表项的IP地址相同,则发送至少一条ARP请求报文,其中,所述至少一条ARP请求报文的目的IP地址为所述ARP表项的IP地址;根据对所述ARP请求报文的响应情况判断网络中是否存在IP地址冲突。

【技术特征摘要】

【专利技术属性】
技术研发人员:朱晓贾海强
申请(专利权)人:华为数字技术有限公司
类型:发明
国别省市:11

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1