1, [root@10.123.99.10 mytestcode]# tcpdump -i eth0 host 10.123.99.10 and \(10.123.99.11 or 10.123.99.12 \)-w test.cap
2,在10.123.99.11上ping这台机即可看到抓包文件,查看cap文件使用wiresharh软件
1, [root@10.123.99.10 mytestcode]# tcpdump -i eth0 host 10.123.99.10 and \(10.123.99.11 or 10.123.99.12 \)-w test.cap
2,在10.123.99.11上ping这台机即可看到抓包文件,查看cap文件使用wiresharh软件
Leave a Reply