Calculate subnet#
I would never do this manually. Only CCNA exam make you do this manually, which is a nightmare
ipcalc 172.16.5.129/23Windows#
CMD#
for /L %i in (1 1 254) do ping 172.16.5.%i -n 1 -w 100 | find "Reply"Powershell#
1..254 | % {"172.16.5.$($_): $(Test-Connection -count 1 -comp 172.16.5.$($_) -quiet)"}Linux#
for i in {1..254} ;do (ping -c 1 172.16.5.$i | grep "bytes from" &) ;donefping -asgq 172.16.4.0/23