BIT254 ยท 2081 ยท 10 marks
Divide the network 192.168.2.0/24 into subnets having 48 hosts each.Find the subnet ID, subnet mask, broadcast address and network ranges. What are the advantages of subnetting?[7+3]
Divide the network 192.168.2.0/24 into subnets having 48 hosts each.Find the subnet ID, subnet mask, broadcast address and network ranges. What are the advantages of subnetting?[7+3]
Network and Data CommunicationsChapter 10: IP Addressing and SubnettingSubnetting conceptNumerical: Subnetting calculation
Subnetting 192.168.2.0/24 into Subnets of 48 Hosts Each
Given Data
- Network: $192.168.2.0/24$
- Required hosts per subnet: $48$
Step 1: Host Bits Required
Need $2^n - 2 \geq 48$:
| $n$ | $2^n - 2$ | Sufficient? |
|---|---|---|
| 5 | 30 | No |
| 6 | 62 | Yes โ |
So host bits = 6.
Step 2: Subnet Mask / New Prefix
- Total bits = 32, original network bits = 24
- Borrowed subnet bits = $32 - 24 - 6 = 2$
- New prefix = $/24 + 2 = /26$
Fourth octet: $11000000_2 = 192$
Subnet Mask = 255.255.255.192 (/26)
Step 3: Number of Subnets and Block Size
- Subnets = $2^2 = 4$
- Block size (increment) = $2^6 = 64$
- Usable hosts per subnet = $2^6 - 2 = 62$ (โฅ 48 โ)
Step 4: Subnet Table
| Subnet | Subnet ID | Subnet Mask | First Host | Last Host | Broadcast |
|---|---|---|---|---|---|
| 1 | 192.168.2.0 | 255.255.255.192 | 192.168.2.1 | 192.168.2.62 | 192.168.2.63 |
| 2 | 192.168.2.64 | 255.255.255.192 | 192.168.2.65 | 192.168.2.126 | 192.168.2.127 |
| 3 | 192.168.2.128 | 255.255.255.192 | 192.168.2.129 | 192.168.2.190 | 192.168.2.191 |
| 4 | 192.168.2.192 | 255.255.255.192 | 192.168.2.193 | 192.168.2.254 | 192.168.2.255 |
Step 5: Network Ranges
| Subnet | Range |
|---|---|
| 1 | 192.168.2.0 - 192.168.2.63 |
| 2 | 192.168.2.64 - 192.168.2.127 |
| 3 | 192.168.2.128 - 192.168.2.191 |
| 4 | 192.168.2.192 - 192.168.2.255 |
Advantages of Subnetting
- Efficient IP address utilization - reduces address wastage by sizing blocks appropriately.
- Reduced broadcast traffic / smaller broadcast domains - improves performance.
- Improved network performance - less congestion within segments.
- Enhanced security - inter-subnet traffic passes through routers where access control can be applied.
- Easier management and troubleshooting - logical, smaller segments.
- Scalability - new subnets added without full redesign.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.