Finding the IP ranges of an ISP

By | July 25, 2017

In paid advertising it is often desirable to target by IP ranges.

Say for example you have a campaign running well on say the ISP Idea Cellular. Now how can we find the ip ranges of that ISP?

I found on https://www.tcpiputils.com/browse/as/in the (autonomous system number) ASNs of Idea Cellular to be:

45271
55644
134927
133666

2. By going to https://www.tcpiputils.com/browse/as/{ASN number} you can find the IPv4 Prefixes, the ip range are in the form of IP/netmask, for example 192.168.0.1/19.

3. Then with ipcalc you can find the range:
ipcalc 192.168.0.1/19
..
HostMin:   192.168.0.1
HostMax:   192.168.31.254

so the IP range is 192.168.0.1-192.168.31.254

On Debian you can install ipcalc with:
sudo apt-get install ipcalc

For bulk converting the following website is convenient:

https://www.ipconvertertools.com/cidr2ipranges

4. It is also possible to find the ip ranges by simply doing a search, for example:

https://www.tcpiputils.com/search?q=idea+cellular

https://www.tcpiputils.com/search?q=india+vodafone

 

Leave a Reply

Your email address will not be published. Required fields are marked *