IP address CIDR Block

Source: Internet
Author: User

Example 1: 131.107.0.0 is divided into two network segments? How many host addresses are there?
1. Confirm it as a Class B address!
2. Due to the two network segments, the subnet mask of the two subnet IDs must be 1). Note that the subnet IDs cannot be 0 or 1, and the subnet IDs must be at least two;
3. The subnet ID has two statuses: 01 or 10! Because 00 and 11 are all 0 and all 1 are not available)
Therefore, the first network address is as follows: a total of two hosts are in the power of 14-2)
131.107. (01) 000000.00000001
255.255. (11) 000000.00000000:
First server: netid: 131.107.64.1 subnet mask: 201710000192.0
Last Server: 131.107.127.254 201710000192.0
The second network address is as follows: (a total of 2 hosts are in the power of 14-2)
131.107. (10) 000000.00000001
255.255. (11) 000000.00000000
First server address: 131.107.128.1 201710000192.0
Last one: 131.127.191.254 255.255.192.0
Example 2:
Netid: 163.257.52.119 subent mask: 255.255.248.0 please confirm the network of the host
And the number of broadcast addresses and hosts in the subnet?
1. Confirm it as a Class B address!
2. Convert to binary 163.257. (00010) 100.01110111
255.255. (11111) 000.00000000 (from this we can see that when the network segment is divided, 5 digits are lent to the host space )!
3. Perform and operate based on IP & Subnet Mask = net ID! That is, 52 & 248
(00110) 100
& Amp; (11111) 000
--------------
(00110) 000
4. The network of the host is 163.257. (00110). 00000000, that is, 163.257.48.0.
5. The broadcast address is from the host location to 1, that is, 163.257. (00110) 111.11111111: 163.257.55.255
6. The number of hosts is 2 to the power of 11-2!

Example 3:
222.34.19.40?
1. Class C address!
2. 40 & 224: 00101000 & 11100000 = 100000
3. The subnet of the host is 222.34.19.32, and the number of hosts is 2 to the power of 5-2!

Remember the following subnet mask values:
255.255.255.0 (00000000) 1
2017100000000128 (10000000) 2
2017100000000192 (11000000) 4
Optional bytes faster than (11100000) 8
2017100000000240 (11110000) 16
255.255.255.248 (11111000) 32
255.255.255.252 (11111100) 64

For example, divide 203.67.10.0 into two upper subnets, and its subnet mask? 255.255.255.192)
When it is divided into eight subnets, its subnet mask? Too many threads)
For example, write out the IPADDRESS range when 203.67.10.0 is divided into eight network segments!

Related Articles]

  • Classic tips for finding the IP address of the recipient
  • IP address addressing rules
  • CATEGORY south of OSPFIP address

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.