长风1959

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

下载fping

http://www.fping.org/dist/fping-5.0.tar.gz

安装fping

# tar zxf fping-5.0.tar.gz 
# cd fping-5.0/
# ./configure --prefix=/opt/fping
# make
# make install
# vim /etc/profile.d/fping.sh
PATH=$PATH:/opt/fping/sbin
export PATH
# source /etc/profile

ping某个网段

# fping -a -g 192.168.20.0/24
192.168.20.1
192.168.20.2
192.168.20.60
………………………
ICMP Host Unreachable from 192.168.20.60 for ICMP Echo sent to 192.168.20.253

 

posted on 2022-07-11 16:44  长风1959  阅读(589)  评论(0编辑  收藏  举报