Can I determine the current IP from a known MAC Address?

后端 未结 7 436
难免孤独
难免孤独 2021-02-01 03:06

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.

While trying to answer

7条回答
  •  暖寄归人
    2021-02-01 03:33

    I know is old, but the simplest way in linux is:

    arp -a | grep "00:1E:C9:56:3C:8E"
    

    The point of this is to ignore if is connected in one or another network meanwhile each device can see each other.

提交回复
热议问题