CSC263 · 2081 · 5 marks
Assume a class C network and divide it into three subnets. What is the value of the new subnet?
Assume a class C network and divide it into three subnets. What is the value of the new subnet? [5]
Subnetting a Class C Network into Three Subnets
Given
- Network Class: Class C
- Default Subnet Mask: 255.255.255.0 (/24)
- Network bits: 24, Host bits: 8
- Required subnets: 3
- Example network (for illustration, standard assumption): 192.168.1.0
No specific IP address is given in the question, so a representative network 192.168.1.0 is used only for demonstration.
Solution
Step 1: Bits to Borrow
Number of subnets = $2^n$, where $n$ = borrowed bits.
We need at least 3 subnets:
| Borrowed bits $n$ | Subnets $2^n$ | Enough for 3? |
|---|---|---|
| 1 | 2 | No |
| 2 | 4 | Yes |
So borrow $n = 2$ bits.
Step 2: New Subnet Mask
Remaining host bits = $8 - 2 = 6$.
$$ \text{New mask} = 11111111.11111111.11111111.\underline{11}000000 $$
$$ \boxed{255.255.255.192 ;(/26)} $$
Step 3: New Subnet Value (Block Size / Increment)
$$ \text{Block size} = 2^{\text{remaining host bits}} = 2^{6} = 64 $$
Alternatively, block size = $256 - 192 = 64$.
$$ \boxed{\text{Subnet value} = 64} $$
Step 4: Resulting Subnets (using 192.168.1.0)
| Subnet | Network | Host Range | Broadcast |
|---|---|---|---|
| 0 | 192.168.1.0 | .1 - .62 | 192.168.1.63 |
| 1 | 192.168.1.64 | .65 - .126 | 192.168.1.127 |
| 2 | 192.168.1.128 | .129 - .190 | 192.168.1.191 |
| 3 | 192.168.1.192 | .193 - .254 | 192.168.1.255 |
Three of these four subnets satisfy the requirement.
Step 5: Usable Hosts per Subnet
$$ 2^{6} - 2 = 64 - 2 = 62 \text{ hosts} $$
Summary
| Parameter | Value |
|---|---|
| Bits borrowed | 2 |
| Subnets created | 4 (3 required) |
| New Subnet Mask | 255.255.255.192 |
| New Subnet Value (block size) | 64 |
| Usable hosts/subnet | 62 |
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.