I have a Macbook Pro connected to my LAN via its Airport.
I enabled Internet Sharing so that the Airport connection would be shared among any devices connected to the ethernet port of the MBP.
I plug a Raspberry Pi into the ethernet port of my MBP and boot it up.

1 Answer
1

Try pinging the broadcast address. This should work as long as the Pi got an IP from DHCP and responds to ping.

First, open up a terminal and run ifconfig en0. This should give you the info for your ethernet interface, if not, just use ifconfig and find it yourself. Make a note of the broadcast address. In my case, it's 192.168.2.255:

inet 192.168.2.99 netmask 0xffffff00 broadcast 192.168.2.255

So I'll run the command ping 192.168.2.255. Do the same with your broadcast address, and hit CTRL-C to stop the ping once you have some results:

The broadcast is intended to go out to everything on the network. Everything that hears it should respond. In my case, I only see my IP and my router's - I guess it didn't bother passing the request on to my other machines, but you're directly connected to the Pi so you should see it there.