In order to get all hosts on the network run the following command:

arp -a

This works on all OS's and will give you the ip addresses of all hosts on the network like this: