Using default Class A, B and C subnets (Classful IP Addressing) is inefficient
It wastes unused IP Addresses (Private IP Addresses)

Subnetting allows to create multiple logical networks that exist within a single Class A, B or C network (Classless Subnet)

It also allows for more efficient routing via router summarization i.e. Routing tables do not have to store data for an large network so routing tables won’t become large

Fixed Length Subnetting

We borrow host bits to create smaller networks from a Class A, B or C network
We end up with more networks but the amount of IP addresses in each network reduces

Observation
255.255.255.X: Every bit we borrow results in the subnet getting divided in half

255.255.255.0: 1 Network
255.255.255.128: 2 Network
255.255.255.192: 4 Network

xNetworkAddresses
/1/9/17/251282128
/2/10/18/26192464
/3/11/19/27224832
/4/12/20/282401616
/5/13/21/29248328
/6/14/22/30252644
/7/15/23/312541282
/8/16/24/322552561
AddressesBoundary Values
1280, 128
640, 64, 128, 192
320, 32, 64, 96, 128, 160, 192, 224
160, 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240

Step 1: Using Chart convert IP Address and Subnet Mask to Decimal Notation
/26: 255.255.255.192
/24: 255.255.255.0
/20: 255.255.240.0

Step 2: Calculate Network Address
If subnet mask is 255 bring down the address
If its 0, use 0

For any other value based on value of x refer charts

Step 3: Calculate Broadcast Address
If subnet mask is 255 bring down the address
If its 0, use 255

For any other value based on value of x refer charts

Step 4: Calculate Usage IPs
First IP = Network Address + 1
Last IP = Broadcast Address - 1

Exercise

169.174.141.10/28

Value
IP Address169.174.141.10
Subnet Mask255.255.255.240
Network IP169.174.141.0
Broadcast IP169.174.141.15
Usable Hosts169.174.141.1 - 169.174.141.14

18.172.200.77/11

Value
IP Address18.172.200.77
Subnet Mask255.224.0.0
Network IP18.160.0.0
Broadcast IP18.191.255.255
Usable Hosts169.160.0.1 - 169.191.255.254