CSC263 ยท 2078 ยท 5 marks
What subnet ID and broadcast address of each subnet if you divide a class B network (150.10.0.0 โ 150.10.255.255) in 4 different subnets. What is the new subnet mask?
What subnet ID and broadcast address of each subnet if you divide a class B network (150.10.0.0 โ 150.10.255.255) in 4 different subnets. What is the new subnet mask? [5]
Subnetting Class B Network 150.10.0.0 into 4 Subnets
Given
- Network: 150.10.0.0 to 150.10.255.255
- Network Address: 150.10.0.0
- Class B default mask: 255.255.0.0 (/16)
- Host bits: 16 (last two octets)
- Required subnets: 4
Step 2: Bits to Borrow
$$2^n \geq 4 \implies n = 2 \text{ bits}$$
Borrow 2 bits from the host portion (third octet).
Step 3: New Subnet Mask
New prefix = $16 + 2 = /18$
Third octet: $11000000_2 = 192$
$$\boxed{\text{New Subnet Mask} = 255.255.192.0 ;(/18)}$$
Step 4: Block Size
$$\text{Block Size} = 256 - 192 = 64$$
Subnets increment by 64 in the third octet.
Hosts per subnet: $2^{14} - 2 = 16382$ usable hosts.
Step 5: Subnet Details
| Subnet | Subnet ID | First Host | Last Host | Broadcast | Mask |
|---|---|---|---|---|---|
| 1 | 150.10.0.0 | 150.10.0.1 | 150.10.63.254 | 150.10.63.255 | 255.255.192.0 |
| 2 | 150.10.64.0 | 150.10.64.1 | 150.10.127.254 | 150.10.127.255 | 255.255.192.0 |
| 3 | 150.10.128.0 | 150.10.128.1 | 150.10.191.254 | 150.10.191.255 | 255.255.192.0 |
| 4 | 150.10.192.0 | 150.10.192.1 | 150.10.255.254 | 150.10.255.255 | 255.255.192.0 |
Summary
- New Subnet Mask: 255.255.192.0 (/18)
- Subnet IDs: 150.10.0.0, 150.10.64.0, 150.10.128.0, 150.10.192.0
- Broadcast Addresses: 150.10.63.255, 150.10.127.255, 150.10.191.255, 150.10.255.255
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.