2078 12

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]

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

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

SubnetSubnet IDFirst HostLast HostBroadcastMask
1150.10.0.0150.10.0.1150.10.63.254150.10.63.255255.255.192.0
2150.10.64.0150.10.64.1150.10.127.254150.10.127.255255.255.192.0
3150.10.128.0150.10.128.1150.10.191.254150.10.191.255255.255.192.0
4150.10.192.0150.10.192.1150.10.255.254150.10.255.255255.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.