What is CIDR notation and how does it relate to subnet masks?

Study for the Internet Protocol Version 4 Test. Use flashcards and multiple-choice questions, each with hints and explanations. Master the exam with confidence!

Multiple Choice

What is CIDR notation and how does it relate to subnet masks?

Explanation:
CIDR notation is a compact way to describe how many leading bits in an IPv4 address are used to identify the network. In IPv4 there are 32 bits total, and the subnet mask marks which bits define the network portion versus the host portion. CIDR uses a slash followed by a number to show that boundary. For example, a prefix length of 24 means the first 24 bits are the network, and the remaining 8 bits define hosts. That /24 boundary corresponds to the dotted-decimal subnet mask 255.255.255.0. Other examples: /16 maps to 255.255.0.0, /28 maps to 255.255.255.240, and so on. CIDR is just a concise way to express the same idea as a subnet mask, and it lets you flexibly carve networks of varying sizes instead of sticking to fixed classful sizes.

CIDR notation is a compact way to describe how many leading bits in an IPv4 address are used to identify the network. In IPv4 there are 32 bits total, and the subnet mask marks which bits define the network portion versus the host portion. CIDR uses a slash followed by a number to show that boundary. For example, a prefix length of 24 means the first 24 bits are the network, and the remaining 8 bits define hosts. That /24 boundary corresponds to the dotted-decimal subnet mask 255.255.255.0. Other examples: /16 maps to 255.255.0.0, /28 maps to 255.255.255.240, and so on. CIDR is just a concise way to express the same idea as a subnet mask, and it lets you flexibly carve networks of varying sizes instead of sticking to fixed classful sizes.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy