Topics requirements:
to achieve the allocation of five departments and the IP address of the server with the 192.168.1.0/24 network, and give corresponding number five sectors are: 55,16,25,8,20
Need to know points:
Jingle :( first big meet after meet small, only allows multiple, less is not allowed and will not allow just good)
First five the number of descending order: 55,25,20,16,8
clear meaning of the questions, here to subnetting, conducted by bit computing.
/ 24: 1,111,111,111,111,111 1,111,111,100,000,000
- For correlation analysis of 55:
2 ^ 5 <55, 55 <2 ^ 6
then: master bit 2 ^ 6 = 64
network bit 2, bit borrow from the host 2, the suffix changes / 26
/26: 11111111 11111111 1,111,111,111,000,000
11000000 00111111
00000000 00000000
——————————————————————————————————————
00000000 00111111
0 63
前者为与运算 后者为或运算
It is the network address: 192.168.1.0/26
broadcast address: 192.168.1.63/26
available IP address 192.168.1.0/26--192.168.1.62/26
-
For correlation analysis 25:
2 ^ 4 <25, 2 ^ 5> 25,
then: master bit 2 ^ 5 = 32
network bit 3, bit borrow from the host 3, the suffix changes / 27
/27: 1,111,111,111,111,111 1,111,111,111,100,000
network address: 192.168.1.64/27
broadcast address: 192.168.1.95/27
available IP address 192.168.1.65/27-192.168.1.94/27 -
For correlation analysis of 20:
2 . 4 <20, 20 <2 5
Then: master bit 2 ^ 5 = 32
network bit 3, bit borrow from the host 3, the suffix changes / 27
/27: 11111111 1,111,111,111,111,111 11.1 million
Internet address is: 192.168.1.96/27
broadcast address: 192.168.1.127/27
available IP address 192.168.1.97/27-192.168.1.126/27 -
For correlation analysis of 16:
2 ^ 4 = 16
then: master bit 2 ^ 5 = 32
network bit 3, bit borrow from the host 3, the suffix changes / 27
/27: 1,111,111,111,111,111 1,111,111,111,100,000
network address : 192.168.1.128/27
broadcast address is: 192.168.1.159/27
available IP address 192.168.1.129/27-192.168.1.158/27 -
For correlation analysis of 8:
2 ^ 3 = 8
then: master bit 2 ^ 4 = 16
network 4 bits, 4 bits from the borrow bit host, becomes suffix / 28
/28: 1,111,111,111,111,111 1,111,111,111,110,000
network address : 192.168.1.160/28
broadcast address is: 192.168.1.175/28
available IP address 192.168.1.161/28-192.168.1.175/28
In summary, as shown below: