The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Networking (http://hintsforums.macworld.com/forumdisplay.php?f=14)
-   -   Can I obtain Mac Address of other Macs on my home network...? (http://hintsforums.macworld.com/showthread.php?t=99047)

theMouthPiece 02-20-2009 09:24 AM

Can I obtain Mac Address of other Macs on my home network...?
 
Hi All

I want to be able to control availability of internet access on some Macs on my home network. I appreciate I can go to the Mac and obtain the Mac Address from Airport Utility, but am I able to get the Mac Address for a machine when they are actually connected to the home network...?

Is this possible...?

Ta

fishmonkey 02-20-2009 09:33 AM

you should be able to find the MAC addresses of all connected devices somewhere in the configuration interface for your router...

theMouthPiece 02-20-2009 09:36 AM

Hmmmm, I have looked but I can't see them. I have the Apple Airport Extreme router, any ideas?

fishmonkey 02-20-2009 09:48 AM

oh yeah, the AEBS is a pain like that... i wonder if there is some hidden way of finding that info from the Airport Utility?

someone with better networking chops than me may well chime in with a better way to do this, but here are a couple of ways i can think of right now:

you can use the Network Utility (use the Netstat tab to display the routing table information)...

a more user-friendly way is to use the IP Scanner app from 10base-t
http://10base-t.com/macintosh-software/ip-scanner/

hayne 02-20-2009 10:04 AM

I'm not sure this is what you mean, but you can see the MAC addresses of all machines (Mac or not) that are connected wirelessly to your Airport base station in the "Wireless Clients" tab of the page you get via the "Logs and Statistics" button in the "Advanced" section of Airport Admin utility.

fishmonkey 02-20-2009 10:10 AM

i'm using Airport Utility 5.3.2, and i can't find a "Wireless Clients" tab anywhere...

hayne 02-20-2009 10:19 AM

Quote:

Originally Posted by fishmonkey (Post 520206)
i'm using Airport Utility 5.3.2, and i can't find a "Wireless Clients" tab anywhere...

Do you have an "Advanced" section in your Airport Utility?
(My Airport Utility is also version 5.3.2. I'm using OS X 10.5.6. My base station is a Time Capsule.)

ataraxia 02-20-2009 10:49 AM

This probably won't help in this case, but you can see the MACs of every machine that your machine can see directly (hub style rather than switch) by doing "arp -a" in a Terminal.

In the case of a switched network, you will just see the router(s), which isn't very useful.

styrafome 02-20-2009 03:18 PM

WakeOnLan probably shows all those MAC addresses in its list.

ElectricSheep 02-20-2009 04:02 PM

Quote:

Originally Posted by ataraxia (Post 520214)
This probably won't help in this case, but you can see the MACs of every machine that your machine can see directly (hub style rather than switch) by doing "arp -a" in a Terminal.

In the case of a switched network, you will just see the router(s), which isn't very useful.

This isn't true.

If you're machine has communicated with any other host on the local segment, there will be an entry for it in the arp table.

One quick way to 'warm up' the arp table is to issue a ping to the entire network, but this assumes that the other hosts will actually reply to ICMP echo requests.

NaOH 02-20-2009 05:44 PM

Here's an alternate route to what hayne suggested.

Open Airport Utility and double-click on the left-side icon for the Airport Extreme.

In the summary that opens, click on the words "Wireless Clients." You'll see a list of every MAC address on your network in the window that opens.

fishmonkey 02-20-2009 06:09 PM

Quote:

Originally Posted by hayne (Post 520207)
Do you have an "Advanced" section in your Airport Utility?
(My Airport Utility is also version 5.3.2. I'm using OS X 10.5.6. My base station is a Time Capsule.)

weird, i'm on 10.5.6 too, but with an Airport Extreme... ah, maybe Airport Utility is behaving differently because my AEBS is in bridge mode?

trevor 02-20-2009 06:47 PM

If your AEBS is in bridge mode, go to your actual router to check for the MAC addresses of all connected devices.

Trevor

fishmonkey 02-20-2009 07:08 PM

ta, that's what i do (i've put most of my equipment on static local addresses)...

i rarely use my AEBS wirelessly, so i didn't realise that Airport Utility wouldn't show all the wireless clients when in bridge mode, which seems a bit odd, and not very handy when you are setting up MAC access control...

hayne 02-20-2009 07:11 PM

1 Attachment(s)
Quote:

Originally Posted by fishmonkey (Post 520303)
weird, i'm on 10.5.6 too, but with an Airport Extreme... ah, maybe Airport Utility is behaving differently because my AEBS is in bridge mode?

You didn't answer my question, so I ask it again:

Do you have an "Advanced" section in your Airport Utility?
(see below screenshot from top of my Airport Utility window)

hayne 02-20-2009 07:13 PM

Quote:

Originally Posted by fishmonkey (Post 520314)
i didn't realise that Airport Utility wouldn't show all the wireless clients when in bridge mode, which seems a bit odd, and not very handy when you are setting up MAC access control...

Does MAC access control even work when you are in bridge mode? It isn't obvious that it does. (I mean in theory - I haven't tried it. The idea of bridge mode is basically to transparently hand all packets over to the other router.)

trevor 02-20-2009 07:17 PM

Oh, I hadn't noticed that all of this effort was for MAC access control? Don't put any effort at all into that, it has no security benefits at all. Script kiddies with no knowledge of their own can break a network with MAC access control just as quickly as they can break a network without it.

Use real security (like WPA2 encryption for wireless networks), not fake placebo sugarpill security like MAC access control.

Trevor

fishmonkey 02-20-2009 07:47 PM

well the OP is simply wanting to use MAC access on his home network, which is fair enough, shortcomings noted...

personally i use WPA2 as well, with a ridiculously long passphrase...

for completeness:
@Hayne: yes my Airport Utility has an Advanced tab, and a Log & Stats button, but there is no Wireless Clients tab/button... yes i can see all the MAC addresses by sifting through the log, but it isn't very user friendly... my machine is the currently the only one connected wirelessly, maybe that is why? i tried taking my AEBS out of bridge mode, but still no Wireless Clients display... and i've just noticed that there is a "Wireless Clients" entry in the Summary tab of the Airport pane, but it just shows a "-" when mine is the only machine connected wirelessly (i don't have another machine to try today)...

oh, and yes, MAC access control does work in bridge mode (just tested it)...

fishmonkey 02-20-2009 07:55 PM

now i really want to know why i can't see the wireless clients directly in my Airport Utility!

hayne 02-20-2009 07:57 PM

1 Attachment(s)
Quote:

Originally Posted by fishmonkey (Post 520326)
yes my Airport Utility has an Advanced tab, and a Log & Stats button, but there is no Wireless Clients tab/button... yes i can see all the MAC addresses by sifting through the log, but it isn't very user friendly... my machine is the currently the only one connected wirelessly, maybe that is why?

So the top of the pane that you get when you click on the "Logs and Statistics" button doesn't look like the screenshot below?
(I also have only one wireless client connected to my Time Capsule at the moment and it shows up in the Wireless Clients tab of the Logs and Statistics pane.)

fishmonkey 02-20-2009 07:59 PM

nope, i only have Logs...

NaOH 02-20-2009 08:01 PM

Something else might be askew. I set my Airport Extreme Base Station to Bridge Mode and I was able to see the Wireless Clients tab showing the MAC addresses for my MacBook Pro, Airport Express and iPhone.

fishmonkey 02-20-2009 08:03 PM

WHOOPS!

i had SNMP turned off!

i can sleep again at night, haha

hayne 02-20-2009 08:04 PM

1 Attachment(s)
Do you have "Allow SNMP" checked in the "Advanced" tab ?
(screenshot below)
[edit]
I see that you just replied saying that you had it off
[/edit]

fishmonkey 02-20-2009 08:06 PM

hehe, now that's a boo boo i'll never make again...

fishmonkey 02-20-2009 08:08 PM

it is stupid that you can't copy a MAC address from the Wireless Client's list though...

NaOH 02-20-2009 08:10 PM

In the Wireless Clients tab, using Edit->Copy (or Command-C) will copy the MAC address.

fishmonkey 02-20-2009 08:15 PM

mmm, i should sleep more before i open my mouth again today...


All times are GMT -5. The time now is 07:25 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.