NetAddr

http://www.searchdatabase.com.cn/showcontent_66349.htm   【techTarget中国,其专注于IT领域企业级高端市场,为IT专业技术人员和管理决策人员提供信息技术资源的IT专业媒体。公司创建于 1999年,总部位于美国】

用tcpdump/wireshark抓包,有的时候需要知道局域网的在线ip及MAC我们就需要用到fping及简单 的shell脚本来帮我忙了!

fping 有强大的文本读取功能,-f filename

for i in `seq 1 254`;do echo 192.168.1.$i;done>>ips.txt

fping -f ips.txt>>res.txt

cat res.txt|grep ls alive;

arp -a;

fping -a -g 172.19.148.1 172.19.148.255 -s -n  >hosts;

原文地址:https://www.cnblogs.com/ruiy/p/captureP.html