/ROOT/NODES/POSTS/2026/01/24

Internet Science Popularization Series - What are IPv4 and IPv6?

STAMP: 2026-01-24 // UID: b1952949 // AUTH: VERIFIED

1. What are IPv4 / IPv6?

Imagine the internet as a giant city, and every device connected to the internet (computers, mobile phones, servers, etc.) is like a house in that city. For these houses to find and communicate with each other, they all need an address.

  • IPv4 (Internet Protocol version 4): This is the address system used in the early days of the internet. You can think of it as a four-part numerical address, with each part consisting of numbers from 0 to 255, separated by dots.
  • Examples: 192.168.1.1 or 8.8.8.8 (This is Google's DNS server address)
  • Characteristics: Like early telephone numbers, it was sufficient for a while, but as the city (internet) grew larger and the number of houses (devices) increased, this address system became insufficient.
  • IPv6 (Internet Protocol version 6): This is a new generation address system designed to solve the IPv4 address shortage. You can think of it as a longer, more complex address, composed of numbers and letters, separated by colons.
  • Example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334 (This is an example address)
  • Characteristics: The number of addresses is incredibly vast, enough to assign an address to almost every atom on Earth, completely solving the problem of address exhaustion.

2. The Differences Between Them

The most fundamental differences are the number of addresses and the address format:

  • Number of Addresses:
  • IPv4: Approximately 4.3 billion addresses. This sounds like a lot, but with the explosive growth of devices worldwide today, it's far from enough.
  • IPv6: The number of addresses is astronomical, approximately 2 to the power of 128, far more than IPv4. You can think of it this way: IPv4 addresses are like the number of grains of sand on Earth, while IPv6 addresses are like the number of grains of sand in the entire universe, and then some. * Address Format:
  • IPv4: Four decimal numbers separated by dots (e.g., 192.168.1.1).
  • IPv6: Eight hexadecimal numbers separated by colons (e.g., 2001:db8::1, where some zeros are omitted).
  • Other Differences (more technical, but simply put):
  • Security: IPv6 was designed with security in mind, incorporating the IPsec protocol to provide better encryption and authentication.
  • Efficiency: IPv6's header (the header information of the data packet) is more concise, potentially leading to more efficient processing.
  • Configuration: IPv6 supports more convenient automatic configuration, making it easier for devices to obtain addresses when connecting to the network.

3. The Significance of IPv4's Birth

In the early days of the internet, no one anticipated its rapid growth. The birth of IPv4 was like providing the nascent internet with a basic set of communication rules and an addressing system.

  • Significance:
  • Enabling devices to communicate with each other: Like giving each house a house number, allowing the postman (data packets) to know where to deliver.
  • Building the early internet: Enabling data exchange between computers, laying the foundation for the later information revolution.
  • Driving the arrival of the information age: Without IPv4, we wouldn't have the internet we see today.

4. The Significance of IPv6's Birth

With the popularization of the internet, especially the emergence of smartphones and IoT devices, IPv4 addresses quickly became insufficient. The birth of IPv6 was to solve the address exhaustion crisis and provide unlimited possibilities for the future development of the internet.

  • Significance:
  • Solving the address exhaustion problem: Ensuring that more devices in the future (mobile phones, smart homes, cars, sensors, etc.) can connect to the internet without being left behind due to a lack of addresses.
  • Supporting the Internet of Things (IoT): Providing sufficient addresses for a massive number of IoT devices, making smart homes and smart cities possible.
  • Improving network efficiency and security: Optimized in design to make the network run more smoothly and with higher security. + Paving the way for the continued development of the internet: Ensuring that the internet can continue to expand and innovate.

5. Why They Are Incompatible

Imagine you have an address system using the English alphabet, while your friend has an address system using the Russian alphabet. Your address formats are completely different, so you cannot directly send a letter to your friend's Russian address, and your friend cannot directly send a letter to you.

  • Fundamental reason: IPv4 and IPv6 have fundamental differences in data packet format, addressing methods, and routing protocols. They are two independently designed communication protocols.
  • Different data packet structures: Like different envelope sizes and ways of filling in information.
  • Different addressing methods: The length and representation of addresses are completely different.
  • Different routing rules: The rules by which network devices (routers) identify and forward data packets are also different.

Therefore, a device that only recognizes IPv4 addresses cannot directly understand data packets with IPv6 addresses, and vice versa. This is like a person who only understands Chinese being unable to directly read a French book.


6. The Concept of Public Networks

In the large city of the internet, each of us lives in our own house.

  • Public Network / Public IP Address:
  • Concept: A public IP address is like your public, unique house number in the city. With this address, people from anywhere in the world can directly find you and communicate with you.
  • Function: Your computer, mobile phone, server, etc., need a public IP address to directly connect to the internet, be accessed by others, or access other services on the internet.
  • Example: When you surf the internet at home, your router may have a public IP address. This address is assigned to you by your ISP (Internet Service Provider), allowing your home devices to "go out" and communicate with other devices on the internet.
  • Private Network / Private IP Address:
  • Concept: A private IP address is like your room number or building number within your residential area. These addresses are only valid within your own home (local area network), and people outside don't know them and cannot directly find you using this address. + Function: Within a family or company network, devices use private IP addresses to communicate with each other, such as your computer and printer at home accessing each other. These addresses are reusable; for example, 192.168.1.100 in your home and 192.168.1.100 in your neighbor's home are two different addresses because they are in different "homes."
  • Examples: Address ranges such as 192.168.x.x, 10.x.x.x, and 172.16.x.x to 172.31.x.x are commonly used as private IP addresses.

Why are private IP addresses needed? Because public IP addresses are too valuable (especially IPv4), and if every device were assigned a public IP address, they would have been used up long ago. Through NAT (Network Address Translation) technology, one public IP address can be shared by many devices with private IP addresses to access the internet.


7. How to obtain a public IPv4 address?

Generally, you cannot directly "buy" or "apply for" a public IPv4 address as an individual.

  • Main methods:
  • Through your ISP (Internet Service Provider): When you subscribe to broadband service, your ISP will assign you a public IP address (usually dynamic, which may change, or you can pay for a fixed static IP address). Your router will use this address to connect to the internet.
  • Enterprise users: Large enterprises or organizations can directly apply for IP address blocks from regional internet registries (RIRs, such as APNIC in the Asia-Pacific region), but the application requirements and costs are relatively high.
  • Purchase/Lease: In some IP address trading markets, you can buy or lease unused public IPv4 addresses, but this is usually very expensive and subject to strict regulations.
  • Simplified explanation: It's like wanting a publicly visible house number; you need to apply to the local postal service (ISP), and they will assign one to you.

8. How to obtain a public IPv6 address?

Obtaining a public IPv6 address is relatively easier because there are a vast number of addresses available. * Main Methods: 1. Through your ISP (Internet Service Provider): More and more ISPs are now offering IPv6 services. When you connect to an IPv6-enabled ISP network, your device (usually a router) will automatically obtain a public IPv6 address from the ISP. 2. Automatic Configuration: IPv6 supports stateless address auto-configuration (SLAAC), allowing devices to automatically generate a public IPv6 address based on network information, even without a DHCP server. 3. Enterprise Users: Enterprises can also apply for IPv6 address blocks from RIRs (Regional Internet Registries). * Simplified Explanation: It's like there are so many houses in the city now that the government (ISP) is generously giving everyone a new address, and this address system is so vast that almost everyone can easily get one. Often, you just need to connect to an IPv6-enabled network, and it will automatically assign you one.


9. Uses of IPv4

During its limited lifespan, IPv4 supported the early development and popularization of the internet.

  • Main Uses:
  • Connecting devices to the internet: Enabling computers, servers, and early mobile phones to access web pages, send emails, and communicate online.
  • Building early internet services: Supporting the operation of services such as email, FTP, and early websites.
  • Local area network communication: Private IPv4 addresses are used for communication between devices within homes and businesses.
  • Simplified Explanation: Like the early telephone system, allowing people to call each other and exchange information. Although the number of addresses was limited, it was powerful enough for that era.

10. Uses of IPv6

IPv6 is the future of the internet, and its uses are more extensive and far-reaching.

  • Main Uses:
  • Supporting a massive number of connected devices: Providing sufficient addresses for all Internet of Things (IoT) devices, including smartphones, tablets, smart TVs, smart home devices, wearable devices, cars, industrial sensors, etc., enabling true "Internet of Everything."
  • Improving network performance and efficiency: A more optimized header design may lead to faster transmission speeds and lower latency.
  • Enhancing network security: The built-in IPsec protocol can provide better end-to-end security.
  • Simplifying network configuration: Automatic configuration features make network management more convenient. + Supports new network applications: Provides foundational address support for various innovative applications and services that may emerge in the future.
  • Simplified explanation: It's like a brand new, infinitely large city with countless streets and house numbers. You can put anything (any device) into it, allowing them to freely connect with each other, and communicate more smoothly and securely. For example, your refrigerator, air conditioner, light bulbs, or even your shoes, could each have their own address and be able to connect to the internet and communicate with each other, following your commands.
# SOURCE_NODE:
# LICENSE: CC-BY-NC-SA-4.0
// EOF_SIGNAL_RECEIVED