In: Computer Science
a)
192.168.5.0/22
192 means Ip class belong to class c.
means 24 is already reserved so it is not possible.
b)
192.168.5.0/23
192 means Ip class belong to class c.
means 24 is already reserved so it is not possible.
c)
192.168.5.0/24
192 means Ip class belong to class c.
means 24 is already reserved so there is one sebnet.
NID + SID = 24
24 + SID = 24
SID = 0
Total number of subnet = 2^0 = 1.
toal number of host in subnet is : 2^(no. of host bit )-2
= 2^(32-24)-2
=2^(8)-2
=254
the size of subnet block = 254
subnet block:192.168.5.0/24
Host braodcast address whren all hostbit is 1.
so,192.168.5.00000000/24
change into 1.
192.168.5.11111111/24
192.168.5.255/24
d)
192.168.5.0/25
192 means Ip class belong to class c.
means 24 is already reserved so there is one sebnet.
NID + SID = 25
24 + SID = 25
SID = 1
Total number of subnet = 2^1 = 2.
toal number of host in subnet is : 2^(no. of host bit )-2
= 2^(32-25)-2
=2^(7)-2
=126
the size of subnet block = 126
subnet block:
192.168.5.00000000/25 => 192.168.5.0/25
192.168.5.10000000/25 => 192.168.5.128/25
Host braodcast address whren all hostbit is 1.
so,
1st boradcast address: 192.168.5.01111111/25 =>
192.168.5.191/25
2st boardcast address: 192.168.5.11111111/25 =>
192.168.5.255/25
e)
192.168.5.0/26
192 means Ip class belong to class c.
means 24 is already reserved so there is one sebnet.
NID + SID = 26
24 + SID = 26
SID = 2
Total number of subnet = 2^2 = 4.
toal number of host in subnet is : 2^(no. of host bit )-2
= 2^(32-26)-2
=2^(6)-2
=62
the size of subnet block = 62
subnet block:
192.168.5.00000000/26 => 192.168.5.0/26
192.168.5.01000000/26 => 192.168.5.64/26
192.168.5.10000000/26 => 192.168.5.128/26
192.168.5.11000000/26 => 192.168.5.192/26
Host braodcast address whren all hostbit is 1.
so,
1st boradcast address: 192.168.5.00111111/26 =>
192.168.5.63/26
2st boardcast address: 192.168.5.01111111/26 =>
192.168.5.127/26
3st boradcast address: 192.168.5.10111111/26 =>
192.168.5.191/26
4st boardcast address: 192.168.5.11111111/26 =>
192.168.5.255/26