When I pinged my instance via Cloudshell, I got 350 packets transmitted. In the lab video, only 3 were transmitted. What determines how many times it will ping your instance?
ping command behaves differently between Linux and Windows. On a Windows host, it will only send 4 ICMP packets by default for each execution, unless you specify an amount. On a Linux host however,
ping will continuously send ICMP packets until you cancel the command, unless you specify an amount.
If you do a
ping from Cloud Shell (it’s a Linux host), add
-c follow by the number of packet you want
ping to send. For example:
ping -c 10 www.google.com
will send 10 packets to google.com and then stop.