![]() So if the computer is named "Jon's Mac" the hostname you'll use is something like "jons-mac.local". The hostnames are based on whatever name you've given the computer. ![]() ![]() Your Macs all have hostnames so you shouldn't need to know IP addresses. All the (DUP!)s are other machines and the local machine is easily identified as 127.0.0.1. You might also try the all-ones broadcast address: % ping -i 5 -c 2 255.255.255.255 The (DUP!) responses are from other machines (though this example also show some machine responding with the broadcast address itself, which is not terribly useful). The first and last response will almost always be your local machine. It will not find machines that are asleep, nor those configured to not respond to pings, nor those that will respond to pings but not to broadcast pings. ![]() Assuming all the other machines are in the same broadcast domain as the one to which you have access, pinging the broadcast address will often suffice. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |