Subnetting Basics & Practice Lab
Classfull Addressing
Class Format Default Subnet Mask Notation
A [Link] [Link] /8
B [Link] [Link] /16
C [Link] [Link] /24
CIDR – Classless Inter Domain Routing
Subnet Mask CIDR Value
[Link] /8
[Link] /9
[Link] /10
[Link] /11
[Link] /12
[Link] /13
[Link] /14
[Link] /15
[Link] /16
[Link] /17
[Link] /18
[Link] /19
[Link] /20
[Link] /21
[Link] /22
Huawei Technologies (Uganda) Ltd.
[Link] /23
[Link] /24
[Link] /25
[Link] /26
[Link] /27
[Link] /28
[Link] /29
[Link] /30
Subnetting the Fast Way (Just answer five questions)
1. How many subnets does the chosen subnet mask produce?
2. How many valid hosts per subnet are available?
3. What are the valid subnets?
4. What’s the broadcast address of each subnet?
5. What are the valid hosts in each subnet?
Subnetting Practice Examples: Class C Addresses
1. [Link] /25 Subnet Mask: [Link]
Solution:
Subnet 0 128
First host 1 129
Last host 126 254
Broadcast 127 25
2. [Link] /26 Subnet Mask: [Link]
Solution:
Subnet 0 64 128 192
First host 1 65 129 193
Last host 62 126 190 254
Broadcast 63 127 191 255
Huawei Technologies (Uganda) Ltd.
PRACTICE ASSIGNMENNT LAB
Subnet Practice #1
Write the subnet, broadcast address, and a valid host range for Question 1 through Question 6.
Then answer the remaining questions.
1. [Link]/30
2. [Link]/28
3. [Link]/27
4. [Link]/29
5. [Link]/26
6. [Link]/25
7. You have a Class B network and need 29 subnets. What is your mask?
8. What is the broadcast address of [Link]/29?
9. How many hosts are available with a Class C /29 mask?
10. What is the subnet for host ID [Link]/23?
Written Subnet Practice #2
Complete the following based on the given decimal IP address.
Address Number of Number of
IP Address Binary Value
Class Subnets (2^n ) Hosts ((2^h) – 2)
[Link] /25 C 10000000 2 126
[Link]/23
[Link]/24
[Link]/28
[Link]/20
[Link]/18
[Link]/30
Huawei Technologies (Uganda) Ltd.