Incorrect count of /24 networks in a /5 CIDR block
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.
Updated by Jim Pingle about 1 month 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.