The Mac Observer

Converting an IP Address to a Manufacturer

March 31st, 2009 at 1:45 PM - How-To by John Martellaro

Occasionally, one discovers what may appear to be a rogue or unidentified device on the local home network. The IP address is known, but little else. This HOWTO shows one way to convert that IP address to a MAC address, then a manufacturer.

Recently, Little Snitch, a security tool, threw up a notice about something odd happening with one of my devices. (I'm still working on figuring that part out with the help of Cocoatech Support, maker of Path Finder. Note: 4/1/2009: turns out to be an aggressive Samba search by Path Finder --- something that can be suppressed in PF's preferences.) By the way, Little Snitch is a tool I highly recommend. Anyway, here's the dialog I got.

Little Snitch

Little Snitch Doing Its Job -- And Creating a Mystery

My first question was, "What MAC address is this?" The MAC address is the Media Access Control (MAC) address assigned according to the Institute of Electrical and Electronics Engineers (IEEE) standard for identifying Ethernet devices. The hexadecimal number is in the form XX:XX:XX:YY:YY:YY where XX:XX:XX identifies the manufacturer and YY:YY:YY identifies the device ID assigned by the manufacturer. XX or YY ranges from 00 to hexadecimal FF (0 to 255)

For example, the leading XX:XX:XX of 00:22:41 is assigned to Apple. Even though there can be 256^3 = 16.7 million devices per manufacturer code, many companies like Apple need more than one of the manufacturer codes. For example, Apple also has: 00:21:E9. And many others in fact.

Dumping the ARP Cache

Sounds cool, huh? If you can dump you computer's ARP cache, then you've achieved guru status. The way to do this is to open the Terminal app and ping the suspicious IP address. As an analogy, think of that as something like a submarine sending out a sonar ping. It bounces off the target and returns information.

$  ping 192.168.1.2

Hit CTRL-C to stop after a few seconds. When your UNIX system pings the other device, it's really using the MAC addresses. You can dump that ping information with the following command in the Terminal:

$  arp -a

Arp Cache

When you do this, you may also see other devices that have communicated recently. Now we know the MAC address of the device with IP address 192.168.1.2, and it starts with 00:22:41. (I've obscured some of the data with a red block for the sake of privacy.)

The next step is to go the IEEE Standards Association Website that has the "Organizationally Unique Identifier" (OUI) database and enter the first three hex codes, with the colons replaced by dashes:

IEEE OUI

Convert 00:22:41 to 00-22-41 and Enter in Search Field

When I did that, the results came back as follows:

Apple ID

That assured me that the device in question was indeed an Apple product. Once I realized that, I looked for other Apple products in my office. It turned out to be an iPhone.

Researching Your Network

Recently, I made a list of all my MAC addresses for equipment I own, but I forgot to add the MAC address of the iPhone. So when I saw a mysterious MAC address, I got curious and decided to dig further. Using the techniques above really helped.

Finally, there is a Mac OS X GUI app called IP Scanner from 10base-t-interactive Software that will show you all the devices on your network and also reveal the MAC address. It is a bit on the expensive side (US$30) but it's great for users who don't feel comfortable on the command line. I found it to be a little bit buggy as well. Also, it will not look up the OUI code, so you'll still have to do that yourself.

This technique can also come handy when you're trying to identify some of your HDTV components, if you've added them to your LAN. Sometimes, manufacturers of TV equipment aren't so forthcoming or experienced as they add Ethernet capability to their TV devices. For example, I have a Samsung device with Ethernet, but the company doesn't (choses not to) supply the MAC address. Some investigation is then required using the above techniques.

  • Related Entries
  • Email This
  • Tweet This
  • John Martellaro on Twitter

1 Observer Comment

Great tip! very cool stuff..

Page 1 of 1 pages
Login. Need an account? Register here.



Auto-login on future visits

Show my name in the online users list

Forgot your password?


Commenting is not available in this section entry.
 

Recent Headlines - Updated November 8th

Sun, 11:59 AM
Mac Geek Gab Podcast - MGG 226: Magic Mouse, Apple Battery Secrets, Q&A
Sat, 7:58 PM
News - Apple TV 3.0.1 Update Fixes Missing Content Bug
Fri, 7:45 PM
Rumor - Taiwan Leak Shows Verizon UTMS/CDMA iPhone for Q3 2010
6:40 PM
News - iPhone Moves Into RadioShack
6:30 PM
News - Apple to Open Stunning Paris Apple Store in Le Louvre on Saturday
5:43 PM
Free on iTunes - Dictionary, Dictionary, Dictionary, And More
4:09 PM
John Martellaro's Blog - Particle Debris (week ending 11/6) Failure IS an Option
3:32 PM
Games - The Latest App Store Games: Gravity Sling, RocketBird, Ground Effect, Checkers!
2:25 PM
Games - Star Soccer 2010 for Mac Puts Gamers in Role of Up-and-Coming Player
2:15 PM
How-To - The Mysteries of Rosetta Housekeeping
1:33 PM
News - iPhone Game Developer Sued for Collecting User’s Cell Numbers
1:17 PM
Games - Warhammer Online Expands Trial Play Option
 

The Mac Observer Reader Specials

  • TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com
  • RamJet Memory: Mac Pro 8-core 8GB Kit $199.99, 4GB Kits $109.99! Sale on MacBook and MacBook Pro 8GB kits $549.99! New MacBook DDR3 2GB for $49.99. iMac and Mac mini 4GB Kits for $79.99! 1TB SATA Hard Drives for $109.99! Click here
  • OWC: We Make DIY Upgrading Easy! Maximize your Apple MacBook / MacBook Pro. Up to 8.0GB Memory, up to 1.0TB HD & More. Easy Guide + Free, Detailed Installation Videos. Click here
  • Poker Mac If you're using a Mac, then you've gotta check out Full Tilt Poker for Mac. This Full Tilt Poker bonus code does the unthinkable, it actually rewards!
  • For the latest Apple products use Ciao, a price comparison website, to find laptops like MacBook Air. Then find the best prices on MP3 players and use our comparison tool to evaluate mobile phones like the Apple iPhone.

  • Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
  • Buy Stuff, Support TMO!
  • __________
  • Macworld Expo 2010 Hotel Deal
  • TMO on Twitter!

Apple Stock Quote

  • AAPL: $194.34. Change: +0.3099.
  • (Prices delayed up to 20 minutes.)
  • Discuss in our Apple Finance Board

Hot Topics

TMO Express

Join the TMO Express Daily Newsletter to get the latest Mac headlines in your e-mail every weekday. Find out more!

Top Deals From DealBrothers.com

Recent Features