标签:网络
指定源地址# tcpdump -i eno1 src 10.x.x.x
指定目的地址
# tcpdump -i eno1 dst 10.x.x.x
抓ping包: ICMP (指定协议类型,类似的还有arp, rarp, ip)
# tcpdump -i eno1 icmp
抓DHCPv4的包:指定端口
# tcpdump -i virbr0 'udp and port 67 and port 68'
tcpdump的详细用法:
http://www.cnblogs.com/yc_sunniwell/archive/2010/07/05/1771563.html
标签:网络
原文地址:http://blog.51cto.com/11527071/2127081