Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In preparing to move to a domain and SCCM to manage machines in a new office I need to gather their MAC addresses. I could go from machine to machine, run ipconfig and gather the ip, but that would be time consuming. I can also look at a list of machines through the Network window, then work down the list pinging them, then looking up the ip in arp, still time consuming, but I wouldn't have to leave my office. Is there a better way? Possibly a series of command line tools? The current domain is managed by Win server 2000 so I have limited domain tools, and I am working with a win8 desktop.

share|improve this question
    
There are a number of free tools that can do a ping sweep of your network, which will give you a list of computer names, ip addresses and the corresponding MAC addresses. –  joeqwerty Jul 22 '13 at 21:32

1 Answer 1

On Windows, you can use a couple nifty tricks already available. This only works if the machines will respond to a broadcasted ping:

ping 192.168.x.255 (where the ip is appropriate to your network) Then: arp -a to list the routing table. It'll contain any IP address that responded. Again, it's not fool-proof but it does return a majority of Windows machines in particular.

share|improve this answer
1  
Yup, that or check the DHCP leases and reservations. –  gravyface Jul 22 '13 at 20:14
    
I am getting an error with that ping command, it doesn't seem to recognize the ip –  Tvanover Jul 22 '13 at 20:27
    
I think he's saying you need to ping the broadcast address of your LAN. Eg if your range is 192.168.1.0/24 then your broadcast address is 192.168.1.255. –  john Jul 22 '13 at 21:11
    
@john exactly. This will populate the ARP table appropriately. –  Nathan C Jul 23 '13 at 2:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.