ICMP is a link layer protocol, ICMP message is triggered by the physical layer, and then respond by IP layer or a higher layer protocol.