Subnet 1
Subnet 1
Subnet masking is a method used in networking to divide an IP address into network and host portions.
It helps in identifying the network to which an IP address belongs and how many devices (hosts) can
be in that network.
Masking divides a large network into smaller subnetworks (subnets).
Helps in IP address optimization, reducing waste in large networks.
Example:
IP Address: 192.168.1.10
Subnet Mask: 255.255.255.0
11111111.11111111.11111111.00000000
This means all devices in the 192.168.1.x network can communicate with each other without a router.
Example Calculation:
Given:
IP Address = 192.168.1.10
Subnet Mask = 255.255.255.0
Binary Representation:
4. Subnetting Example
Given Network Information
11111111.11111111.11111111.00000000 (255.255.255.0)
Total IP addresses:
2⁸ = 256 (from 192.168.1.0 to 192.168.1.255)
Usable Hosts:
256 - 2 = 254 (since the first address is for the network, and the last address is for broadcast).
11111111.11111111.11111111.11000000 (255.255.255.192)
Number of IPs per subnet:
2⁶ = 64 (since 6 bits are left for hosts).
Usable Hosts per subnet:
64 - 2 = 62 (excluding network & broadcast).
3️ Subnet Breakdown
Subnet Number Subnet Address (Network ID) First Usable IP Last Usable IP Broadcast Address
Explanation
1 Network address
1 Broadcast address
62 Usable host IPs