Ip ip query occupation lead to unreasonable question to check IP address corresponding mac

IP conflict, with the same IP to the excess Taiwan machine, resulting in the case of IP does not make sense, at this time need to check which machines are configured with the IP, with arping command,

Specific commands like ping, direct arping + destination address, and if multiple network adapters, from which need to be performed by -I + card out of the card name, such as bond0, eth0 

Output in conflict as follows:

  

Mac then query response switch corresponding to a host, or all machines connected to the same node by batch command (usually the machine with the same node) corresponding to the mac address lookup.

Note that when the search mac address, the machine is lowercase, this pit is over.

Note: arping can only be found with the same cabinet or equipment room of a mac, the gateway to die.

 

arping man explained:

arping - send ARP REQUEST to a neighbour host

Arp send a request to the host neighbors, 

 

Description: the destination IP ping device, by sending arp packet, when the source address is specified by the source.

 

usage: 

 

Guess you like

Origin www.cnblogs.com/brucewhite/p/11606431.html