Network Sweep

Linux

for i in {1..254}; do ping -n -c1 -W1 [ip_beginning].$i | grep ttl; done

Windows

PowerShell
1..255 | % { ping -n 1 -w 500 [ip_beginning].$_ | Select-String ttl }
cmd.exe
for /L %i in (1,1,255) do @ping.exe -n 1 -w 500 [ip_beginning].%i | findstr TTL