Hi I want to set a reserved DHCP address for Home Assistant on my router. But to do this my router needs both the IP address and the Mac address. I know the current IP address. But I don’t know how to get the mac address? (And before anyone asks, yes I did search the forum (which only came up with a great many unrelated topics) and I did look under the ‘settings’ tab on Home Assistant.)
1 Like
In your router it should say.
But if you can’t find it there you can run this command
ip addr|grep 192.168.20.254 -B1
Where 192.168.20.254 is your ip address.
Or from another linux computer on your lan
arp 192.168.20.254
1 Like
Thanks. That helped.
Then please mark my post as the solution
2 Likes
Sorry for the silly question but where do i run the ip addr| command?
When I run it in my home assistant command line, I get the error :
unknown command “ip” for “ha”
At the ha >
prompt execute login
1 Like