CIDR Basics #13

CIDR Basics #13

Easy Programming Interview Networking 23 views
Explanation Complexity

Problem Statement

What does /24 mean in CIDR notation?

Example Solution (Public)

Programming Interview
It means the first 24 bits are the network prefix. For IPv4, that leaves 8 host bits, so the block size is 256 addresses (typically 254 usable in a classic subnet).

Official Solution Code

It means the first 24 bits are the network prefix. For IPv4, that leaves 8 host bits, so the block size is 256 addresses (typically 254 usable in a classic subnet).
Please login to submit solutions.
Editor
Output

                                        
Please login to submit solutions.