How to view all ips in the LAN?

in #it3 years ago (edited)

How to view all ips in the LAN?

  1. Press the win+r key combination and then let it go

  2. Enter "cmd" in Run

  3. Enter "for /L %p in (1,1,254) do ping -w 1 -n 2 10.0.0.%p & arp -a> D:\arp.txt" in the terminal window, just wait for the output, The results are output to arp.txt in the d drive for easy viewing and screening. (10.0.0.%p is modified according to the actual network segment)

  4. The result is all the IP addresses of the LAN, you can check it according to your actual situation.

Other methods, if you have routers and firewalls, may already have this function, you can log in to the background and try it.