is as 32bit as the IP address, and the subnet mask is determined by using "1" for all corresponding bits that identify the network number in the IP address, and the bits corresponding to the host number are "0". such as a class C IP address divided into 2 subnets with 22 bits to identify the network number, its subnet mask is: 11111111 11111111 11111111 10000000 is 255.255.255.128. So we can see that the default subnet mask for Class A addresses is the 255.0.0.0,b class of 255.255.0.0,c class 2
growth of the network size. After careful analysis, we found that the increase in the size of the network is mainly due to the increase or decrease of network addresses. Therefore, the solution focuses on how to reduce network addresses. So the IP Network
Address multiplexing technology came into being. By reusing technology, several physical networks share the same IP address.
The number of network addresses is small.
Subnet addressing (subnet Routing) is also called
what the subnet mask is,/28 indicates how many bits are 1, max/32. but the first point you must know is: whether it is Class A, Class B or other class addresses, the maximum available value is only 30/, that is, retain 2 bits to the host bit CIDR value: 1. mask 255.0.0.0:/8 (default mask for Class A addresses) 2. mask listen 128.0.0:/9 3. mask listen 192.0.0:/10 4. mask 255.224.0.0:/11 5. mask listen 240.0.0:/12 6. mask listen 248.0.0:/13 7. mask 255.252.0.0:/14 8. mask 255.254.0.0:/15 9. mask
subnet is 172.16.0.32, and the last 1 is 172.16.255.192.4. Broadcast address: Next subnet-1. So the broadcast addresses of the first subnet and the last 1 subnets are respectively 172.16.0.63 and172.16.255.2235. The effective host range is: the host address of the first subnet is 172.16.0.33 to 172.16.0.62; the last 1 are 172.16.255.193 to 172.16.255.223.
A-class address subnetting is no different from Class B and Class C, except that the mask is ch
maximum value of X is 32, and the minimum is 0.
This also involves a subnetting problem:
If ICANN gives you 9.x.x.x, you get to be 9.0.0.0/8 such a Class A network, because the network is too big may be bad management, then you can divide the subnet, divided into 9.1.0.0/16, 9.2.0.0/16, 9.3.0.0/16 、、、 9.255.0.0/16, and then subdivided some are 9.255.1.0/24, 9.255.2.0/24 ... of course, you can split it down a little bit more.
There is also a proble
number, to divide it into 2 subnets will need to occupy 1 bits of the original host identity bit. At this point the network number bit becomes 25 bits, and the host label becomes 7 bits. Similarly borrowing 2 host bits can divide a class C network into 4 subnets ... How did the computer know if the network was divided into subnets? This can be seen from the subnet mask. The subnet mask is as 32bit as the IP address, and the subnet mask is determined by using "1" for all corresponding bits that
The network IP address "main" is divided into three categories of ABC, the following is the scope of coverage:
Class A: 0.0.0.0-127.255.255.255, whose subnet mask is 255.0.0.0 (another way to annotate by subnet mask is/8, which is to convert the subnet mask to binary, from left to 8 1)
Class B: 128.0.0.0-191.255.255.255, whose subnet mask is 255.255.0.0 (another way to annotate by subnet mask is/16, which is to convert the subnet mask to binary, from left to 16 1)
Class C: 192.0.0.0-223.255.2
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.