Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the basic knowledge points of IP address

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "what are the basic knowledge points of IP address". In the daily operation, I believe that many people have doubts about the basic knowledge points of IP address. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the questions of "what are the basic knowledge points of IP address?" Next, please follow the editor to study!

Public and private addresses:

The public address (Public address) is the responsibility of Inter NIC (Internet Network Information Center Internet Information Center). These IP addresses are assigned to organizations that register and apply to Inter NIC. Access the Internet directly through it.

Private addresses (Private address) are unregistered addresses and are intended for use within the organization.

The internal private addresses reserved are listed below

Category A 10.0.0.0Mutual 10.255.255.255

Category B 172.16.0.0Mutual 172.31.255.255

Class C 192.168.0.0While 192.168.255.255

Classification:

When the Internet was originally designed, in order to facilitate addressing and hierarchical construction of the network, 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, and a host on the network (including workstations, servers, routers, etc.) has a host ID corresponding to it. The Internet committee defined five types of IP addresses to suit networks of different capacities, namely, Class A ~ Class E.

Among them, categories A, B and C3 (the following table) are uniformly assigned by InternetNIC around the world, and categories D and E are special addresses.

Network category

Maximum number of network

IP address range

Maximum number of hosts

Private IP address range

A

126 (2 ^ 7-2)

1.0.0.0--127.255.255.255

16777214

10.0.0.0--10.255.255.255

B

16384 (2 ^ 14)

128.0.0.0--191.255.255.255

65534

172.16.0.0--172.31.255.255

C

2097152 (2 ^ 21)

192.0.0.0--223.255.255.255

two hundred and fifty four

192.168.0.0--192.168.255.255

Subnet mask classification:

Subnet masks fall into two categories. One is the default subnet mask, and the other is the custom subnet mask. The default subnet mask is unsubnetted, the bits of the corresponding network number are set to 1, and the host number is set to 0.

Class A network default subnet mask: 255.0.0.0

Class B network default subnet mask: 255.255.0.0

Default subnet mask for Class C network: 255.255.255.0

A custom subnet mask divides a network into several subnets, and each segment needs to use a different network number or subnet number. in fact, we can think of the host number as divided into two parts: the subnet number and the subnet host number. The form is as follows:

Unsubnetted ip address: network number + host number

Ip address after subnetting: network number + subnet number + subnet host number

In other words, after the ip address is transformed into the subnet, part of the previous host number location is given to the subnet number, and the rest is the subnet host number. The subnet mask is a 32-bit binary number, and its subnet host identification part is all "0". The subnet mask can be used to determine whether two hosts are in the same subnet. If the IP address of two hosts is the same as their subnet mask, it means that the two hosts are in the same subnet.

At this point, the study of "what are the basic knowledge points of IP address" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report