Computer Science - Linux - Discussion

Discussion :: Linux - Section 1 (Q.No.8)


How many networks and nodes per network, are allowed by the Class B network?

[A]. 127 networks and 16,777,216 nodes per network
[B]. 16,384 networks and 65,534 nodes per network
[C]. 2,097,152 networks and 254 nodes per network
[D]. All of the above
[E]. None of the above

Answer: Option B


No answer description available for this question.

Mahendra Raygade said: (Feb 2, 2013)  
Expansion of the network had to ensure compatibility with the existing address space and the Internet Protocol (IP) packet structure, and avoid the renumbering of the existing networks. The solution was to expand the definition of the network number field to include more bits, allowing more networks to be designated, each potentially having fewer hosts.

Neha Soni said: (Mar 16, 2015)  
For class B n/w port is 2 byte and no of host port is 2 byte = 16 bits.

No of n/w = 2^14.

No of nodes = 2^16-2.

Ajay Sh said: (Jan 2, 2017)  
I am not getting this calculation. Can someone explain it clearly?

Niraj Singh said: (Apr 10, 2017)  
No of nodes/host= 2^n - 2( where n is number of host bit).

eg. For class A, 11111111 00000000 00000000 00000000;

Here, host bit is total number of 0, i.e 24.

In each IpV4, we have 4 set of decimal number is separated by (.), which mean four octets of a binary digit (0 & 1).

Number of network= 2^(n-m (or 2)).

Amil said: (Apr 30, 2017)  
What are Classes of a network? Please explain.

Kumar Shanu said: (Sep 1, 2018)  
There are generally 5 classes of network, A, B, C, D, E and generally we people using class C network.

D Venkataramana said: (Jan 15, 2020)  
Based on IPv4
The IP length is 32 bits( 4 Bytes).
Based on the first Byte we can say the type of class.
class A =1-126.
class B=128-191.
class C=192-223.
class D=224-239.
class E=240-255.

In this 0 & 127 is used for special purpose; -----> Not Possible, -----> Multi casting.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.