IP by CIDR searches
I have been looking for a way for quite some time to figure out the CIDR numbers for an IP Address. Until today I was thinking I was going to have to data mine the IP registrars, but the IP to Country database in the an earlier blog is giving me a way to do it automatically. Once you have the IP to Country database you basically have all the information and all you need to do is some ip math to figure it out. With the Start IP Address and the total number of IP Addresses you can easily come up with the end IP address. So now you know the whole range from start to finish and the total number of IPs. The CIDR number is really just a base2 representation of the total number of IPs, so you have that as well. So what good is this? Now you can find one search engine spider and check the whole CIDR range for others, no more +/- 256 IPs, you can check them all ![]()






