We are using below command to figure out the IP addresses which are down (which is free IP address to use)
nmap -v -sn -n 192.168.1.0/24 -oG - | awk '/Status: Down/{print $2}'
I wanted to get a subrange within that . For example the above command shows all the free IP address from 192.168.1.1 to 192.168.1.124. [ Note: This is for test automation and we are using static IP addresses. Multiple team members are sharing range of IP addresses but often overstep other's range. So this will help us to decide whether IP is really free at that moment before using it)
But I want to find free IP address within the range of
192.168.1.55 to 192.168.1.65
. How to do it?