title: Current IPv4 blocks allocated to each country / city / organization
body: <p>I would like to understand better the current ipv4 address space and need help finding data about the ip allocation for each country. If possible, going further for each city, <a href="http://en.wikipedia.org/wiki/Internet_service_provider" rel="nofollow">ISP</a> and organization.</p>
  
  <p>I understand that the IPv4 addresses are controlled by 5 major <a href="http://en.wikipedia.org/wiki/Regional_Internet_Registry" rel="nofollow">Regional Internet Registries</a> that together form the <a href="http://www.nro.net/" rel="nofollow">Number Resource Organization</a>. Each RIR manages addresses for the following countries:</p>
  
  <blockquote>
    <ul>
    <li><p>African Network Information Centre (<a href="http://www.afrinic.net/" rel="nofollow">AfriNIC</a>) for Africa</p></li>
    <li><p>American Registry for Internet Numbers (<a href="http://www.arin.net/" rel="nofollow">ARIN</a>) for the United States, Canada, several parts of the Caribbean region, and Antarctica.</p></li>
    <li><p>Asia-Pacific Network Information Centre (<a href="http://www.apnic.net/" rel="nofollow">APNIC</a>) for Asia, Australia, New Zealand, and neighboring countries</p></li>
    <li><p>Latin America and Caribbean Network Information Centre (<a href="http://www.lacnic.net/" rel="nofollow">LACNIC</a>) for Latin America and parts of the Caribbean region</p></li>
    <li><p>Réseaux IP Européens Network Coordination Centre (<a href="http://www.ripe.net/" rel="nofollow">RIPE NCC</a>) for Europe, Russia, the Middle East, and Central Asia</p></li>
    </ul>
    
    <p>-- <a href="http://en.wikipedia.org/wiki/Regional_Internet_Registry" rel="nofollow"><em>from wikipedia</em></a></p>
  </blockquote>
  
  <p>Being 5 separate organizations (each one with a different commercial presentation on their websites), I could not find a centralized place with an exhaustive map with all the allocated blocks</p>
  
  <p>I found this <a href="http://www.nirsoft.net/countryip/" rel="nofollow">site</a> with the ip blocks and assigned countries. Thats part of what I want. Also I dont know if this is reliable</p>
  
  <p>Also, this <a href="http://xkcd.com/195/" rel="nofollow">xkcd comic</a> plays with the same data that I am looking for. The comic is probably based on this <a href="http://www.caida.org/research/id-consumption/census-map/images/20061108.pnghttp://IPv4http://www.caida.org/research/id-consumption/census-map/images/20061108.png" rel="nofollow">interesting image</a>. According to <a href="http://www.caida.org/research/id-consumption/census-map/" rel="nofollow">CAIDA</a> (The Cooperative Association for Internet Data Analysis), the image is a result of 2 months of ICMP exploration back in 2006:</p>
  
  <blockquote>
    <p><em>A visualization of IPv4 addresses that responded to ICMP (ping) packets during a two-month (very slow) scan of the IPv4 address space. Some hosts do not respond to the probes due to firewalls, NAT boxes, and ICMP filtering. Thus, the data and map give us a lower bound on IPv4 address utilization.</em></p>
  </blockquote>
  
  <p>From the same site, they talk about the Census data source:</p>
  
  <blockquote>
    <p>The census data was provided by Information Sciences Institute at the University of Southern California. Internet Addresses Survey dataset, DHS PREDICT ID USC-LANDER/internet_address_survey_it15w-20061108. Traces taken 2006-11-08 to 2007-01-08. Provided by the USC/LANDER project. <a href="http://www.isi.edu/ant/lander/" rel="nofollow">http://www.isi.edu/ant/lander/</a>. Additional support comes from NSF grant SCI-0427144 and ARIN but does not necessarily reflect the opinions of any of the sponsoring organizations.</p>
  </blockquote>
  
  <p>I tried finding the pointed dataset and traces but had no success.</p>
  
  <p>I understand that this is essential for the current geolocation solutions, so I would like to understand where their data come from</p>