Why know the location of an IP
We live in a globalized world and that means that there are servers spread all over the planet to which we can connect in our day to day. For example, when entering a web page, using social networks, P2P download programs … Each country has a series of IP addresses. More specifically, operators can reserve a series of ranges.
At any given moment we may access a website or some service and we come across an IP address that we do not know to which country it belongs. We can be simply curious or also so that, for some reason, we block access to our server. An example would be to use an IP blocker and only share files through Torrent from Spanish IP addresses or from another country that we choose.
It could also happen that we simply want prevent access from a certain range of addresses that belong to a country, to our server. Therefore, it may be interesting to know which are the addresses that correspond to each country, including Spain.
Spain IP address ranges
The telephone operators they secure a range of addresses for their customers to use. Operators such as Orange, Vodafone or Telefónica have tens and even hundreds of thousands of reserved IPs.
On the IPDeny website we can see a list with all IP addresses sorted by country. We simply have to go to the nation that interests us, click and we can download the entire list with the corresponding numbering. They indicate the ranges. Logically, depending on the size of the population of each country, we will have more or less.
If we want to see the address blocks IP of Spain we have to click on the name of the country. We can download a file with all global addresses and later search for it on our computer, but also directly online to see that information. If we click on Spain through the corresponding link, it will show us the entire list.
We have seen a version of the Internet Protocol or IP. It’s about the IPv4 addresses. It is the original version that was launched in the 1980s. But logically, the Internet has changed a lot since then, we have many more connected devices, more operators and more needs to offer service to the world’s population. It uses a 32-bit format and allows for just over 4 billion unique addresses.
To solve this problem, IPv6 appeared, which has a 128-bit format more than 1,000 times more unique addresses available. This prevents them from running out, something that could happen in the next few years with the old protocol. Therefore, we must also take into account the list of IPv6 addresses by country.
Once again, IPDeny offers us the complete list by country. There we just have to find the nation that interests us and download the complete list. For example, in this link we could see those of Spain.
We are going to put a list with the addresses of the main operators in Spain:
Therefore, these are the main building blocks Spain IP addresses. Keep in mind that in each of them there are thousands of unique addresses. We can see the complete list in the link that we show you previously. So we can block any that interest us or simply know whether or not it belongs to Spain or any other country.
What can you tell with an IP address
We have seen how we can see a full list of IP addresses and see which blocks correspond to a specific country. It is something that can be useful at any given time and it is public information that we can find on the web. Now, what can we know about an IP? What could someone know if they get ours? Let’s see it in detail.
What country are we in
Something evident from everything we have discussed in this article is that they could know in what country we are or at least from which nation we are using that IP address. It is one of the most basic information you could get. Hence, sometimes it is interesting to hide it and use a VPN to be able to connect to blocked content in a country, for example.
A VPN will have many servers, so we can connect to anyone that is in another nation. In this way we will be navigating as if we were really physically in another place.
The approximate location
But they could not only know in which country that IP is located. Keep in mind that they might even see our approximate geographic location. They could know the postal code, and therefore the town where we are, but also beyond and have an approximate location of our street or neighborhood.
There are online services where simply putting the IP shows us this information related to the geographical location. We can test it with our address or use any other that we see on the Internet.
Another question that they could know if they obtain our IP address is what telephone operator we are using. We have seen that each one reserves a range of blocks, so it is something public and anyone could know it. Hence, there are search engines where simply putting an address shows us this information.
In this case we can compromise privacy if they find out which phone company we have. It is a piece of information that they could sometimes use to include us in spam campaigns, for example.
Therefore, through the IP we can (and could) obtain information such as the country to which it belongs, the approximate geographical location or the operator. There are methods to hide all this and avoid browsing with our real address.