From http://www.cyberciti.biz/faq/mapping-lan-with-linux-unix-ping-command/