Look in the Application/Utilities folder
You'll find an application called Network Utility.app
This has ping, traceroute and several other tools under a simple interface
Alternatively you can run a wide range of network commands via the Terminal application as standard UNIX commands