Home > other >  Which help to solve this problem?
Which help to solve this problem?

Time:10-01

A branch, there are seven departments (A - G); A department: 31 hosts, B department: 60 host, department C: 19 host D departments: 72 hosts, E departments: 9 host, F department: 24 host, G: 46 host, corporation network, distribution IP172.16.0.0/22, how to meet the needs of each department host divide the quantity?

CodePudding user response:

Do your own sofa, ha, ha, ha

CodePudding user response:

Can assign IP addresses are along/22, namely host range is 172.16.0.1 to 172.16.3.254, then should be divided "at least" altogether seven subnets (department)

Plan 1 (recommend, unified mask management operations are convenient) : 22 all along/run out, the average allocation, maximizing the D department, so the host number in the middle of the 62-126, all mask use 25, classified as the following:

Subnet, effective host, the broadcast address
Along, 172.16.0.1 to 172.16.0.126 172.16.0.127
172.16.0.128 172.16.0.129 to 172.16.0.254, 172.16.0.255
172.16.1.0 172.16.1.1 to 172.16.1.126, 172.16.1.127
172.16.1.128 172.16.1.129 to 172.16.1.254, 172.16.1.255
172.16.2.0 172.16.2.1 to 172.16.2.126, 172.16.2.127
172.16.2.128 172.16.2.129 to 172.16.2.254, 172.16.2.255
172.16.3.0 172.16.3.1 to 172.16.3.126, 172.16.3.127
172.16.3.128 172.16.3.129 to 172.16.3.254, 172.16.3.255

Can be divided into eight subnet! So meet the requirements,

Scheme 2 (a great trouble to extremely is not recommended, operations, and will waste the middle part of the IP address), to each according to his need, have reserved the address for future expansion to prepare:
A: the host number 31, use 26 mask, divided as follows:
Subnet, effective host, the broadcast address
Along, 172.16.0.1 to 172.16.0.62 172.16.0.63
B: the host number 60, use 26 mask, divided as follows:
Subnet, effective host, the broadcast address
172.16.0.64 172.16.0.65 to 172.16.0.126, 172.16.0.127
C: host number 19, mask use 27, divided as follows:
Subnet, effective host, the broadcast address
172.16.0.128 172.16.0.129 to 172.16.0.158, 172.16.0.159
D: the host number 72, use 26 mask, divided as follows:
Subnet, effective host, the broadcast address
172.16.1.0 172.16.1.1 to 172.16.1.126, 172.16.1.127
E: the host number 9, use 26 mask, divided as follows:
Subnet, effective host, the broadcast address
172.16.1.128 172.16.1.129 to 172.16.1.142, 172.16.1.143
F: host number 24, mask use 26, divided as follows:
Subnet, effective host, the broadcast address
172.16.1.160 172.16.1.161 to 172.16.1.190, 172.16.1.191
G: host number 46, use 26 mask, divided as follows:
Subnet, effective host, the broadcast address
172.16.1.192 172.16.1.193 to 172.16.1.254, 172.16.1.255

Although demand assignment will set aside a third address, but do not have a unified planning is not reasonable, can cause great trouble to the operations, and will waste the middle part of the IP address,

CodePudding user response:

Sorry, write too fast, write the wrong Numbers, distribution there is no problem, a slip of the pen:

D: host number 72, mask using the 25 , divided as follows:
Subnet, effective host, the broadcast address
172.16.1.0 172.16.1.1 to 172.16.1.126, 172.16.1.127
E: host number 9, mask using the 28, divided as follows:
Subnet, effective host, the broadcast address
172.16.1.128 172.16.1.129 to 172.16.1.142, 172.16.1.143
F: host number 24, mask using the 27, divided as follows:
Subnet, effective host, the broadcast address
172.16.1.160 172.16.1.161 to 172.16.1.190 172.16.1.191

CodePudding user response:

Hello, I'd like to ask you, your plan 1 points in eight subnet, the eight subnet is how come?

CodePudding user response:

I am a novice, I just delivered my understanding based on the second floor, may be rough, if wrong, please forgive me, look not to understand just skip, don't spray
Eight subnet, is evenly distributed, along/22, this can be seen his subnet is 255.255.252.0 11111111.11111111.11111100.00000000, which is the combination of the two after the third BaZhong 00.01.10.11, four, and you are seven departments, so the average allocation is a kind of combination division 2 subnets,
D120, according to the most branch need to host a is 01111111, seven (2 * 7), so the mask is 255.255.255.128, so first should be 172.16.0.1 (11111111.11111111.111111 . 0 0000001)到172.16.0.126(11111111.11111111.111111 00.0 1111110)全0全1不能当主机地址使用,172.16.0.0和172.16.0.127就是子网和广播,第二个就是172.16.0.129(11111111.11111111.111111 00.1 0000001)到172.16.0.254(11111111.11111111.111111 00.1 1111110),172.16.0.128和172.16.0.255当做子网和广播使用,当172.16.0.0段使用完后用172.16.1.0段,这个和172.16.0.0段一样分配,像172.16.1.1(11111111.11111111.111111 01.0 0000001)到172.16.1.126(11111111.11111111.111111 01.0 1111110),其中172.16.1.0和172.16.1.127做子网和广播使用,172.16.1.129(11111111.11111111.111111 01.1 0000001)到172.16.1.254(11111111.11111111.111111 01.1 1111110),其中172.16.1.128和172.16.1.255做子网和广播使用,下面以此类推,
Per subnet can contain 2 * 7-2 host, namely 126 IP can be used for computer configuration, each department use enough,
This is my the concept of eight subnetting, I also don't know whether this meaning,
  • Related