Each host on each network has an IP address. If the IP address conflicts, the network connection will not be connected or dropped. Then how to query the IP address conflict? The following small series will tell you how Linux uses the arping command to detect IP address conflicts. Let's take a look at it.
In the example below: arping -c 3 -f -D * * * * (* * * * IP address...) returns
192.168.2.222... Empty, indicating that this IP address is not occupied by the LAN.
192.168.2.106 returns 1, indicating that this IP address is already occupied, and receiving a reply can see the mac address of the terminal bound to the IP.
Arping Command Details:
Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] ip address
Parameters:
-A ARP reply mode, update neighbors
-b keep broadcast
-D copy address detection mode
-f get the first Exit with a reply
-q Do not display warning message
-U Active ARP mode, update neighbor
-c "Number of packets" Packet sent Number of
-w "Timeout" Setting the timeout period
-I "Network Card" Using the specified Ethernet device, by default eth0
-s specifies the source IP address
-h Display help information
-V Display version information
The above is how Linux uses the arping command to detect ip address conflicts. This article introduces Commands to detect ip conflicts, and other tools to detect.
Usually, the Ubuntu system hard disk will not make a sound when it is read. If the
Debian is a kind of Linux system, some people think that Debians graphical interface is not good, th
There is no rc.local in SUSE Linux 10, you want to use it you have to write an rc script file in the
LILO files can help coexist with multiple operating systems in Linux. With LILO fil
How to use the Linux system swap and zram swap?
RPM Software Package Operation Guide
Linux how to delete the replacement variable value
Linux system iNode exhausted hard disk can not write files how to do?
Linux system how to create a scheduled task with crontab
Red Flag Linux Desktop 5 How to Use SAPGUI Client
Linux find naming fast find poisoning file operation example
Ubuntu system pinyin can not correctly type how to solve?
What if Ubuntu 13.10 can't start VirtualBox?
CentOS closes Ctrl+Alt+Del to restart shortcuts
Linux folder file creation, deletion
The official version of Win10 Mobile will be released in November
Windows10 system how to view the memory model
Windows 7 RC version expiration notification process
Win10 system edge browser stealth mode where
How do I restore photos downloaded from MSN to their original size?
How to change the win7 system computer folder into an exe file? How to change the
Windows7 is under pressure. Microsoft hopes that "light system" can occupy light terminals