3

I tried to replicate the chart below. Basically I thought determining was 2^{N,} N being the network bits. This chart shows 2^ of 7 14 and 21 though. What am I misunderstanding?

**Class A**:

Octets (bits) in network part = 1 (8)

Total Networks = 2^{7} - 2

**Class B**:

Octets (bits) in network part = 2 (16)

Total Networks = 2^{14}

**Class C**:

Octets (bits) in network part = 3 (24)

Total Networks = 2^{21}

**EDIT: It's on page 329 of the ICND1 book, and here is an ****image**

5 comments

100% Upvoted

level 1

Can you give a page reference? It's hard to understand your question without context.

level 3

Gotcha. Thanks for the image, but most of us have at least one of Odom or Lammle, so we can look up page numbers pretty quickly.

Don't worry about the math, I have no idea why he added it to the table. The classfull ranges are defined, not calculated.

Class A is 2^{7}-2 because bit 0 must be 0b0 so you only have 7 optional bits in the first 8. The -2 is because the 0.0.0.0/8 and 127.0.0.0/8 networks are reserved

Class B is 2^{14} because bits 0-1 must be 0b10, so you only have 14 optional bits in the first 16.

Class C is 2^{21} because bits 0-2 must be 0b110 so you only have 21 optional bits in the first 24.

Mostly, ignore this. Classfull addressing is not really useful beyond getting your cert. Just memorize the class letter, first-octet ranges, and default subnets for each class.

Knowing the other classes (D, E) and reserved ranges (0, 127) is also helpful.

level 4

Thanks for looking it up! I have my classless subnetting down pretty well, so this was throwing me off. I think I'm understanding though.

1-126 are always going to have bit 0 used, 128-191 always need 0-1 used, and 192-223 are always going to have bits 1-2 used.

When solving for # host bits in subnetting, those octets are already determined so they aren't counted anyway.

level 5

It sounds like you got it. The math is weird because he is trying to apply subnetting rules to classful ranges. The subnetting problems work out to:

how many /8 networks can you subnet 0.0.0.0/1 into,

not counting 0.0.0.0/8 and 127.0.0.0/8?

2^{8-1} - 1 - 1 = 126

how many /16 networks can you subnet 128.0.0.0/2 into

2^{16-2} = 2^{4} × 2^{10} ≈ 16K

how many /24 networks can you subnet 192.0.0.0/3 into

2^{24-3} = 2^{1} × 2^{20} ≈ 2M

Community Details

r/ccna Rules

1.

No posting of illegal materials

2.

No posting of braindumps

3.

Be courteous and helpful

4.

Don't ask others to complete your labs