Crisis! Outage!! My online server repository is also down. Need to figure out quickly which and all server is Alive. Luckily I have a list of servers, and I know the subnet of quite a few of them. This is how would I go about -
for i in `cat wslist.txt`; do nc -v -w 1 -z $i 22 ; done
for i in `cat wslist.txt`; do nmap -sP -n $i ; done | grep down
With the help of Broadcast address,
# ifconfig | grep Bcast
inet addr:172.19.17.143 Bcast:172.19.17.255 Mask:255.255.254.0
# ping -b 172.19.17.255
Note: Please remember, some/most of the routers are configured to filter broadcast and multicast packets to prevent broadcast storm, if so, broadcast is useless.
for ((i=1;i<255;i++)); href="http://fping.sourceforge.net/">fping and netdiscover is also used by some gurus.
Do share, your way of quickest discovery of unresponsive hosts.
As you might know, this year’s AWS re:Invent was held @ Las Vegas 11/27 – 12/1. Below links could be a good start to explore all ...
( A story on - how we formulated a process around measuring and achieving CICD, and how these journey lines has now become a means t...
Have you come across a situation when you need to reset the root password of a XEN virtual box. Logon Host machine run following command to...
I have been having a great company with some of the very talented NCG’s ( New College Hires/ Grads ) last ~2yrs. I work for Intuit I...