CSC263 ยท 2079 ยท 5 marks
Write the subnet ID and broadcast address of each subnet if you divide a class C network (192.168.3.0 โ 192.168.3.255) into 4 different subnets. What is the new subnet mask?
Write the subnet ID and broadcast address of each subnet if you divide a class C network (192.168.3.0 โ 192.168.3.255) into 4 different subnets. What is the new subnet mask? [5]
Subnetting Class C Network (192.168.3.0 - 192.168.3.255) into 4 Subnets
Given
- Network: 192.168.3.0 - 192.168.3.255 (Class C, default mask /24 = 255.255.255.0)
- Required subnets: 4
Step 2: Bits to Borrow
To create 4 subnets:
$$2^n \geq 4 \implies 2^2 = 4 \implies n = 2 \text{ bits}$$
Borrow 2 bits from the host portion.
Step 3: New Subnet Mask
Original:
11111111.11111111.11111111.00000000 = 255.255.255.0 (/24)
Borrow 2 host bits:
11111111.11111111.11111111.11000000 = 255.255.255.192 (/26)
New Subnet Mask = 255.255.255.192 (/26)
Step 4: Block Size
$$\text{Block Size} = 256 - 192 = 64$$
Remaining host bits $= 8 - 2 = 6 \Rightarrow 2^6 = 64$ addresses per subnet (62 usable).
Step 5: Subnet Table
| Subnet | Subnet ID (Network Address) | Broadcast Address | Usable Host Range |
|---|---|---|---|
| 1 | 192.168.3.0 | 192.168.3.63 | 192.168.3.1 - 192.168.3.62 |
| 2 | 192.168.3.64 | 192.168.3.127 | 192.168.3.65 - 192.168.3.126 |
| 3 | 192.168.3.128 | 192.168.3.191 | 192.168.3.129 - 192.168.3.190 |
| 4 | 192.168.3.192 | 192.168.3.255 | 192.168.3.193 - 192.168.3.254 |
Step 6: Rule
- Subnet ID = first address of each block (host bits all 0).
- Broadcast = last address of each block (host bits all 1).
Summary
| Parameter | Value |
|---|---|
| Original Network | 192.168.3.0/24 |
| Subnets | 4 |
| Bits Borrowed | 2 |
| New Subnet Mask | 255.255.255.192 (/26) |
| Addresses / Subnet | 64 (62 usable) |
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.