Possible duplicates:how to find the MAC address in MAC OS X programmatically?How to request ARP table on iPhone?
How can I get the MAC address of another device or computer if I know its IP address?
For example, I have:
NSString * ip = @"192.168.1.1";
ARP ( ) . arp -a ARP, IP- (MAC-). OSX ARP , , , MAC-: , sysctl -, ? :" MACOSX (), , ...
arp -a
sysctl
OSX arp http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man4/arp.4.html: system IP-.
arp
system