На одном терминале:
Код: Выделить всё
ping 10.0.200.28 -I enp6s0
Код: Выделить всё
sudo tcpdump -i enp6s0 -e -n icmp -vvv
tcpdump: listening on enp6s0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
Код: Выделить всё
sudo tcpdump -i any -e -n icmp -vvv
tcpdump: data link type LINUX_SLL2
tcpdump: listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes
10:25:40.022237 lo In ifindex 1 00:00:00:00:00:00 ethertype IPv4 (0x0800), length 132: (tos 0xc0, ttl 64, id 49916, offset 0, flags [none], proto ICMP (1), length 112)
10.0.200.57 > 10.0.200.57: ICMP host 10.0.200.28 unreachable, length 92
(tos 0x0, ttl 64, id 48182, offset 0, flags [DF], proto ICMP (1), length 84)
10.0.200.57 > 10.0.200.28: ICMP echo request, id 48, seq 1, length 64
10:25:40.022252 lo In ifindex 1 00:00:00:00:00:00 ethertype IPv4 (0x0800), length 132: (tos 0xc0, ttl 64, id 49917, offset 0, flags [none], proto ICMP (1), length 112)
10.0.200.57 > 10.0.200.57: ICMP host 10.0.200.28 unreachable, length 92
(tos 0x0, ttl 64, id 48423, offset 0, flags [DF], proto ICMP (1), length 84)
10.0.200.57 > 10.0.200.28: ICMP echo request, id 48, seq 2, length 64
10:25:40.022262 lo In ifindex 1 00:00:00:00:00:00 ethertype IPv4 (0x0800), length 132: (tos 0xc0, ttl 64, id 49918, offset 0, flags [none], proto ICMP (1), length 112)
10.0.200.57 > 10.0.200.57: ICMP host 10.0.200.28 unreachable, length 92
(tos 0x0, ttl 64, id 48620, offset 0, flags [DF], proto ICMP (1), length 84)
10.0.200.57 > 10.0.200.28: ICMP echo request, id 48, seq 3, length 64
10:25:43.094205 lo In ifindex 1 00:00:00:00:00:00 ethertype IPv4 (0x0800), length 132: (tos 0xc0, ttl 64, id 50018, offset 0, flags [none], proto ICMP (1), length 112)
10.0.200.57 > 10.0.200.57: ICMP host 10.0.200.28 unreachable, length 92
(tos 0x0, ttl 64, id 48753, offset 0, flags [DF], proto ICMP (1), length 84)
10.0.200.57 > 10.0.200.28: ICMP echo request, id 48, seq 4, length 64
Подробнее здесь: https://stackoverflow.com/questions/797 ... ain-device