Computers use a special way to talk. 
Computers use a special way to talk. 
The Internet works by using a set of rules. One main rule is called the Internet Protocol, or IP. 
To send data, IP uses small pieces called packets. Each packet has two parts. One part is the payload. This is the actual data being sent. The other part is the header. The header holds the source and destination addresses. This process of putting data inside a packet is called encapsulation.
Routers help move these packets across the web. A router is a tool that carries packets between networks. IP is a "connectionless" service. This means it does not check if the path is perfect. It tries its best to deliver every packet. Sometimes packets arrive out of order. Other times, some packets might get lost. Other rules in the system work to fix these issues. The most common version of IP is IPv4. A newer version called IPv6 is also being used now.
The Internet Protocol, or IP, is a set of rules that makes the Internet work. It acts like a guide for data moving across many different networks.
To move information, IP uses a method called encapsulation.
Scientists first described this way of sharing resources in 1974. 
There are different versions of this protocol used over time. The most common one is called IPv4. It uses 32-bit addresses, which allows for about 4.3 billion addresses.
IP is a "connectionless" service, which means it works by trying its best. It does not guarantee that every packet will arrive perfectly. Sometimes, data can be lost, copied, or arrive out of order.
The Internet Protocol, commonly known as IP, is a fundamental communications protocol. It operates at the network layer of the Internet protocol suite. Its primary purpose is to relay datagrams across various network boundaries. This routing function enables internetworking, which essentially establishes the Internet itself. IP handles the delivery of packets from a source host to a destination host. It does this solely by using the IP addresses found in packet headers.
To move information, IP uses a process called encapsulation. This involves nesting a data payload inside a packet structure. Each datagram consists of two distinct components: a header and a payload. The payload contains the actual data being transported. The header contains the source IP address and the destination IP address. It also includes other metadata required to route and deliver the datagram.
IP routing is a task performed by both individual hosts and specialized devices called routers. Routers function to transport packets across different network boundaries. These routers communicate with each other using specific routing protocols. These protocols are categorized as either interior gateway protocols or exterior gateway protocols. The specific type used depends on the topology of the network. The address space itself is divided into smaller sections called subnets. This process involves the designation of specific network prefixes.
The history of IP began with the work of Vint Cerf and Bob Kahn. In May 1974, they published a paper titled "A Protocol for Packet Network Intercommunication." This paper described a method for sharing resources using packet switching. Originally, they developed a monolithic Transmission Control Program. This program included both connection-oriented links and datagram services. Later, this was divided into a modular architecture. This modular system became known as the TCP/IP suite. 
There have been several versions of the Internet Protocol. Internet Protocol version 4, or IPv4, is currently the dominant version. It uses 32-bit addresses, which allows for approximately 4.3 billion unique addresses. Because the number of devices grew, a successor was needed. This successor is Internet Protocol version 6, or IPv6. IPv6 uses much larger 128-bit addresses. This provides approximately 340 undecillion addresses.
IP is described as a connectionless datagram service. This means it provides what is called "best-effort" delivery. The protocol is considered unreliable because it does not guarantee perfection. Various fault conditions can occur during transmission. These include data corruption, packet loss, or the duplication of packets. Because routing is dynamic, packets may take different paths to the same destination. This can result in packets arriving out of order. The design follows the end-to-end principle. This principle places the intelligence in the end nodes rather than the network itself.
Technical constraints like the Maximum Transmission Unit, or MTU, also affect how IP works. The MTU is the maximum size of a data packet allowed on a specific link. In IPv4, the protocol can automatically perform fragmentation. This means it breaks a large datagram into smaller units if the link MTU is exceeded. IPv4 also provides a way to re-order these fragments. In contrast, IPv6 does not perform fragmentation within network elements. Instead, it requires end hosts to avoid exceeding the path MTU. This difference reflects how the two versions manage network resources and complexity.
🖼️ Images & Media (3)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.