Project

General

Profile

Actions

Correction #13431

closed

Incorrect count of /24 networks in a /5 CIDR block

Added by Abraham Samuel B. SANFO over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
General
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Page: https://docs.netgate.com/pfsense/en/latest/index.html

Feedback:

Good morning.
Reading "The pfSense documentation" I find an typos on the Table 4: CIDR subnet on P 243 table since the CIDR mask /5.
With a /5 I think the number of /24 subnets is: 2^(32 - 5 - 8) = 524288 and not 1,048,576 like you write.

I just apply the formula for the number of subnetwork: 2^(32 - N - M)

where 32 - N - M is the length of the subnetwork part:
32: the total length of an ipv4 address
N: the length of the network id; in our case 5 bits
M the length of the host id; we use a /24 in the book so it remains 8 bits for the host id.


Files

pfSenseDoc.png (109 KB) pfSenseDoc.png A capture Abraham Samuel B. SANFO, 08/19/2022 11:27 AM
Actions #1

Updated by Jim Pingle over 1 year ago

  • Subject changed from Feedback on pfSense Documentation to Incorrect count of /24 networks in a /5 CIDR block
  • Assignee set to Jim Pingle
Actions #2

Updated by Jim Pingle over 1 year ago

  • Tracker changed from Todo to Correction
  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Actually the remaining values in that whole column were off from that point down. Should be fixed shortly once the build finishes.

Fixed and deployed.

https://gitlab.netgate.com/docs/pfSense-docs/-/commit/9a5b5341097dccc08f99f428ed9f67cf66bacc1d

Actions #3

Updated by Abraham Samuel B. SANFO over 1 year ago

Thank you

Actions #4

Updated by Jim Pingle over 1 year ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF