recategorized by
1,709 views
3 votes
3 votes

In the IPv4 addressing format, the number of networks allowed under Class C addresses is

  1. $2^{20}$
  2. $2^{24}$
  3. $2^{14}$
  4. $2^{21}$
recategorized by

3 Answers

Best answer
6 votes
6 votes
Every IPv4 is a 32 bit representation.

Below is the case for CLASSFUL IP ADDRESSES

In Class-C first 24 bits are used for NetworkID part and last 8 bits are used to identify host id.

So we think 2^ 24 networks possible but it is not correct because in class-C first three bits are always 110.

so remaning bits for NID part is 24-3=21

so with 21 bits we can form 2^21 different networks.

Just like this in Class-A first bit is always (0) Therefore number of networks in class-A is 2^7

Just like this in Class-B first two bits are always (10) Therefore number of networks in class-A is 2^14
selected by
2 votes
2 votes

Class C = 24 network bits + 8 host bits.

But first 3 bits (110) are fixed. Hence only 2 21 networks are possible.

Answer is D

0 votes
0 votes

Class C has three octets in NID, so 24 bits.

Out of which three initial bits are fixed to 110.

So, available bits = 24 - 3 = 21.

Option D

Answer:

Related questions

2 votes
2 votes
2 answers
1
gatecse asked Dec 17, 2017
1,524 views
Station $A$ uses $32-byte$ packets to transmit messages to Station $B$ using a sliding window protocol.The round trip time delay between $A$ and $B$ is $40\,ms$ and the b...
2 votes
2 votes
1 answer
3
gatecse asked Dec 17, 2017
2,519 views
Generally, TCP is reliable and UDP is not reliable. DNS which has to be reliable uses UDP becauseUDP is slower.DNS servers has to keep connections.DNS requests are genera...