View Full Version : need to view MAC addresses of connected device
jackl79
Mar 23, 2005, 11:07 AM
Any idea how to view the mac address of connected devices.......
my mac is set to share its ethernet connection via airport but who is connected?
Bear
Mar 23, 2005, 11:18 AM
In terminal type "arp -a" it will list all the MAC addresses that your computer knows about - which implies things that your computer is currently talking to since the arp table entries expire.
jackl79
Mar 23, 2005, 11:25 AM
thats great i found it however it isnt a full mac address
eg xx:xx:xx:xx:xx:xx
what do i have to do to if its 0:8:3D:xx:xx:xx is it 00:00:3D etc??
Have fixed it :- Just add a 0 at the start of each of the : marks :)
Thanks again!
Bear
Mar 23, 2005, 11:55 AM
thats great i found it however it isnt a full mac address
eg xx:xx:xx:xx:xx:xx
what do i have to do to if its 0:8:3D:xx:xx:xx is it 00:00:3D etc??
Have fixed it :- Just add a 0 at the start of each of the : marks :)
Thanks again!Yup, some programs drop printing the first digit in each octet if it's a zero.
daveL
Mar 23, 2005, 12:23 PM
Just to add to bear's info, arp maintains a cache of ip<->mac addresses. If a node on the local network hasn't been active lately, while others have, it may drop out of the cache. If you want to see every node that has a link up, you can 'ping' your network's broadcast address, then do the 'arp -a' command. This should give you ever node.
yellow
Mar 23, 2005, 12:33 PM
And to daveL and Bear's posts, I would also like to add that your arp cache won't contain any entries for machines beyond your subnet.
At least it shouldn't. Routers aren't supposed to pass that kind of info to computers, only to each other.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.