Skip to content
ContentLora

    Tip: press / anywhere to search.

    Explainer

    How the internet works: packets, routing and peering

    The internet is a network of networks that moves data in small packets: the Internet Protocol (IP) only tries to deliver each packet from a source to a destination, and protocols such as TCP on top of it add reliability.[1][2] Separately run networks, called autonomous systems, tell each other which addresses they can reach using the Border Gateway Protocol (BGP), and often swap traffic at internet exchange points.[3][4][5] The ITU estimates that 6 billion people, 74% of the world's population, were online in 2025.[6]

    Editor reviewedUpdated Explainer19 claims · 89% primaryInternet and telecoms, Computing
    Reading level: 1 passage differs; the rest is the same for everyone.

    This explainer covers the core protocols and the way networks connect to each other. Names (DNS), home Wi-Fi, fibre and satellite links have their own explainers, linked below.

    A network of networks

    When you load a web page, your device breaks the request into small pieces called packets. Each one carries the address it is going to, and it is passed from network to network until it arrives.[1][7] Most of the long-distance journey happens over fibre-optic cables, including cables under the sea; a phone’s signal travels wirelessly only to the nearest cell tower.[8][9]

    The Internet Protocol is deliberately narrow: it delivers a datagram from a source to a destination over interconnected networks, and has no mechanisms for end-to-end reliability, flow control or sequencing.[1] Its two basic functions are addressing and fragmentation, and the choice of path is called routing.[7] The IETF’s host requirements describe the protocol suite as link, IP and transport layers, with the application layer on top; a host typically implements at least one protocol from each layer.[10]

    Every IPv4 packet also carries a time-to-live value that each router must reduce by at least one. A packet whose value hits zero is destroyed, so a routing mistake cannot keep a packet circling forever.[11]

    Addresses

    IPv4 was first deployed on 1 January 1983 and is still the most widely used version; its addresses are 32-bit numbers usually written as four numbers separated by dots.[12] IPv6, whose deployment began in 1999, uses 128-bit addresses, which allows far more addressable devices and more levels of hierarchy.[13]

    Addresses are handed out in a hierarchy. IANA, run by an affiliate of ICANN, allocates pools of addresses to five Regional Internet Registries: AFRINIC, APNIC, ARIN, LACNIC and RIPE NCC. Internet service providers get addresses from these or from local and national registries, and assign them to customers.[14][15]

    Reliable delivery: TCP, UDP and QUIC

    Because IP can lose packets, most applications rely on a transport protocol on top. TCP offers a reliable, in-order stream of bytes, sent as segments inside IP packets; it detects losses using sequence numbers and errors using checksums, and resends what went missing.[2]

    UDP is the minimal alternative. It lets programs send messages with little protocol machinery, but delivery and protection against duplicates are not guaranteed.[16] QUIC, standardized by the IETF in 2021, is a secure, connection-oriented transport protocol built on UDP.[17] The domain name system normally sends its queries over UDP.[18]

    Routing between networks

    The internet has no central switchboard. It is made of autonomous systems: groups of IP address blocks run by one or more operators under a single, clearly defined routing policy.[3] These networks exchange reachability information using the Border Gateway Protocol. Each announcement lists the autonomous systems a route passes through, which is enough to build a map of how the networks connect.[4]

    Networks also need physical places to meet. The Internet Society describes an internet exchange point (IXP) as a physical, usually neutral location where networks exchange local traffic through a switch; it says IXPs give shorter and cheaper routes than sending local traffic abroad.[5] Between continents, traffic mostly rides on submarine cables, which the ITU says carry over 99% of international data.[9] See undersea cables explained for how those are built and repaired.

    Who is online

    The ITU estimates that 74% of the world’s population, about 6 billion people, used the internet in 2025, up from 71% a year earlier.[6] The gap by income is wide: 94% of people in high-income countries were online, against 23% in low-income countries and 36% across Africa.[19] Last-mile access comes over fibre, mobile networks such as 5G, satellites and, inside homes, Wi-Fi.

    Next in the crash course

    More in Internet & telecoms

    Developing in AI & Computing

    Go deeper

    Questions readers ask

    What is a packet?

    A packet, or datagram, is a package of bits that the Internet Protocol tries to deliver from a source to a destination across interconnected networks. IP itself does not guarantee delivery, order or flow control.[1]

    What is the difference between IPv4 and IPv6?

    IPv4, deployed from 1 January 1983 and still the most used version, has 32-bit addresses. IPv6, whose deployment began in 1999, has 128-bit addresses, which allows a far greater number of devices.[12][13]

    What do TCP and UDP do?

    TCP gives applications a reliable, in-order stream of bytes, detecting lost packets and resending them. UDP sends messages with minimal overhead but does not guarantee delivery. QUIC is a newer secure transport built on UDP.[2][16][17]

    How do networks know where to send traffic?

    Each separately run network, or autonomous system, uses the Border Gateway Protocol to tell others which addresses it can reach and through which chain of networks. Choosing the path for a packet is called routing.[3][4][7]

    Who hands out IP addresses?

    IANA allocates pools of addresses to five Regional Internet Registries. Internet service providers get addresses from these registries or from local and national ones, and assign them to their users.[14]

    How many people use the internet?

    The ITU estimates about 6 billion people, or 74% of the world's population, used the internet in 2025. Use ranged from 94% in high-income countries to 23% in low-income countries.[6][19]

    Sources

    · 19 claims from 6 publishers

    Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.

    1. [1]

      The Internet Protocol (IP) is limited to delivering a package of bits, called a datagram, from a source to a destination across interconnected networks; it has no mechanisms of its own for end-to-end reliability, flow control or sequencing. confirmedas of 1981-09-01

    2. [2]

      TCP gives applications a reliable, in-order stream of bytes, sending it as segments carried inside IP packets; it detects lost packets with sequence numbers and errors with checksums, and corrects them by retransmission. confirmedas of 2022-08-01

    3. [3]

      An autonomous system (AS) is a connected group of IP address blocks run by one or more network operators under a single, clearly defined routing policy. confirmedas of 1996-03-01

    4. [4]

      The Border Gateway Protocol (BGP) is how networks exchange reachability information, including the list of autonomous systems a route passes through, which is enough to build a graph of how autonomous systems connect. confirmedas of 2006-01-01

    5. [5]

      The Internet Society describes an internet exchange point (IXP) as a physical, usually neutral location where networks meet to exchange local traffic through a switch, giving shorter and cheaper routes than sending local traffic abroad. reportedas of 2026-11-07

    6. [6]

      The ITU estimates that 74% of the world's population, about 6 billion people, were using the internet in 2025, up from 71% (5.8 billion) in 2024. confirmedas of 2025-10-15

    7. [7]

      IP's two basic functions are addressing and fragmentation; IP modules use the addresses in each packet's header to send it toward its destination, and choosing the path is called routing. confirmedas of 1981-09-01

    8. [8]

      A mobile phone's signal travels wirelessly only to the nearest cell tower; from there data is carried over land and subsea fiber-optic cables. reportedas of 2026-11-07

    9. [9]

      The ITU says submarine telecom cables carry over 99% of international data exchange. confirmedas of 2026-11-07

    10. [10]

      The IETF describes the internet protocol suite as layers, with the link, IP and transport layers below the application layer at the top; a host typically must implement at least one protocol from each layer. confirmedas of 1989-10-01

    11. [11]

      Every IPv4 packet carries a time-to-live field that each module processing it must decrease by at least one; a packet whose value reaches zero is destroyed, so packets cannot circulate forever. confirmedas of 1981-09-01

      • RFC 791: Internet Protocol · IETF (RFC Editor) · Primary source · 1981-09-01 · Section 3.1, Time to Live (retrieved 2026-11-07)
      • RFC 791: Internet Protocol · IETF (RFC Editor) · Primary source · 1981-09-01 · Section 3.1, Time to Live (retrieved 2026-11-07)
    12. [12]

      IPv4 was first deployed on 1 January 1983 and is still the most commonly used version of IP; its addresses are 32-bit numbers usually written as four numbers separated by dots. confirmedas of 2026-11-07

    13. [13]

      IPv6, whose deployment began in 1999, enlarges IP addresses from 32 bits to 128 bits, allowing more levels of addressing hierarchy and a far greater number of addressable devices. confirmedas of 2026-11-07

    14. [14]

      IANA allocates pools of IP addresses to five Regional Internet Registries (AFRINIC, APNIC, ARIN, LACNIC and RIPE NCC); internet service providers obtain addresses from these or from local and national registries, and assign them to users. confirmedas of 2026-11-07

    15. [15]

      IANA maintains the authoritative public registries of internet identifiers such as domain names, IP addresses and protocol codes; its services are free, and the functions are performed by Public Technical Identifiers (PTI), an ICANN affiliate. confirmedas of 2026-11-07

      • About us · IANA · Primary source (retrieved 2026-11-07)
      • About us · IANA · Primary source (retrieved 2026-11-07)
      • About us · IANA · Primary source (retrieved 2026-11-07)
      • About us · IANA · Primary source (retrieved 2026-11-07)
    16. [16]

      UDP lets programs send messages with a minimum of protocol machinery, but does not guarantee delivery or protect against duplicates; applications that need ordered, reliable delivery are told to use TCP. confirmedas of 1980-08-28

    17. [17]

      QUIC, standardized by the IETF in 2021, is a secure, general-purpose, connection-oriented transport protocol built on UDP. confirmedas of 2021-05-01

    18. [18]

      DNS servers use port 53, and standard queries normally travel over UDP; in the original specification UDP messages were limited to 512 bytes, with longer answers truncated and flagged. confirmedas of 1987-11-01

    19. [19]

      By ITU estimates for 2025, 94% of people in high-income countries used the internet, against 23% in low-income countries and 36% in Africa. confirmedas of 2025-10-15

    Revision history (1)
    1. Page created.

    Created Nov 7, 2026. Last reviewed by an editor on Nov 8, 2026. Next scheduled review: May 1, 2027.

    Cite this page

    "How the internet works: packets, routing and peering." ContentLora, updated Nov 7, 2026. https://contentlora.com/explain/how-the-internet-works

    Spotted an error? Suggest a correction or emailcorrections@contentlora.com.