Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I have a solution for you. First, I'll highlight the high level steps.</p> <hr> <p>(1) Download free data that links an IP address block to a zipcode. (the reverse of what you want).</p> <p>(2) Simply query that database for a zipcode, and pick any IP in the "valid range" for that zipcode in the table you downloaded.</p> <hr> <p>So for example, you wanted a valid ip address for Chicago, IL 60657, you'd look up the valid range of IP's for 60657 and pick one!</p> <p>Down to specifics now... go to <a href="http://dev.maxmind.com/geoip/legacy/geolite/" rel="nofollow">http://dev.maxmind.com/geoip/legacy/geolite/</a> scroll to the bottom and download Geolite City. This comes with two CSV's that you'll probably want to import into some sort of relational database. One table maps a location ID to a zipcode. The second table matches a location id to a valid IP range. </p> <p>So when you want to come up with a valid IP for zipcode 60657, look up the location ID for 60657, then use the second table to lookup the valid IP range for that location ID.</p> <p>One thing to keep in mind is that whenever you are dealing with IP address ranges, the nubmers are in decimal, I.E 16777471 instead of 103.412.411.22 (fake example). In order to convert between decimal notation and IP address notation, and visa versa, use the formulas on this site <a href="https://sites.google.com/site/followyourheart10/technical-section/ip-address-notations-conversion" rel="nofollow">https://sites.google.com/site/followyourheart10/technical-section/ip-address-notations-conversion</a>.</p> <p>Good luck!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload