Current location - Education and Training Encyclopedia - University ranking - The administrator of XYZ Company is subnetting the office network. It is necessary to divide a class C network segment into several subnets of equal size for office users of various departments to use
The administrator of XYZ Company is subnetting the office network. It is necessary to divide a class C network segment into several subnets of equal size for office users of various departments to use
The administrator of XYZ Company is subnetting the office network. It is necessary to divide a class C network segment into several subnets of equal size for office users of various departments to use. In short, let's look at it this way.

1. For example, a class C network segment is/kloc-0 10.2.2.0 255.255.0, which contains 256 IPS ranging from 0 to 255.

2. Then according to the information given by the topic, divide this network segment into subnets with equal size, that is, the number of hosts in each subnet is the same.

3. How to divide these 256 addresses equally? According to the stupid method, the number of subnets can be:128,64,32,16,4,2,1; Then the number of hosts corresponding to each subnet can be 2, 4, 8, 16, 32, 64, 128, 256.

4. Now look carefully, if it is divided into 128 subnets, the number of hosts in each subnet is 2. But if it is 2, then one of these two IP addresses is a network address and the other is a broadcast address. Obviously impossible, because there is no available host address, so it is excluded.

5. If the number of subnets divided is 1, then there is no subnet division, which does not meet the requirements of the topic, so it is also excluded.

6. Then the rest is to divide the subnet into: 64, 32, 16, 8, 4, 2; That is, the number of hosts corresponding to each subnet is 4, 8, 16, 32, 64, 128.

(Note: Except the network address and broadcast address, each subnet cannot be used as the host address. The actual number of hosts should be: 2,6,14,30,62, 126).

7. Do the math yourself. It should be six, right