Correction #13431
closedIncorrect count of /24 networks in a /5 CIDR block
100%
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
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
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