TCP/IP---subnet addressing

Source: Internet
Author: User

All hosts are now required to support subnet addressing (RFC 950 [mogul and Postel 1985]). Not the I P address
As a simple network number and a host number, but the host number is divided into a subnet number and a host number.

The reason for this is because the Class A and Class B addresses allocate too much space for the host number, and the number of hosts that can be accommodated separately is
22 4-2 and 21 6-2. In fact, in a network people do not have so many hosts (various I p address format 1-5
Shown below). Because all 0 or 1 of the host number is invalid, we subtract the total by 2.

When i n T e R n i c obtains a certain type of I p network number, it is assigned by the local system administrator, he (or she)
Subnets, and how many bits are allocated to the subnet number and host number. For example, here is a Class B network address
(1 4 0. 2 5 2), in the remaining five bits, 8 bit is used for the subnet number, and 8 bit for the host number, as shown in format 3-5. Such
There are 2 5 4 subnets allowed, and each subnet can have 2 5 4 hosts.


TCP/IP---subnet addressing

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.