User Tools

Site Tools


утилиты_для_тестирования_сети

This is an old revision of the document!


Утилиты для тестирования сети

ping

http://ftp.arl.mil/~mike/ping.html

debian# apt install iputils-ping

$ ping -f 172.16.1.254

freebsd_sh$ ip=172.16.1.123; ping -c 1 -W 500  $ip >/dev/null ; arp -an | grep $ip
linux$ ip=172.16.1.254; ping -c 1 -W 1  $ip >/dev/null ; ip n | grep $ip

$ ping -i 0.1 172.16.1.254

$ ping -c 1 -D -s 1472 ya.ru

tcpdump

linux# tcpdump	-i any -n

tcpdump	-vn

tcpdump	-i em0 -n -s0 -A "port 21 and host 172.16.1.X"

tcpdump	-nei em0 ether src 00:0c:29:c5:07:8f

tcpdump	-w file.dump -s0 "port 21 and host 172.16.1.X"

tcpdump	-n -r file.dump -s0 -A

tcpdump	-n ip and 'ip[8]=127'   # ttl

traceroute/tracepath

traceroute -n ya.ru

tracepath -n ya.ru

DNS

Тестирование производительности

ttcp

iPerf

утилиты_для_тестирования_сети.1549351805.txt.gz · Last modified: 2019/02/05 10:30 by val