retagged by
669 views
0 votes
0 votes
Class B network on the internet has a subnet mask of 255.255.119.0 what is maximum possible hosts per subnet. Assuming Classfull Addressing Scheme
retagged by

2 Answers

4 votes
4 votes

Answer: 1022

Class B Subnet Mask given = $255.255.119.0$ = $11111111.11111111.01110111.00000000$

Here it is a non-contiguous subnet mask, which is possible only theoretically, not practically.

In this type of SM, we calculate only no. of $1’s$ as part of NID + SID and $0’s$ as HID.

Thus here, no. of $1’s$ = $22 \ bits$

NID = Class B = $16 \ bits$

SID = $22-16 = 6 \ bits$

HID = $32-22 = 10 \ bits$

Thus no. of hosts/subnet possible = $2^{10}-2 = 1022$

Related questions

1 votes
1 votes
2 answers
2
APOORV PANSE asked Jun 1, 2016
2,987 views
Consider the following c fragment : void DAA(n) { int i,j,k,x=0; for (i=1 ; i <=n ; i++) for (j=1 ; j <= i * i ; j++) { if ( j mod i == 0 ) for ( k = 1 ; k <= j ; k++) x=...
1 votes
1 votes
0 answers
4
Ankush Tiwari asked Jul 27, 2016
647 views
T(n)=sqrt(2T(n/2))+logn