An IP address is a numerical label assigned to a device connected to a network, used to identify and locate that device so data can be routed to and from it correctly. Websites use the IP address of an incoming request to determine a visitor's approximate location and to apply access rules like rate limits or geo-restrictions.

A forward proxy changes which IP address a request carries: the request appears to come from the proxy's IP address.

How IP Addresses Are Assigned

  • Registries: IANA allocates address blocks to five regional internet registries: AFRINIC, APNIC, ARIN, LACNIC and RIPE NCC. Each registry allocates blocks to its members, usually ISPs, which pass addresses on to their customers.
  • Local networks: DHCP hands out addresses to devices on a network. With dynamic allocation, a device leases an address for a limited time, and the address can be reused once the device no longer needs it.

Public vs. Private IP Addresses

Public IP addressPrivate IP address
Where it comes fromBlocks allocated through the registries, usually via your ISPYour router or network administrator
Reachable from the internetYesNo. RFC 1918 says routes to private networks shouldn't be shared outside them
IPv4 rangesGlobally unique ranges10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16
Seen by websitesYesNo

Devices with private addresses usually reach the internet through NAT, so websites see the router's public address instead.

Static vs. Dynamic IP Addresses

  • Dynamic: assigned for a limited time, so it can change. DHCP calls this time a lease.
  • Static: stays the same. DHCP can give a client a permanent address, or pass on one an administrator set by hand.

Proxies follow the same split: a static proxy keeps one IP, while IP rotation changes it.

IPv4 vs. IPv6

  • IPv4 (e.g., 192.168.1.1), which offers about 4.3 billion unique addresses
  • IPv6, a newer format designed to accommodate the much larger number of internet-connected devices

See IPv4 vs. IPv6 for how the two differ for proxy users.

IP Geolocation

Sites estimate a visitor's location from the IP address, and the estimate is not exact. MaxMind, a geolocation data provider, says its data is never precise enough to locate a specific household, person or street address. City-level results come with an accuracy radius, such as 100 km.

Shared IP Addresses

Many users can share one public IPv4 address, for example behind carrier-grade NAT. RFC 6269 warns that when a server blocks an address after too many failed logins, it can lock out every other user sharing it.

What It Means for Web Scraping

  • Limits follow the IP: sites count requests per address. Spreading requests across many IPs keeps each one under the limit.
  • Shared IPs share blocks: if another user of a shared proxy gets its IP blocked, your requests from that IP are blocked too.