Current location - Education and Training Encyclopedia - University ranking - Briefly describe the structure and relationship of IP address, domain name and URL address.
Briefly describe the structure and relationship of IP address, domain name and URL address.
1, and the IP address is also called URL (Chinese Uniform Resource Locator). The length of each IP address is 32 bits, and it is divided into 4 segments, each segment is 8 bits (1 byte), usually expressed in decimal digits, and the range of each segment is 1 ~ 254. Each byte (segment) can also be represented in hexadecimal or binary. Each IP address includes two IDs (identification codes), namely the network ID and the host ID. All hosts on the same physical network use the same network ID and host (workstation, server, router, etc.). ) has a corresponding host ID. In this way, the four bytes of IP address are divided into two parts, one of which is used to represent the specific network segment, that is, the network ID; The other part is used to represent the specific node, that is, the host ID. Such 32-bit addresses are divided into five categories, corresponding to Class A, Class B, Class C, Class D and Class E IP addresses respectively. Such as: 168. 160.224.36

2, domain name, domain name is composed of several English words, such as www.jnu.edu.cn has a certain meaning, in which cn stands for China, edu stands for education, jnu stands for Jinan University, and www stands for World Wide Web (or WorldWideWed). The whole domain name represents the website of Jinan University on China Education Network.

3. We usually open a web page and enter a URL, which is the URL address, which is interpreted by the domain name server and translated into the corresponding IP, so as to find the real IP address of the site.