What is the dotted-decimal subnet mask for /22?

Study for the Router and Routing Basics Test with interactive quizzes. Tackle multiple choice questions, explore hints, and review explanations. Prepare for your exam effectively!

Multiple Choice

What is the dotted-decimal subnet mask for /22?

Explanation:
In IPv4, the subnet mask shows how many bits are used for the network portion. A /22 means 22 network bits. To convert that to dotted decimal, fill the first two octets with 1s (255 each) because those first 16 bits are part of the network. The remaining 6 bits in the third octet are also part of the network, giving 11111100 in binary, which is 252 in decimal. The last octet has no network bits, so it’s 0. Put together the octets: 255.255.252.0. The other options correspond to different prefix lengths (for example, /16 yields 255.255.0.0, /24 yields 255.255.255.0, and /14 yields 255.252.0.0), which is why 255.255.252.0 is the correct match for /22.

In IPv4, the subnet mask shows how many bits are used for the network portion. A /22 means 22 network bits. To convert that to dotted decimal, fill the first two octets with 1s (255 each) because those first 16 bits are part of the network. The remaining 6 bits in the third octet are also part of the network, giving 11111100 in binary, which is 252 in decimal. The last octet has no network bits, so it’s 0. Put together the octets: 255.255.252.0. The other options correspond to different prefix lengths (for example, /16 yields 255.255.0.0, /24 yields 255.255.255.0, and /14 yields 255.252.0.0), which is why 255.255.252.0 is the correct match for /22.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy