You are on page 1of 1

21.

a. log2 (500) = ~9 possible subnet:512 mask:17


b. since mask=17 ie(8+9) so netid=17bits
so, hostid = 32-17 = 15
no. of address per subnet = 2^15
c. first subnet has all netid's and hostid's 0
so, first address 16.0.0.0
last address in subnet 1(thr r 9 extra netid's)
00010000.00000000.01111111.11111111
16.0.127.255
d. now subnet 500
first address: hostid's = 0, netid's 500(binary)
00010000.11111001.10000000.00000000
16.249.128.0
second address: hostid's = 255 netid's 500(binary)
00010000.11111001.11111111.11111111
16.249.255.255
------------------------------------------------------------
22.
a. log2 (32) = 5 extra 1's=5 mask:\29
b. 2^3=8
c. subnet 1 :
1st address: hostid's=0, netid's=0
211.17.180.0
lst address: hostid's=1, netid's=0
211.17.180.7
d. for 32 subnet :
1st address: hostid's=0, netid's=1
211.17.180.11111000
211.17.180.248
lst address: hostid's=1, netid's=1
211.17.180.255
----------------------------------------------------------

You might also like