Introducing Multiping: An Easy Way to Ping Multiple Hosts

Yet another day with 8% packet loss from Comcast, it seems. In a fit of frustration, I spent half an hour and wrote a tool that can be used to ping multiple hosts at the same time, for the purpose of making sure that the problem isn't external to Comcast's network.

Here's how to install it:

git clone git@github.com:dmuth/unix-utils.git

Here's how to use it:

./multiping google.com xe-3-1-3-0-ar03.newcastle.de.panjde.comcast.net

xe-3-1-3-0-ar03.newcastle.de.panjde.comcast.net is a router on Comcast's network which is upstream of myself and one of my neighbors, whom is experiencing the same issue.

And here's what the output looks like:

google.com: icmp_seq=33 ttl=55 time=16.950 ms
xe-3-1-3-0-ar03.newcastle.de.panjde.comcast.net: icmp_seq=33 ttl=61 time=14.612 ms
xe-3-1-3-0-ar03.newcastle.de.panjde.comcast.net: icmp_seq=34 ttl=61 time=14.525 ms
google.com: Request timeout for icmp_seq 34
google.com: icmp_seq=35 ttl=55 time=17.031 ms
xe-3-1-3-0-ar03.newcastle.de.panjde.comcast.net: icmp_seq=35 ttl=61 time=13.550 ms
google.com: icmp_seq=36 ttl=55 time=14.822 ms
xe-3-1-3-0-ar03.newcastle.de.panjde.comcast.net: icmp_seq=36 ttl=61 time=13.404 ms
google.com: icmp_seq=37 ttl=55 time=15.275 ms
xe-3-1-3-0-ar03.newcastle.de.panjde.comcast.net: icmp_seq=37 ttl=61 time=12.806 ms
^C
xe-3-1-3-0-ar03.newcastle.de.panjde.comcast.net: 
xe-3-1-3-0-ar03.newcastle.de.panjde.comcast.net: --- xe-3-1-3-0-ar03.newcastle.de.panjde.comcast.net ping statistics ---
xe-3-1-3-0-ar03.newcastle.de.panjde.comcast.net: 62 packets transmitted, 61 packets received, 1.6% packet loss
xe-3-1-3-0-ar03.newcastle.de.panjde.comcast.net: round-trip min/avg/max/stddev = 9.643/25.537/67.840/13.208 ms
google.com: 
google.com: --- google.com ping statistics ---
google.com: 62 packets transmitted, 61 packets received, 1.6% packet loss
google.com: round-trip min/avg/max/stddev = 14.782/27.874/65.475/10.500 ms

Only 1.6% packet loss? That's actually one of the better pings this evening. But at least now I have something I can send off to ComcastCares. (And for you nerds out there, yes I checked my modem's status page and made sure it wasn't reporting any errors on the physical cable.)

I hope folks find the utility useful--please like/favorite/+1 this post if you. And if there are any questions, feel free to leave a comment below!

3.615385
Average: 3.6 (13 votes)
Your rating: None