CIDR stands for Classless Inter-Domain Routing. It is a method for allocating IP addresses and routing Internet Protocol packets.
Click to reveal answer
beginner
Explain the format of CIDR notation.
CIDR notation combines an IP address and a suffix indicating the number of bits used for the network part. It looks like this: 192.168.1.0/24, where /24 means the first 24 bits are the network portion.
Click to reveal answer
intermediate
How does CIDR improve IP address allocation compared to older methods?
CIDR allows flexible division of IP address space without fixed classes, reducing wasted addresses and improving routing efficiency by aggregating routes.
Click to reveal answer
beginner
What does the suffix number in CIDR notation represent?
The suffix number shows how many bits of the IP address are used to identify the network. For example, /24 means 24 bits are for the network, and the rest are for hosts.
Click to reveal answer
intermediate
Given the CIDR notation 10.0.0.0/8, how many IP addresses are in this network?
A /8 means 8 bits for the network and 24 bits for hosts. So, there are 2^24 = 16,777,216 possible IP addresses in this network.
Click to reveal answer
What does the number after the slash in CIDR notation indicate?
ANumber of bits used for the network part
BNumber of hosts in the network
CNumber of subnets
DNumber of IP addresses available
✗ Incorrect
The number after the slash shows how many bits are used to identify the network portion of the IP address.
Which of these is a valid CIDR notation?
A192.168.1.0/24
B192.168.1.0-24
C192.168.1.0#24
D192.168.1.0:24
✗ Incorrect
CIDR notation uses a slash '/' followed by the number of network bits.
CIDR helps to reduce which of the following?
AInternet speed
BIP address waste
CNumber of devices
DPhysical cable length
✗ Incorrect
CIDR allows flexible IP address allocation, reducing wasted addresses.
What is the host portion in the IP address 172.16.0.0/16?
AAll 32 bits
BFirst 16 bits
CLast 16 bits
DNo host portion
✗ Incorrect
With /16, the first 16 bits are network, so the last 16 bits are for hosts.
Which of these is NOT a benefit of CIDR?
AMore efficient routing
BRoute aggregation
CBetter IP address utilization
DFixed class-based addressing
✗ Incorrect
CIDR replaces fixed class-based addressing with flexible allocation.
Describe what CIDR notation is and how it is used to represent IP networks.
Think about how IP addresses are grouped and shown in a shorter form.
You got /4 concepts.
Explain how CIDR improves the allocation and routing of IP addresses compared to older class-based methods.
Consider the problems with fixed classes and how CIDR solves them.
You got /4 concepts.
Practice
(1/5)
1. What does the number after the slash in a CIDR notation represent? For example, in 192.168.1.0/24.
easy
A. The total number of IP addresses in the network
B. The size of the network or how many bits are used for the network part
C. The number of hosts allowed in the network
D. The version of the IP address
Solution
Step 1: Understand CIDR notation structure
CIDR notation shows an IP address followed by a slash and a number. This number tells how many bits are used for the network part of the address.
Step 2: Interpret the number after the slash
The number after the slash (like 24 in 192.168.1.0/24) means the first 24 bits are the network portion, defining the network size.
Final Answer:
The size of the network or how many bits are used for the network part -> Option B
Quick Check:
Number after slash = network bits [OK]
Hint: Slash number shows network bits, not hosts or total IPs [OK]
Common Mistakes:
Confusing slash number with total hosts
Thinking slash number is IP version
Assuming slash number shows number of hosts
2. Which of the following is the correct CIDR notation for a network with IP address 10.0.0.0 and a subnet mask of 255.255.255.0?
easy
A. 10.0.0.0/16
B. 10.0.0.0/8
C. 10.0.0.0/24
D. 10.0.0.0/32
Solution
Step 1: Convert subnet mask to CIDR prefix length
Subnet mask 255.255.255.0 means the first 24 bits are ones (11111111.11111111.11111111.00000000), so the CIDR prefix is /24.
Step 2: Match IP with correct CIDR notation
Given IP 10.0.0.0 with subnet mask 255.255.255.0 corresponds to 10.0.0.0/24.
Final Answer:
10.0.0.0/24 -> Option C
Quick Check:
255.255.255.0 = /24 [OK]
Hint: Count 1 bits in subnet mask to find slash number [OK]
Common Mistakes:
Confusing /16 with 255.255.0.0 mask
Using /32 which means single IP
Mixing up subnet mask and CIDR prefix
3. Given the CIDR notation 192.168.10.0/28, how many usable IP addresses are available in this subnet?
medium
A. 14
B. 28
C. 30
D. 16
Solution
Step 1: Calculate total IP addresses from CIDR prefix
/28 means 28 bits for network, so 32 - 28 = 4 bits for hosts. Total IPs = 2^4 = 16.
Step 2: Calculate usable IP addresses
Usable IPs exclude network and broadcast addresses, so usable = 16 - 2 = 14.
Final Answer:
14 -> Option A
Quick Check:
Usable IPs = 2^(32-28) - 2 = 14 [OK]
Hint: Usable IPs = 2^(32 - slash) minus 2 [OK]
Common Mistakes:
Counting total IPs as usable
Forgetting to subtract network and broadcast addresses
Miscalculating bits for hosts
4. A network administrator wrote the CIDR notation as 172.16.0.0/33. What is wrong with this notation?
medium
A. CIDR prefix must be less than 16
B. IP address is invalid
C. Subnet mask is missing
D. CIDR prefix cannot be greater than 32 for IPv4
Solution
Step 1: Understand CIDR prefix limits for IPv4
IPv4 addresses are 32 bits long, so CIDR prefix must be between 0 and 32 inclusive.
Step 2: Identify invalid prefix
A prefix of 33 is invalid because it exceeds the 32-bit length of IPv4 addresses.
Final Answer:
CIDR prefix cannot be greater than 32 for IPv4 -> Option D
Quick Check:
IPv4 prefix max = 32 [OK]
Hint: CIDR prefix max 32 for IPv4, 128 for IPv6 [OK]
Common Mistakes:
Thinking IP address is invalid instead
Confusing CIDR prefix with subnet mask
Assuming prefix must be less than 16
5. You need to create a subnet that supports at least 1000 hosts. Which CIDR notation would be the smallest network that fits this requirement?
hard
A. 192.168.0.0/22
B. 192.168.0.0/23
C. 192.168.0.0/21
D. 192.168.0.0/24
Solution
Step 1: Calculate required host bits for 1000 hosts
Hosts = 2^(host bits) - 2. We want at least 1000 usable hosts. Try host bits: 10 bits gives 2^10 - 2 = 1022 hosts, which is enough.