TechRepublic : A ZDNet Tech Community

Microsoft Windows

Host: Mark Kaelin
Contact

When securing a wireless Windows XP network, in addition to using Wired Equivalent Privacy (WEP) or Wi-Fi Protected Access (WPA) encryption, you can use Media Access Control (MAC) address filtering.

When you enable MAC address filtering, the wireless access point or wireless router verifies that the network card in the computer requesting access has a MAC address in its filter list before allowing the computer to access the network. This means that you must first obtain the MAC addresses of each client computer. To do so, you might think that you have to manually visit each computer and use the Getmac command.

An easier way to gather MAC addresses is to take advantage of the Address Resolution Protocol (ARP) command. Here’s how:

  1. From one computer, use the Ping command to ping each of the other client computers that will connect to the wireless access point or wireless router.
  2. Type the ARP command along with the -a parameter:
    Arp -a

When used with the -a parameter, the ARP command displays the ARP cache, which stores the IP and MAC addresses of the computers that most recently accessed the system — or in this case, those computers that responded to the Ping command.

Note: This tip applies to both Windows XP Home and Professional.

Miss a tip?

Check out the Windows XP archive, and catch up on our most recent Windows XP tips.

Stay on top of the latest XP tips and tricks with our free Windows XP newsletter, delivered each Thursday. Automatically sign up today!

Greg ShultzGreg Shultz is a freelance Technical Writer. Previously, he has worked as Documentation Specialist in the software industry, a Technical Support Specialist in educational industry, and a Technical Journalist in the computer publishing industry. Read his full bio and profile.

Print/View all Posts Comments on this blog

*or* WEP *or* MAC filtering? These are not "security" on there own Neon Samurai | 06/04/08
ARP -A Not work for me llam@... | 06/05/08
Better Windows batch script to collect all MACs kennerly.banks@... | 06/05/08
The script I use (to find unused IP addresses in my network) kaashif.junk@... | 06/08/08
What input do you give to this batch file? Tad Diego | 07/02/08
It's in the post...and the script NickNielsen | 07/03/08
You cleared up all my questions... Tad Diego | 07/03/08
Script for used/unused IP addresses skhan@... | 07/03/08
Once you have the IP NickNielsen | 07/03/08
Get the PC Name windows Sundaram Ramanujam | 11/04/08
Nice Stuff Sundaram Ramanujam | 11/04/08
this trick probably wont work on wired networks lewko98@... | 06/05/08
Totally Agree, but don't forget about VLANS frederik_ferrell@... | 06/05/08
Record on WEP is 8 seconds... Dumphrey | 07/03/08
RE: Quickly gather MAC addresses in Windows XP with ARP mikejparks@... | 06/05/08
OS X brent@... | 06/05/08
Cool Stuff Sundaram Ramanujam | 11/04/08
RE: Quickly gather MAC addresses in Windows XP with ARP niall.collins@... | 06/05/08
Don't be so hard on yourself... afgcons@... | 06/05/08
RE: Quickly gather MAC addresses in Windows XP with ARP mstombs | 06/05/08
RE: Quickly gather MAC addresses in Windows XP with ARP iain.marshall@... | 06/05/08
RE: Quickly gather MAC addresses in Windows XP with ARP BernieG | 06/05/08
RE: Quickly gather MAC addresses in Windows XP with ARP subodhdubey4984@... | 06/05/08
The whole procedure is in the article. NickNielsen | 06/05/08
RE: Quickly gather MAC addresses in Windows XP with ARP mmanolemeister@... | 06/05/08
Use nmap to ping RJRM | 06/05/08
Thank you ! ! Dusterman | 06/05/08
I'll second that! The Altruist | 06/05/08
Try the Ping Easy program dennis.durham@... | 06/05/08
RE: Quickly gather MAC addresses in Windows XP with ARP camerony@... | 06/05/08
Better to scan first... Marty R. Milette | 06/05/08
RE: Quickly gather MAC addresses in Windows XP with ARP ----VBSCRIPT millete | 06/05/08
RE: And redirect the output to a .txt file mike_flood | 06/05/08
Always learning something new SublimeDre | 06/05/08
ipconfig /all is better because it displays the interface description louis.slabbert@... | 06/05/08
getmac on XP? billballew | 06/05/08
getmac on XP? ooops! billballew | 06/05/08
getmac on Vista Rick Hults | 06/06/08
ipconfig /all is better skhan@... | 07/02/08
RE: Quickly gather MAC addresses in Windows XP with ARP brian.catt@... | 06/05/08
Try GetMac Gis Bun | 06/05/08
same thing with out pinging and ARPing john@... | 06/05/08
same thing (and more) with out pinging and ARPing john@... | 06/05/08
Thanks for the tip! dave@... | 06/05/08
LanSpy instead of ARP and Ping DwayneMc | 06/05/08
Not a good article andereck@... | 06/05/08
Trying to isolate MAC addresses - Question. Smart_Neuron | 06/05/08
Trying to isolate MAC addresses - Answer gjadams | 06/06/08
Trying to isolate MAC addresses - Answer Smart_Neuron | 06/09/08
RE: Quickly gather MAC addresses in Windows XP with ARP randy.caoctoy@... | 06/10/08
RE: Quickly gather MAC addresses in Windows XP with ARP rctaubert@... | 06/12/08
Defaults for Multicast Marty R. Milette | 06/13/08
Defaults for Multicast rctaubert@... | 06/13/08
To get all MACs... mtoney@... | 06/13/08

What do you think?

White Papers, Webcasts, and Downloads

Recent Entries

TR on Twitter

Archives

TechRepublic Blogs



500 Things Every Technology Professional Needs to Know
Did you know Microsoft's RegClean does not work with XP but you can use shareware to clean your registry? Did you know most wireless access points don't have encryption enabled by default? Did you know there are 500 tidbits of information contained in TechRepublic's 500 Things Every Technology Professional Needs to Know that will help you become a successful IT professional.
Buy Now
Administrator's Guide to TCP/IP, Second Edition
Maintain your critical TCP/IP system and ensure reliable, safe remote access. Get the expert advice and solutions to handle Windows networking, Cisco routing, documentation, and troubleshooting.
Buy Now

SmartPlanet

Click Here