How do ping packets get to the ping utility in a NATed network?
I did this test from two PCs at home that are connected to a typical SOHO router, so the router is doing Network Address Translation.
I pinged successfully an IP address from the two computers:
My doubt is, if ICMP doesn’t use port numbers, as it is only layer 3, how can the router send the replies to my computers?
My understanding of NAT is that the port numbers help the router identify the computer that initiated the Ping.
Any insights much appreciated.