traceroute

root@srv6:~# traceroute -p 1053  10.10.16.82
traceroute to 10.10.16.82 (10.10.16.82), 30 hops max, 60 byte packets
 1  _gateway (10.10.18.254)  6.265 ms  6.500 ms  7.103 ms
 2  10.10.16.82 (10.10.16.82)  0.265 ms  0.235 ms  0.242 ms
root@srv6:~# 
root@ubuntu:/home/ubuntu# tcpdump -i enahisic2i0 host 10.10.18.156 -env 
tcpdump: listening on enahisic2i0, link-type EN10MB (Ethernet), capture size 262144 bytes
22:16:07.995662 f4:1d:6b:87:53:2a > 48:57:02:64:e7:ab, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 1, id 18344, offset 0, flags [none], proto UDP (17), length 60)
    10.10.18.156.55837 > 10.10.16.82.1056: UDP, length 32
22:16:07.995677 f4:1d:6b:87:53:2a > 48:57:02:64:e7:ab, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 1, id 18345, offset 0, flags [none], proto UDP (17), length 60)
    10.10.18.156.59145 > 10.10.16.82.1057: UDP, length 32
22:16:07.995697 48:57:02:64:e7:ab > f4:1d:6b:87:53:2a, ethertype IPv4 (0x0800), length 102: (tos 0xc0, ttl 64, id 63161, offset 0, flags [none], proto ICMP (1), length 88)
    10.10.16.82 > 10.10.18.156: ICMP 10.10.16.82 udp port 1057 unreachable, length 68
        (tos 0x0, ttl 1, id 18345, offset 0, flags [none], proto UDP (17), length 60)
    10.10.18.156.59145 > 10.10.16.82.1057: UDP, length 32
22:16:07.995703 48:57:02:64:e7:ab > f4:1d:6b:87:53:2a, ethertype IPv4 (0x0800), length 102: (tos 0xc0, ttl 64, id 49067, offset 0, flags [none], proto ICMP (1), length 88)
    10.10.16.82 > 10.10.18.156: ICMP 10.10.16.82 udp port 1056 unreachable, length 68
        (tos 0x0, ttl 1, id 18344, offset 0, flags [none], proto UDP (17), length 60)
    10.10.18.156.55837 > 10.10.16.82.1056: UDP, length 32
22:16:07.995711 f4:1d:6b:87:53:2a > 48:57:02:64:e7:ab, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 1, id 18346, offset 0, flags [none], proto UDP (17), length 60)
    10.10.18.156.45979 > 10.10.16.82.1058: UDP, length 32
22:16:07.995717 48:57:02:64:e7:ab > f4:1d:6b:87:53:2a, ethertype IPv4 (0x0800), length 102: (tos 0xc0, ttl 64, id 63162, offset 0, flags [none], proto ICMP (1), length 88)
    10.10.16.82 > 10.10.18.156: ICMP 10.10.16.82 udp port 1058 unreachable, length 68
        (tos 0x0, ttl 1, id 18346, offset 0, flags [none], proto UDP (17), length 60)
    10.10.18.156.45979 > 10.10.16.82.1058: UDP, length 32
22:16:07.995726 f4:1d:6b:87:53:2a > 48:57:02:64:e7:ab, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 2, id 18347, offset 0, flags [none], proto UDP (17), length 60)
    10.10.18.156.51115 > 10.10.16.82.1059: UDP, length 32
22:16:07.995864 f4:1d:6b:87:53:2a > 48:57:02:64:e7:ab, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 4, id 18355, offset 0, flags [none], proto UDP (17), length 60)
    10.10.18.156.45781 > 10.10.16.82.1067: UDP, length 32
原文地址:https://www.cnblogs.com/dream397/p/13689721.html