IP address

From WikiTech, the free technology encyclopedia

Number that identifies a device on an Internet Protocol network

20 sources from IETF, IANA, Number Resource Organization and 6 more. Checked by ByteExplained editors on 3 December 2026. How we check facts

An IP address (Internet Protocol address) is a number that identifies a device on a network that uses the Internet Protocol, so that data can be delivered to it, much like a postal address on an envelope.[17] Each packet of data sent across the Internet carries the address of its sender and of its destination.[1] Two versions are in use today: the original IPv4 and its much larger successor, IPv6.[2]

Contents
  1. IPv4
  2. Running out of IPv4 addresses
  3. IPv6
  4. How addresses are assigned
  5. Names and location
  6. See also
  7. References

IPv4

IPv4 was specified in RFC 791, published in September 1981. Its addresses have a fixed length of 32 bits.[1] They are normally written as four numbers from 0 to 255 separated by dots, such as 192.0.2.1, which comes from a block reserved for examples and documentation.[4] Thirty-two bits allow 2³², or about 4.3 billion, different addresses.[16]

Groups of addresses are described with CIDR notation: an address followed by a slash and the number of bits that identify the network, as in 192.168.99.0/24. CIDR replaced the older fixed classes A, B and C.[10]

Three ranges are set aside for private networks, such as home and office networks: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. These addresses are not meant to be routed on the public internet.[6]

Running out of IPv4 addresses

As the internet grew, the supply of IPv4 addresses ran short. On 3 February 2011 the Internet Assigned Numbers Authority (IANA) handed out its last five large blocks of IPv4 addresses, one to each regional registry.[12] The registries then ran out in turn: ARIN, which serves North America, issued its last free addresses in September 2015, and RIPE NCC, which serves Europe and the Middle East, ran out in November 2019.[13][14]

The main stopgap is network address translation (NAT). A router using NAT lets many devices on a private network share a single public address when they connect to the internet.[7] The Internet Society describes NAT as a temporary solution rather than a replacement for IPv6.[16]

IPv6

IPv6, now defined in RFC 8200, increases the address size from 32 to 128 bits.[2] That allows 2¹²⁸ addresses, roughly 340 trillion trillion trillion.[16]

  • An IPv6 address is written as eight groups of hexadecimal digits, each standing for 16 bits, separated by colons. One run of all-zero groups can be shortened to "::".[8]
  • The recommended form uses lower-case letters and drops leading zeros, so an address can be as short as 2001:db8::1.[9]
  • Addresses beginning 2001:db8 are reserved for documentation and are never assigned to real networks.[5]
  • Unlike IPv4, IPv6 has no broadcast addresses; it uses unicast, anycast and multicast addresses instead.[8]

Adoption has been gradual. In April 2026 the share of users reaching Google over IPv6 passed 50% for the first time.[15]

How addresses are assigned

IANA gives large pools of addresses to five Regional Internet Registries, AFRINIC, APNIC, ARIN, LACNIC and RIPE NCC, according to each region's needs. It generally does not give addresses directly to internet providers or end users.[3]

On a local network, devices usually get an address automatically through the Dynamic Host Configuration Protocol (DHCP), which "leases" an address for a set time before it can be reused.[11] Many home users therefore have a dynamic address that can change, while larger organisations often obtain fixed static addresses from their providers.[17][20]

Names and location

People rarely need to type IP addresses. The Domain Name System translates names such as byteexplained.com into the IP addresses that computers use.[18]

An IP address can suggest a device's rough location, but the link is unreliable. No single authoritative geolocation database exists, and accuracy at city level is limited.[19]

See also

References

  1. ^ RFC 791: Internet Protocol. IETF. 1981-09. rfc-editor.org
  2. ^ RFC 8200: Internet Protocol, Version 6 (IPv6) Specification. IETF. 2017-07. rfc-editor.org
  3. ^ Number Resources. IANA. iana.org
  4. ^ RFC 5737: IPv4 Address Blocks Reserved for Documentation. IETF. 2010-01. rfc-editor.org
  5. ^ RFC 3849: IPv6 Address Prefix Reserved for Documentation. IETF. 2004-07. rfc-editor.org
  6. ^ RFC 1918: Address Allocation for Private Internets. IETF. 1996-02. rfc-editor.org
  7. ^ RFC 3022: Traditional IP Network Address Translator. IETF. 2001-01. rfc-editor.org
  8. ^ RFC 4291: IP Version 6 Addressing Architecture. IETF. 2006-02. rfc-editor.org
  9. ^ RFC 5952: A Recommendation for IPv6 Address Text Representation. IETF. 2010-08. rfc-editor.org
  10. ^ RFC 4632: Classless Inter-domain Routing (CIDR). IETF. 2006-08. rfc-editor.org
  11. ^ RFC 2131: Dynamic Host Configuration Protocol. IETF. 1997-03. rfc-editor.org
  12. ^ IPv4 free pool depleted. Number Resource Organization. 2011-02-03. nro.net
  13. ^ ARIN IPv4 Free Pool Reaches Zero. ARIN. 2015-09-24. arin.net
  14. ^ The RIPE NCC has run out of IPv4 Addresses. RIPE NCC. 2019-11-25. ripe.net
  15. ^ Google hits 50% IPv6. APNIC Blog. 2026-04-28. blog.apnic.net
  16. ^ Frequently Asked Questions on IPv6 Adoption and IPv4 Exhaustion. Internet Society. internetsociety.org
  17. ^ IP address. Encyclopaedia Britannica. britannica.com
  18. ^ What is DNS?. Cloudflare. cloudflare.com
  19. ^ IP Geolocation: The Good, The Bad, & The Frustrating. ARIN. 2018-06-11. arin.net
  20. ^ What is dynamic DNS (DDNS)?. Cloudflare. cloudflare.com
Technologies on WikiTech
Internet protocols
All technologies