A subnet mask is a number that separates the IP address into the network part and the host part. It helps devices know which part of the address identifies the network and which part identifies the device.
Click to reveal answer
beginner
Why do we use subnetting in networks?
Subnetting divides a large network into smaller parts called subnets. This helps organize the network better, improves security, and reduces traffic by limiting broadcast areas.
Click to reveal answer
intermediate
How does a subnet mask look in binary?
A subnet mask is a series of 1s followed by 0s in binary. The 1s cover the network part, and the 0s cover the host part. For example, 255.255.255.0 in decimal is 11111111.11111111.11111111.00000000 in binary.
Click to reveal answer
intermediate
What is the difference between a network address and a broadcast address?
The network address identifies the whole subnet and ends with all host bits set to 0. The broadcast address is used to send messages to all devices in the subnet and ends with all host bits set to 1.
Click to reveal answer
intermediate
How do you calculate the number of hosts in a subnet?
The number of hosts is 2 to the power of the number of host bits minus 2. We subtract 2 because one address is for the network and one for the broadcast. For example, if there are 8 host bits, hosts = 2^8 - 2 = 254.
Click to reveal answer
What does a subnet mask do?
AConnects two different networks
BSeparates network and host parts of an IP address
CEncrypts network data
DAssigns IP addresses automatically
✗ Incorrect
A subnet mask helps devices know which part of the IP address is the network and which part is the host.
Which of these is a valid subnet mask?
A255.255.0.255
B255.0.255.255
C0.255.255.255
D255.255.255.0
✗ Incorrect
Subnet masks have continuous 1s followed by continuous 0s in binary. 255.255.255.0 fits this pattern.
What is the broadcast address used for?
ATo send a message to all devices in a subnet
BTo identify a single device
CTo connect to the internet
DTo encrypt data
✗ Incorrect
The broadcast address allows sending messages to every device in the subnet at once.
If a subnet mask is 255.255.255.0, how many hosts can the subnet support?
A255
B256
C254
D512
✗ Incorrect
With 8 host bits (32 - 24), the number of hosts is 2^8 - 2 = 254.
Why subtract 2 when calculating the number of hosts in a subnet?
AOne address is for the network, one for broadcast
BTo avoid IP conflicts
CBecause two devices share one IP
DTo save addresses for future use
✗ Incorrect
The network address and broadcast address cannot be assigned to hosts, so they are excluded.
Explain what a subnet mask is and how it helps in a network.
Think about how devices know which part of the IP address is the network.
You got /3 concepts.
Describe the purpose of subnetting and how it benefits network management.
Consider why big networks might be hard to manage without subnetting.
You got /4 concepts.
Practice
(1/5)
1. What is the main purpose of subnetting in computer networks?
easy
A. To connect different types of devices without IP addresses
B. To increase the total number of IP addresses available globally
C. To encrypt data sent over the network
D. To divide a large network into smaller, manageable parts
Solution
Step 1: Understand subnetting concept
Subnetting is used to split a large network into smaller subnetworks for easier management.
Step 2: Compare options
Only To divide a large network into smaller, manageable parts correctly describes subnetting's purpose; others describe unrelated functions.
Final Answer:
To divide a large network into smaller, manageable parts -> Option D
Quick Check:
Subnetting = dividing networks [OK]
Hint: Subnetting means splitting networks into smaller parts [OK]
Common Mistakes:
Confusing subnetting with encryption
Thinking subnetting increases global IP addresses
Believing subnetting connects devices without IPs
2. Which of the following is a valid subnet mask?
easy
A. 255.255.255.0
B. 0.255.255.255
C. 255.0.255.0
D. 255.255.0.255
Solution
Step 1: Recall valid subnet mask format
A subnet mask must have continuous 1s followed by continuous 0s in binary, like 255.255.255.0.
Step 2: Check each option
Only 255.255.255.0 fits this rule; others have mixed or invalid patterns.
Final Answer:
255.255.255.0 -> Option A
Quick Check:
Valid subnet mask = continuous 1s then 0s [OK]
Hint: Subnet masks have continuous 255s then 0s [OK]
Common Mistakes:
Choosing masks with mixed 255 and 0 in wrong order
Not knowing binary pattern rules for subnet masks
Confusing IP addresses with subnet masks
3. Given the IP address 192.168.1.10 and subnet mask 255.255.255.0, what is the network address?
medium
A. 192.168.1.0
B. 192.168.0.0
C. 192.168.1.255
D. 192.168.0.255
Solution
Step 1: Understand network address calculation
The network address is found by performing a bitwise AND between the IP address and subnet mask.
Step 2: Calculate network address
IP: 192.168.1.10 AND Mask: 255.255.255.0 gives 192.168.1.0 as the network address.
Final Answer:
192.168.1.0 -> Option A
Quick Check:
Network address = IP AND subnet mask [OK]
Hint: AND IP with mask to get network address [OK]
Common Mistakes:
Confusing broadcast address with network address
Using wrong subnet mask for calculation
Not applying bitwise AND operation
4. Identify the error in this subnet mask: 255.255.224.255
medium
A. Subnet mask must always end with 0 in the last octet
B. Subnet mask cannot have 224 in any octet
C. Subnet mask must have continuous 1s followed by 0s; this mask breaks that rule
D. Subnet mask cannot have more than two 255 octets
Solution
Step 1: Check binary pattern of subnet mask
Subnet masks must have all 1s on the left side and all 0s on the right side without interruption.
Step 2: Analyze given mask
255.255.224.255 breaks this rule because the last octet is 255 (all 1s) after 224 (which is partial 1s), causing non-continuous 1s.
Final Answer:
Subnet mask must have continuous 1s followed by 0s; this mask breaks that rule -> Option C
Quick Check:
Subnet mask = continuous 1s then 0s [OK]
Hint: Subnet mask 1s must be continuous, no breaks [OK]
Common Mistakes:
Thinking 224 is invalid in subnet masks
Believing last octet must always be 0
Ignoring binary continuity rule
5. You have a network 10.0.0.0/24 and need at least 6 subnets. Which subnet mask should you use to create enough subnets?
hard
A. 255.255.255.192
B. 255.255.255.224
C. 255.255.255.0
D. 255.255.255.128
Solution
Step 1: Calculate required subnet bits
To create at least 6 subnets, find minimum bits n where 2^n ≥ 6. Here, n=3 (2^3=8 subnets).
Step 2: Determine new subnet mask
Original mask /24 means 24 bits for network. Adding 3 bits for subnetting gives /27 mask.
Step 3: Convert /27 to subnet mask
/27 corresponds to 255.255.255.224.
Final Answer:
255.255.255.224 -> Option B
Quick Check:
3 subnet bits = /27 = 255.255.255.224 [OK]
Hint: Use 2^n ≥ needed subnets to find mask [OK]
Common Mistakes:
Choosing mask with too few subnet bits
Confusing host bits with subnet bits
Not converting CIDR to decimal mask correctly
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.