Is this a typo in IP networks?

  • Context: MHB 
  • Thread starter Thread starter find_the_fun
  • Start date Start date
  • Tags Tags
    Networks
Click For Summary
SUMMARY

The discussion confirms a typo in the answer key regarding Class C IP addresses. The correct calculation for the number of Class C addresses is 221(28-2), not 212(28-2). Class C addresses consist of a three-bit prefix followed by a 21-bit network number and an eight-bit local address. The discrepancy arises from a misunderstanding of the network number's length, which is crucial for accurate address calculation.

PREREQUISITES
  • Understanding of IP address classes (A, B, C)
  • Knowledge of binary representation and exponentiation
  • Familiarity with subnetting concepts
  • Basic understanding of network addressing standards
NEXT STEPS
  • Research the calculation of available IP addresses in Class A, B, and C networks
  • Learn about subnetting and CIDR (Classless Inter-Domain Routing)
  • Explore the implications of reserved IP addresses in networking
  • Study the differences between IPv4 and IPv6 addressing schemes
USEFUL FOR

Network engineers, IT professionals, and students studying computer networking who need clarity on IP address calculations and classifications.

find_the_fun
Messages
147
Reaction score
0
I think the answer key contains a typo but I want to confirm.

In the internet each network interface of a computer is assigned one or more internet addresses. The nature of these internet addresses is dependent on the networks size. For the internet standard regarding reserved network number each address is a 32-bit string which falls into one of the following three classes...[got first 2 right] class C addresses are used for the smallest networks.These addresses consist of the three-bit string 110 followed by a 21 bit network number and then an eight-bit local address. Once again the local addresses of all 0's or all 1's are excluded. How many different addresses of each class are available on the internet, for this internet standard.

The answer key has [math]2^12(2^8-2)[/math] but where does 12 come from? Shouldn't it be 21 since that's how long the network number is? I'm surprised because the answer key solved it to the integer and it is 3 orders of magnitude smaller than the class A and B networks.
 
Mathematics news on Phys.org
Re: Is this a typo?

find_the_fun said:
I think the answer key contains a typo but I want to confirm.

In the internet each network interface of a computer is assigned one or more internet addresses. The nature of these internet addresses is dependent on the networks size. For the internet standard regarding reserved network number each address is a 32-bit string which falls into one of the following three classes...[got first 2 right] class C addresses are used for the smallest networks.These addresses consist of the three-bit string 110 followed by a 21 bit network number and then an eight-bit local address. Once again the local addresses of all 0's or all 1's are excluded. How many different addresses of each class are available on the internet, for this internet standard.

The answer key has [math]2^12(2^8-2)[/math] but where does 12 come from? Shouldn't it be 21 since that's how long the network number is? I'm surprised because the answer key solved it to the integer and it is 3 orders of magnitude smaller than the class A and B networks.

You're quite right. The number of C class addresses is [math]2^{21}(2^8-2)[/math].
 
find_the_fun said:
The answer key has [math]2^12(2^8-2)[/math]

Just a comment here: $\LaTeX$ only understands one symbol at a time to go into an exponent. If you want more than one symbol to appear in an exponent, then enclose that in curly braces thus: 2^{12}. Result: $2^{12}$. Otherwise, you get what you wrote: $2^12$.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
1
Views
2K