Discover Dynamic IP Addresses

Sometimes you add a device to a local area network but don’t know the IP address given by the DHCP server. This batch script has helped me find the device based on the beginning of the MAC address.

for /L %%z in (1,1,254) do @ping 192.168.10.%%z -w 192 -n 1 | find "Reply"

arp -a | find "74-9d"

pause

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *