The command below will ping the ip address three times and for each response, your default OS X alert sound will play.  The -a flag in the command below means Audible.  And if not obvious, the -c means ping count.

ping -c3 -a 192.168.1.100