ping scan LAN network
Posted: Sun May 19, 2024 11:50 am
Is there an easy way to scan the network for all computers?
like ping, but not do all the 254 ip's by hand ?
like ping, but not do all the 254 ip's by hand ?
Code: Select all
nmap -sP 192.168.1.1/24
Code: Select all
fping -a -r 0 -g 192.168.1.1/24
Code: Select all
for i in {1..254}; do (ping -vc 1 -t 4 192.168.1.$i); done
Code: Select all
for i in {1..254}; do (ping -vc 1 -t 4 192.168.1.$i) | grep "bytes from"; done