Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


Closed Thread
  Search this Thread
Old 04-15-2003, 11:39 AM   #1
Registered: Nov 2000
Posts: 368

Rep: Reputation: Disabled
Find out a remote mac address


this is probably a stupid question, but how can i find out a mac address of another host on my network based on its ip address?


Old 04-15-2003, 12:02 PM   #2
LQ Newbie
Registered: Apr 2003
Posts: 21

Rep: Reputation: 16
MAC addresses don't route, so the IP address would have to be of a host on your network. You may have to ping the IP first.
/sbin/arp -a
1 members found this post helpful.
Old 10-06-2008, 08:27 PM   #3
LQ Newbie
Registered: Dec 2006
Location: Bay Area, CA
Distribution: openSUSE 11.1
Posts: 14

Rep: Reputation: 0
Originally Posted by david_reno View Post
MAC addresses don't route, so the IP address would have to be of a host on your network. You may have to ping the IP first.
/sbin/arp -a
I know this is years later, but thank you, exactly what I was looking for.
Old 03-03-2009, 12:36 AM   #4
LQ Newbie
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
No i need to get code in c that gives the mac address of the given ip of my lan without getting it from arp cache.
Old 03-03-2009, 11:20 AM   #5
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
What's with the bizarro replies to other folks' (old) threads lately?

@manihiguy: Start a new thread. They obviously weren't replying to you, so why would you start things off with "No I need to..."
Old 05-05-2009, 03:17 PM   #6
The Lightning Stalker
LQ Newbie
Registered: May 2009
Posts: 9

Rep: Reputation: 0
Note to self: "Don't violate any forum rules."

Last edited by The Lightning Stalker; 05-05-2009 at 03:19 PM.

Closed Thread

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 07:55 AM
How to find IP address of a machine if I know their MAC Address dysenteryduke Linux - Networking 13 09-12-2005 10:21 AM
How to find MAC address of a specified IP address ? longtongfish Programming 1 07-12-2005 03:26 PM
remote administrating modems via MAC address instead of TCP/IP ID10T_error Linux - Networking 0 06-28-2004 11:27 AM
how to find IP if I have MAC address bojo Linux - Networking 3 11-29-2003 10:10 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:56 AM.

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
Open Source Consulting | Domain Registration