2079 12

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]

Computer NetworksChapter 4: Network LayerIPv4 Addressing & Sub-nettingNumerical: Subnetting class C

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

SubnetSubnet ID (Network Address)Broadcast AddressUsable Host Range
1192.168.3.0192.168.3.63192.168.3.1 - 192.168.3.62
2192.168.3.64192.168.3.127192.168.3.65 - 192.168.3.126
3192.168.3.128192.168.3.191192.168.3.129 - 192.168.3.190
4192.168.3.192192.168.3.255192.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

ParameterValue
Original Network192.168.3.0/24
Subnets4
Bits Borrowed2
New Subnet Mask255.255.255.192 (/26)
Addresses / Subnet64 (62 usable)

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.