ICMP, ping, traceroute e ARP: non confondere rete e trasporto
ICMP segnala condizioni di rete e ARP risolve IPv4 in MAC sul collegamento locale.
Spiegazione
ICMPv4 è nel payload IPv4 (Protocol 1), senza porte TCP/UDP; Echo Request Type 8 Code 0 ed Echo Reply Type 0 Code 0. Destination Unreachable e Time Exceeded aiutano diagnosi e PMTU. Traceroute usa TTL crescenti e risposte ICMP, con sonde UDP, ICMP o TCP secondo implementazione. ARP è direttamente in Ethernet (0x0806), non ha header IP, risolve il MAC del prossimo hop nella LAN IPv4. IPv6 usa Neighbor Discovery basato su ICMPv6, non ARP. Ping bloccato non implica che HTTPS sia inattivo.
Esempio
Prima di raggiungere il gateway IPv4, il client può inviare ARP broadcast. Poi invia Echo Request IP/ICMP al destinatario. Il router non inoltra il broadcast ARP.
Fonte e approfondimento
RFC 792Esercitazioni dell'area
- ISO/OSI · Protocol stack e Packet InspectorIntermedio · Infrastructure Workbenches · 35 min
- Gestione disco · WindowsIntermedio · Infrastructure Workbenches · 25 min
- Active Directory · File serverIntermedio · Infrastructure Workbenches · 30 min
- Routing inter-VLAN · Network operationsIntermedio · Infrastructure Workbenches · 30 min
- Windows: ripristina la risoluzione DNSBase · Windows e diagnostica · 25 min