Jump to content

Recommended Posts

Posted

Retrieve mac address from all machines on an ip range or in a domain, and produce something like a csv file or a text file with them in ?

 

any ideas?

 

without having to go to each machine would be great as i will need to use this tool on multiple networks

 

Thanks in advance

Posted

The DHCP lease export only covers dynamicaly addressed machines. In most cases e.g that will be enough but if you need information for static address then you may have to go down the nmap route as above.

 

Alternatively you could ping and arp to the same info.

Posted
You could probably use a WMI script to retreive the MAC address to. Make it scan all the addresses on your subnet or something. Assuming all your servers and clients are Windows based of course.
Posted

Also if the machine is running SNMP (which is true here for anything using a static IP, Print servers, W2k3 & Linux servers, switches) you can grab the MAC address from that.

 

Secondly, you can get this information passively with the correct monitoring software. For example there's a tool called 'arpwatch' on Linux that will passively monitor the network and work out IP:MAC address pairs based on ARP traffic.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...