title: Can I determine the current IP from a known MAC Address?
body: <p>I have a shell script which uses etherwake to wake up a machine on my local network.
  After the machine is awake, I'm not sure of the IP address.</p>
  
  <p>While trying to answer my own question I came up with:</p>
  
  <pre><code>ip=$(ping -c 1 hostname | head -1 | awk '{print $3}' | sed 's/[()]//g')
  </code></pre>
  
  <p>This solution stipulates that I know the hostname of the remote machine, which isn't so onerous. </p>
  
  <p>Is there a way to get the IP if all I know is the MAC address?</p>