Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-30-2003, 11:18 PM   #1
LQ Newbie
Registered: Nov 2003
Distribution: Red Hat
Posts: 8

Rep: Reputation: 0
How to find an IP address from the MAC address of a remote machine ?

Hai all,

I am on the lookout for a command which will return the IP address of a machine if I give the MAC address as a parameter. Or is there such a command ?


Old 11-30-2003, 11:28 PM   #2
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30

arp -a will give ip/mac table.

Old 01-03-2006, 08:20 AM   #3
LQ Newbie
Registered: Jan 2005
Location: India
Distribution: Fedora Core 5
Posts: 6

Rep: Reputation: 0
$ arp | grep <MAC address you want>
Old 01-03-2006, 08:55 AM   #4
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
But be aware that if the machine is remote, the MAC address you see isn't necessarily the MAC address of the remote. MAC addresses are changed by the routers between you and the remote machine.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find out a remote mac address antken Linux - Networking 5 05-05-2009 04:17 PM
How to find IP address of a machine if I know their MAC Address dysenteryduke Linux - Networking 13 09-12-2005 11:21 AM
How to find MAC address of a specified IP address ? longtongfish Programming 1 07-12-2005 04:26 PM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 05:33 AM
How to know MAC address ( Machine address)?? vanhelsing Linux - Networking 3 08-12-2004 10:30 AM

All times are GMT -5. The time now is 03:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration