How to calculate CIDR notation from entries in a routing table
- by febreezey
I have some entries in a routing table that were created using longest prefix matching, and I have to use those entries to determine the a.b.c.d/x notation (CIDR).
This is an example entry:
11001000 00010111 00010.
That was calculated from the range
11001000 00010111 00010000 00000000
through
11001000 00010111 00010111 11111111.
I know the…