Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find out MAC Adress from an IP

Status
Not open for further replies.

lukelukeluke

Technical User
Dec 23, 2003
117
CH
Hi there,
I been working on a php/web project.

Now I wonder if there is any way to find out the mac address from someone you know the ip. Not with php but generally...
I wanted to integrate a user-block system by mac address...

Any ideas?
 
If you're searching for stuff, the keyword is ARP/ Address Resolution Protocol.

MAC addresses are non-routed: they're only available to the local subnet. To discover a MAC address you must be on the same subnet, or have software which runs on the target machine or a machine on the same subnet.

A typical trick for a one-time find the MAC is to ping the target IP, and then examine your machine's MAC cache. I'm sure more practical PHP solutions exist!

<marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top