fping探测局域网中存活的注册

~# fping -a -g 192.168.19.0 192.168.19.254  //第一个ip为探测开始ip  第二个为探测结束ip 

探测结果

192.168.19.1 // 存活的机器
192.168.19.2 // 存活的机器
192.168.19.129 // 存活的机器
ICMP Host Unreachable from 192.168.19.129 for ICMP Echo sent to 192.168.19.3 // 不存在的
ICMP Host Unreachable from 192.168.19.129 for ICMP Echo sent to 192.168.19.3
ICMP Host Unreachable from 192.168.19.129 for ICMP Echo sent to 192.168.19.6
ICMP Host Unreachable from 192.168.19.129 for ICMP Echo sent to 192.168.19.6
ICMP Host Unreachable from 192.168.19.129 for ICMP Echo sent to 192.168.19.5
ICMP Host Unreachable from 192.168.19.129 for ICMP Echo sent to 192.168.19.5
ICMP Host Unreachable from 192.168.19.129 for ICMP Echo sent to 192.168.19.4

猜你喜欢

转载自blog.csdn.net/a1044187112/article/details/85109778