Is there a way to find out a computer's MAC address if we know its IP address, assuming this computer is outside our LAN? I know we can easily get the physical address of a computer in our LAN using getmac or arp in command prompt, but these commands don't work for other remote hosts.
IP Address – How to Find MAC Address of a Remote Computer Using IP
arpipip addressipv4mac address
Best Answer
Getting a MAC address requires the ability to get broadcast traffic.
ARP is a broadcast protocol and is therefore only available on a LAN.
Once traffic is routed you are unable to get the MAC address as it is stripped from the packet once it crosses the boundary of a router/L3 device.
Switches have a MAC table. Routers have a routing table, in general.
You can only get MAC addresses from a LAN.