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

后端 未结 7 421
难免孤独
难免孤独 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:29

    I would simply use

    ip neighbor | grep "00:1E:C9:56:3C:8E" | cut -d" " -f1
    

提交回复
热议问题