Kained Posted March 24, 2007 Posted March 24, 2007 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
tscnmuk Posted March 24, 2007 Posted March 24, 2007 Use the DHCP table on the DHCP server. Right click on the scope lease folder and export, export as a CSV, sorted. Easy. Tom
ChrisH Posted March 24, 2007 Posted March 24, 2007 If you use DHCP just export the leases list to a csv.
CyberNerd Posted March 24, 2007 Posted March 24, 2007 nmap if good for this sort of thing http://insecure.org/nmap/ sudo nmap 192.168.1.0/24
webman Posted March 24, 2007 Posted March 24, 2007 There's also a command-line app on Windows servers to export the DHCP list if you need to run it as part of a script.
localzuk Posted March 24, 2007 Posted March 24, 2007 Or you could make use of a program called SoftPerfect Network Scanner. I find it a nice useful tool.
ITWombat Posted March 24, 2007 Posted March 24, 2007 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.
Norphy Posted March 24, 2007 Posted March 24, 2007 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.
Geoff Posted March 24, 2007 Posted March 24, 2007 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.
Guest Posted March 24, 2007 Posted March 24, 2007 http://www.angryziber.com/ipscan/ Will do what you want too.
Kained Posted March 27, 2007 Author Posted March 27, 2007 Thanks guys i will give some of your suggestions a try later
plexer Posted March 27, 2007 Posted March 27, 2007 OCS NG will also list mac address of all discovered computers. Ben
gwendes Posted March 27, 2007 Posted March 27, 2007 LanView does this to use the WOL feature - not to a csv but it's handy if the reason you want MACs is for WOL!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now