Knowing the IP address you need to know the MAC address of the computer.
- The task is formulated too generally. Specify. Nuzheo know your poppy? Or a stranger? Computer in which networks are located? Admin rights on the local machine have? Etc. - gecube
- The network is local. MAC of someone else's machine. Admin right there. - mbv
|
1 answer
On I do not know, and so there is a command arp -a
It prints MAC and IP matches from the arp table. Therefore, you can find out the MAC and only the local (before the router) network segment. It does not print its MAC.
UPD
No one in the forum apparently knows for sure. Googled a bit and maybe it will be useful for you.
http://www.unix.com/programming/143063-siocgarp-display-entire-arp-table.html
At once I will say - this is from Linux, and you probably have Winda. But you can still dig in the direction of the analog for ioctl SIOCGARP.
|