Abstract:
The present invention discloses a method and network device for detecting IP address conflict. The method for detecting IP address conflict comprises: collecting all the ARP entries from a broadcasting network segment; and carrying out a data check on the ARP entries collected, and determining that there is an IP address conflicted when it is detected that there are ARP entries with the same IP address but different media access control (MAC) addresses. The network device includes a collecting module and a detecting module. The present invention may achieve the function of IP address conflict detection in a broadcasting network segment by employing one or several network devices and uses the ARP flexibly. The outer appearance of the ARP protocol is not changed, and the other devices in the broadcast network segment do not need to modify the protocol or provide special function support.
Abstract:
A method of load sharing, includes: extracting a factor field capable of distinguishing data flow in a packet header of the classified data flow, and taking the factor field as an input factor of a default load sharing algorithm of a network forwarding device interface, or taking the factor field as an input factor of a load sharing algorithm capable of uniformly allocating the data flows and selected according to the flow characteristic of the data flows, calculating the paths of the data flows, and forwarding the data flows according to respective paths. The method is used for increasing the expansibility of the network forwarding device and achieving load balancing.