Computer Science - Linux - Discussion
Discussion Forum : Linux - Section 1 (Q.No. 8)
8.
How many networks and nodes per network, are allowed by the Class B network?
Discussion:
7 comments Page 1 of 1.
D venkataramana said:
6 years ago
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;
0.0.0.0 -----> Not Possible,
127.0.0.0 -----> Multi casting.
---------------------
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;
0.0.0.0 -----> Not Possible,
127.0.0.0 -----> Multi casting.
Kumar shanu said:
7 years ago
There are generally 5 classes of network, A, B, C, D, E and generally we people using class C network.
Amil said:
8 years ago
What are Classes of a network? Please explain.
(1)
Niraj Singh said:
8 years ago
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)).
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)).
Ajay Sh said:
9 years ago
I am not getting this calculation. Can someone explain it clearly?
Neha soni said:
1 decade ago
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.
No of n/w = 2^14.
No of nodes = 2^16-2.
(1)
MAhendra raygade said:
1 decade ago
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.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers