Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15673

Scripting • Export non-DHCP devices

$
0
0
In another thread ( viewtopic.php?p=1047561#p1047561 ) I sought and received helped that allowed me to create a script to export all DHCP leases with comment, in CSV.

I then used a Windows Powershell script to concatenate and clean up the files from the individual MT devices.

I can now open this file directly into Excel. Here is just one page of it:

.
Screenshot 2024-01-11 113202.png
.

Can someone suggest how to go about collecting non-DHCP-IP-assigned devices? (To be clear, I mean devices where the IP is set on the device; the DHCP server has no clue about them.)

I thought about using the output from IP-scan or packetsniff or arp, but not sure which would be smarter.

There would also be the need to bring along with the IP address any associated info such as MAC-address, host-name, DNS-name.

Thank you.

Statistics: Posted by Josephny — Thu Jan 11, 2024 6:39 pm



Viewing all articles
Browse latest Browse all 15673

Trending Articles