Find the answer to your Linux question:
Results 1 to 5 of 5
Hi guys...how can i do a mac address lookup? I have a remote IP address but i cant seems to figure out how can i get its mac address remotely? ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    2

    mac address lookup

    Hi guys...how can i do a mac address lookup? I have a remote IP address but i cant seems to figure out how can i get its mac address remotely? Please help..

  2. #2
    Linux Newbie
    Join Date
    Aug 2006
    Posts
    107
    You want to get the mac address of a different machine than the one you are sitting at and you have the ip address already? Is that right?

    If so, check out the arp command, I think that should do it.

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    2
    in order to use arp on a remote ip address doesn't that ip address should have the same network mask as the one that you have in order for you to use arp to get its mac address?

  4. #4
    Linux Newbie
    Join Date
    Aug 2006
    Posts
    107
    arp has to be local

  5. #5
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    I have a remote IP address but i cant seems to figure out how can i get its mac address remotely?
    Try
    Code:
    # nmap -O -T5 remote-host-here
    (The first option is an 'O' as in 'Orbit', not a zero.) That'll give you lots of information - including MAC address of the external interface.

    Make sure you notify the maintainer of that machine before you start scanning it so that you don't unnecessarily alarm someone.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •