ICMP#
Have you ever used ping before? Some of you might have, especially if you've ever called up your ISP to diagnose issues with your home Internet connection.
Here's a GIF of me pinging an IPv4 address owned by Google:
Here's the command and output:
1 2 3 4 5 6 7 |
|
Pinging a system is utilising the ICMP protocol.
It's a utility protocol for handling errors and messages about the operations of a network, hosts and other things.
The ping
command is very likely something you're using to be running during your time creating networks in AWS and trying to debug connection issues between hosts.
Another command, called traceroute
, which uses ICMP by default on Windows (but uses UDP on Linux and Unix like operating systems.) Here's the output of me looking at a traceroute
to 8.8.8.8
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
Because I'm running Windows 10, I used tracert
to run a traceroute operation against 8.8.8.8
. What we have here in the list, above, are all the routers between my router, in my office, and Google's router that handles the IP 8.8.8.8
. Each one of these entries is a "hop" and so there are ten hops between me and Google's DNS server, 8.8.8.8
.
Now that's routing in action.