
How Does an IP Address Get "Registered"?
When you buy a cloud server and see it has an IP address like 129.211.82.148, have you ever wondered: Who decides this address? Why isn't it 8.8.8.8? How does the global internet accurately deliver data to this address without sending it to the wrong place?
Behind this is a cleverly designed global "address assignment and navigation system." Let's use a "building a house" analogy to easily understand it.
Imagine the internet as a huge virtual country. Someone needs to manage all the "land" (that is, IP addresses). The top authority is called ICANN (Internet Corporation for Assigned Names and Numbers).
ICANN doesn’t handle the detailed land distribution itself. It divides the world into five large regions, each with a "branch office."
- The branch responsible for the Asia-Pacific region is called APNIC.
- Large "developers" like Tencent Cloud and Alibaba Cloud need to apply to APNIC: "We want a large plot of land to build a cloud server campus."
After review, APNIC might grant Tencent Cloud a large block, for example, the entire range from 129.211.0.0 to 129.211.255.255 (professionally called a /16 address block). This is like giving Tencent Cloud the development rights to the entire street named "129.211 Avenue."
Key point: From then on, the internet knows that the "129.211 Avenue" block belongs to Tencent Cloud.
After getting the entire "129.211 Avenue," Tencent Cloud doesn’t build randomly. It makes detailed urban plans, dividing the avenue into many neighborhoods (professionally called "subnets").
- For example, it carves out the area from
129.211.82.0to129.211.82.255, naming it "Neighborhood 82" (professional term129.211.82.0/24), specifically for a certain building in the Shanghai data center.
This planning keeps things orderly. Different neighborhoods (subnets) are assigned to different data centers and user types, making management easy.
Now, when you buy a Tencent Cloud server and choose to place it in the Shanghai data center, Tencent Cloud’s automated system springs into action:
- It checks which "houses" (free IPs) are still available in the "Neighborhood 82" planned for the Shanghai data center.
- It finds that house number
.148is still free. - So, the system assigns this house number
148to your server.
Finally, your server gets its unique address on the internet: 129.211.82.148.
129.211.82is the network part, equivalent to "129.211 Avenue, Neighborhood 82." This is your server’s "street name.".148is the host part, your server’s specific "house number" on that street.
Now, let’s see how data "finds its way" when you access your server from home.
-
You place an order: Your computer (IP
1.2.3.4) says: "I want to access129.211.82.148." The data packet is sent out, like a package. -
The package sorting center (router) works: The package first goes to your local network’s service point (the first router). The router looks at the address: "
129.211.82.148? Oh, this is a package for '129.211 Avenue.' All packages for this street go to Tencent Cloud’s main sorting center." It doesn’t need the exact house number, just the general direction. -
Long-distance transport: The package passes through several major hubs (backbone routers). Each hub only looks at the "street name" (network part) and forwards it towards Tencent Cloud. It’s like a package going from City A to City B.
-
Arriving at the Tencent Cloud campus: The package finally enters Tencent Cloud’s internal network. The internal routers here act like "neighborhood security." They have a more detailed map: "Neighborhood
129.211.82.0/24is in Shanghai Data Center #3, take the left gate." -
Precise delivery: The package reaches the "building manager" (switch) in Shanghai Data Center #3. The manager has a list of all house numbers in the building and finally slips the package under the door (network card) of room
148(your server).
So, your server’s IP address isn’t random. It’s based on a strict global allocation system:
- Global Allocation: Organizations like ICANN and APNIC assign large IP address blocks to providers like Tencent Cloud.
- Local Planning: Tencent Cloud then divides these into smaller blocks for different regional data centers.
- Automatic Assignment: When you create a server, it automatically gets a free IP from the resource pool.
This "network part" (like 129.211.82) is your server’s "origin" on the internet. It ensures countless data packets worldwide can efficiently and accurately find their way home.