Home  >  Article  >  What does an IP address consist of on the Internet?

What does an IP address consist of on the Internet?

王林
王林Original
2021-01-22 15:07:4221030browse

In the Internet, the IP address is composed of a network number and a host number. When the Internet was originally designed, in order to facilitate addressing and hierarchical network construction, each IP address included two identification codes (ID), namely the network ID and the host ID. All hosts on the same physical network use the same network ID. A host on the network (including workstations, servers, etc.) on the network has a host ID corresponding to it.

What does an IP address consist of on the Internet?

#The operating environment of this article: windows10 system, thinkpad t480 computer.

IP address (Internet Protocol Address) refers to the Internet Protocol address, also translated as Internet Protocol address.

The IP address is a unified address format provided by the IP protocol. It assigns a logical address to each network and each host on the Internet to shield the differences in physical addresses.

IP address addressing method

When the Internet was originally designed, in order to facilitate addressing and hierarchical network construction, each IP address included two identification codes (ID ), i.e. network ID and host ID. All hosts on the same physical network use the same network ID. A host on the network (including workstations, servers, etc.) on the network has a host ID corresponding to it. The Internet Committee has defined 5 IP address types to suit networks of different capacities, namely Class A ~ Class E.

Among them, categories A, B, and C3 (table below) are uniformly allocated globally by InternetNIC, and categories D and E are special addresses.

##B16384(2^14)128.0.0.1-191.255.255.25465534172.16.0.0-172.31.255.255C2097152(2^21)192.0.0.1-223.255.255.254254IP address type
Category
Maximum number of networks
IP address range
Maximum number of hosts in a single network segment
Private IP address range
A
126(2^7-2)
1.0.0.1-127.255.255.254
16777214
##10.0.0.0-10.255.255.255
##192.168.0.0-192.168.255.255

1. Public address

The public address (Public address) is determined by Inter NIC (Internet Network Information Center (Internet Information Center) is responsible. These IP addresses are assigned to organizations that register and apply to Inter NIC. Direct access to the Internet through it.

2. Private address

Private address (Private address) is a non-registered address and is exclusively for internal use of the organization.

The reserved internal private addresses are listed below

Class A 10.0.0.0--10.255.255.255

Class B 172.16.0.0--172.31.255.255

C class 192.168.0.0--192.168.255.255

(Learning video sharing:

Introduction to Programming

)

The above is the detailed content of What does an IP address consist of on the Internet?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:what is busNext article:what is bus