Thread: MAC address
View Single Post
  #5  
Old 10th March 2007, 18:30
KenKnight KenKnight is offline
Senior Member
 
Join Date: Nov 2005
Posts: 137
Thanks: 0
Thanked 3 Times in 2 Posts
Default

Hi Muzica,

I use nmap for that type of task.

the following command will scan your entire subnet and provide just the info you need;

nmap -sP 192.168.0.0/24

Replace the 192.x.x.x with whatever you subnet is, also if you're not using one of the standard subnet masks you'll need to calculate and apply a different subnet # at the end (24).

Since you have a bunch of machines I'd suggest routing the info to a file like so;

nmap -sP 192.168.0.0/24 > MyMacs.txt

Then you can copy that text file to whatever machine your doing work on. I use the heck out of this command when setting up Static DHCP servers.

Cheers!
Ken
Reply With Quote