Back to the 2022 paper

Module 3: Network Layer & Routing

202214m

An ISP is granted the block 80.70.56.0/21. The ISP needs to allocate addresses for two organizations each with 500 addresses, two organizations each with 250 addresses, and three organizations each with 50 addresses.

(a) Find the number and range of addresses in the ISP block.
(b) Find the range of addresses for each organization and the range of unallocated addresses.

Worked SolutionAI Assisted

(a) ISP Block 80.70.56.0/21 — Number and Range

Given: network address =80.70.56.0= 80.70.56.0, prefix =/21= /21.

Step 1 — Number of addresses

232−21=211=2048 addresses2^{32-21} = 2^{11} = 2048 \text{ addresses}

Step 2 — Subnet mask: 21 bits = two full octets + 5 bits:

255.255.248.0255.255.248.0

Step 3 — Range: the third octet advances in steps of 256−248=8256 - 248 = 8, starting at 56, so it ends at 56+8−1=6356 + 8 - 1 = 63.

  • First address: 80.70.56.0
  • Last (broadcast) address: 80.70.63.255
  • Check: 8×256=20488 \times 256 = 2048 ✓

Answer (a): 2048 addresses, from 80.70.56.0 to 80.70.63.255.


(b) Allocation to Organisations and Unallocated Range

Sizing rule: give each organisation the next power of two block that can hold the requested number of usable addresses (usable =2h−2= 2^h - 2 for a normal subnet).

Demand Needed Smallest block Prefix Total addresses Usable (total − 2)
2 × 500 500 /23 512 510 ✓ ≥ 500
2 × 250 250 /24 256 254 ✓ ≥ 250
3 × 50 50 /26 64 62 ✓ ≥ 50

Sequential allocation from 80.70.56.0 upward:

  1. 2×512=10242 \times 512 = 1024 addresses
  2. 2×256=5122 \times 256 = 512 addresses
  3. 3×64=1923 \times 64 = 192 addresses

Total used =1024+512+192=1728= 1024 + 512 + 192 = 1728 addresses.

Organisation Block Address range Count
Org 1 (500) 80.70.56.0/23 80.70.56.0 – 80.70.57.255 512
Org 2 (500) 80.70.58.0/23 80.70.58.0 – 80.70.59.255 512
Org 3 (250) 80.70.60.0/24 80.70.60.0 – 80.70.60.255 256
Org 4 (250) 80.70.61.0/24 80.70.61.0 – 80.70.61.255 256
Org 5 (50) 80.70.62.0/26 80.70.62.0 – 80.70.62.63 64
Org 6 (50) 80.70.62.64/26 80.70.62.64 – 80.70.62.127 64
Org 7 (50) 80.70.62.128/26 80.70.62.128 – 80.70.62.191 64

Unallocated addresses:

2048−1728=320 addresses⇒80.70.62.192 – 80.70.63.2552048 - 1728 = 320 \text{ addresses} \Rightarrow \textbf{80.70.62.192 – 80.70.63.255}

(as 80.70.62.192/26 → 64 addresses, plus 80.70.63.0/24 → 256 addresses; 64+256=32064 + 256 = 320 ✓).

Answer (b): Org1 → 80.70.56.0–80.70.57.255, Org2 → 80.70.58.0–80.70.59.255, Org3 → 80.70.60.0–80.70.60.255, Org4 → 80.70.61.0–80.70.61.255, Org5 → 80.70.62.0–80.70.62.63, Org6 → 80.70.62.64–80.70.62.127, Org7 → 80.70.62.128–80.70.62.191; unallocated range 80.70.62.192 – 80.70.63.255 (320 addresses).

Similar questions

Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.