Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does IP geolocating work?

I'm not looking for a service that does this. I'm just curious as to how geolocation works.

like image 415
weicool Avatar asked Jan 03 '10 20:01

weicool


People also ask

Is IP address geolocation accurate?

IP-to-Location AccuracyIP-based geolocation services provide 55 percent to 80 percent accuracy for a user's region or state. And they provide 50 percent to 75 percent accuracy for a user's city. In practice, the actual accuracy may vary from provider to provider and depending on the location of the device.

Where does IP geolocation data come from?

The primary source for IP address data is the regional Internet registries which allocate and distribute IP addresses amongst organizations located in their respective service regions: African Network Information Centre (AfriNIC) American Registry for Internet Numbers (ARIN)

How does a geolocation work?

Since devices are used by individuals, geolocation uses positioning systems to track an individual's whereabouts down to latitude and longitude coordinates, or more practically, a physical address. Both mobile and desktop devices can use geolocation.

How do you locate an IP address geographically?

You may use 'traceroute' command to find clues to the location of the IP address. The names of the routers through which packets flow from your host to the destination host might hint at the geographical path of the final location.


Video Answer


1 Answers

Mapping IP addresses to geolocations is done via tables, where an IP maps to a particular location. This location, however, does't need to be accurate, since IP addresses don't carry any information about their locations, these are approximated.

From http://en.wikipedia.org/wiki/Geolocation_software:

The primary source for IP address data is the regional Internet registries which allocate and distribute IP addresses amongst organizations located in their respective service regions:

  • American Registry for Internet Numbers (ARIN)
  • RIPE Network Coordination Centre (RIPE NCC)
  • Asia-Pacific Network Information Centre (APNIC)
  • Latin American and Caribbean Internet Address Registry (LACNIC)
  • African Network Information Centre (AfriNIC)

Secondary sources include:

  • Data mining or user-submitted geographic location data. For example, a weather web site might ask visitors for a city name to find their local forecast. Another example would be to pair a user's IP address with the address information in his/her account profile.
  • Data contributed by internet service providers.
  • Merging databases from different suppliers.
  • Guesstimates from adjacent Class C range[2] and/or gleaned from network hops.

Accuracy is improved by:

  • Data scrubbing to filter out or identify anomalies.
  • Statistical analysis of user submitted data.
like image 165
miku Avatar answered Oct 02 '22 19:10

miku