need to view MAC addresses of connected device

Discussion in 'General Mac Discussion' started by jackl79, Mar 23, 2005.

  1. jackl79 macrumors newbie

    Joined:
    Mar 8, 2005
    #1
    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?
     
  2. Bear macrumors G3

    Joined:
    Jul 23, 2002
    Location:
    Sol III - Terra
    #2
    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.
     
  3. jackl79 thread starter macrumors newbie

    Joined:
    Mar 8, 2005
    #3
    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!
     
  4. Bear macrumors G3

    Joined:
    Jul 23, 2002
    Location:
    Sol III - Terra
    #4
    Yup, some programs drop printing the first digit in each octet if it's a zero.
     
  5. daveL macrumors 68020

    daveL

    Joined:
    Jun 18, 2003
    Location:
    Montana
    #5
    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.
     
  6. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #6
    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.
     

Share This Page