What OSI layer is ping?
Answer: The PING command: The ping command uses the services of the Internet Control Message Protocol (ICMP), the latter being encapsulated in the IP header. Therefore, the ping utility operates basically on layer 3 (the Network layer) of the OSI model. It does not use the services of the Transp...
https://www.quora.com/What-OSI-layer-is-ping