Course: Internet Architecture and Technologies
Source: Fulvio Risso, Exercises on IP Addressing, 7 December 2017, 47 pages.
Study notes date: 14 October 2026.
Deadline: none supplied.
Status: main methods and follow-up topics documented, with a combined practice plan; not a complete solution set for all 21 exercises. Individual learning progress is kept in the private Inbox.

Workbook roadmap

PartPDF pagesCoverage
Methodology6-13Identify LINs, size blocks, check capacity, align and allocate, assign hosts/router addresses
Exercises 1-415-17Classful classification and topology plans
Exercises 5-918-20Classless sizes, sequential ranges, splitting, valid Network IDs, address categories
Exercises 10-1521-25Full topology plans, growth, provider/customer addressing and internal subdivision
Exercises 16-2126-28Configuration troubleshooting
Solutions30-47Source’s worked answers; consult after attempting each exercise

The notes explain core methods and selected examples. They do not claim that every source topology or numbered exercise has been solved.

Calculation reference

An IPv4 address contains 32 bits. With prefix /p, h = 32 - p host bits remain. Total addresses are 2^h; ordinary usable addresses are 2^h - 2. Router addresses consume usable capacity too. The source uses traditional reservations; see the linked host-count note for /31 and /32 qualifications.

PrefixHost bitsTotalOrdinary usableMask
/21112,0482,046255.255.248.0
/22101,0241,022255.255.252.0
/239512510255.255.254.0
/248256254255.255.255.0
/257128126255.255.255.128
/2666462255.255.255.192
/2753230255.255.255.224
/2841614255.255.255.240
/29386255.255.255.248
/30242255.255.255.252

For /24-/30, subtract the last mask octet from 256 to get block size. Valid starts are multiples of that size in the last octet. For /23, /22, /21, third-octet starts are multiples of 2, 4, 8 respectively, with final octet zero.

Worked revision checks

These are added tutoring examples and paraphrased selected checks, not a reproduction of the full workbook.

QuestionAnswer and reason
27 computers and one router address: smallest block?30 needed including reservations; /27 gives 32 total
Is 192.168.1.40/27 a Network ID?No. Last octet 001|01000 has nonzero host bits; network is .32/27
Broadcast for 192.168.1.64/27?.95: 64 + 32 - 1
Broadcast for 192.168.1.96/27?.127
Two router endpoints in 10.0.0.192/30?.193 and .194; .192 network, .195 broadcast
61 computers and two router addresses: smallest block?65 needed including reservations; 7 host bits, hence /25
55 computers and one router address at 192.168.10.0?58 needed, /26; broadcast .63, even if last computer is .56
Broadcast for 192.168.4.0/23?192.168.5.255
Broadcast for 192.168.8.0/22?192.168.11.255
Gateway for .66/27 if router’s local interface is .65?.65, not the router’s .97 on another link
Classful 80.45.0.0?Class A host address; default /8, network 80.0.0.0
Classful 198.0.1.0?Class C network address under default /24

For full plans and the 300-computer LAN split, see IPv4 Addressing Plans and Subnet Allocation. For subnet disagreement, duplicate addresses, ARP and DNS checks, see IPv4 Gateways and Addressing Troubleshooting.

Follow-up lessons

IPv4 Addressing Plans and Subnet Allocation now includes growth planning, allocated blocks versus internal subnets, and provider/customer addressing (Exercises 11 and 14-15). IPv4 Gateways and Addressing Troubleshooting includes the three error categories combined in Exercise 21. These lessons cover the mechanisms; the complete source diagrams remain independent revision tasks.

Combined practice plan

Added exercise: use 192.168.10.0/24 for LAN A (100 computers, one gateway), LAN B (40 computers, one gateway per resulting subnet), and a router link (two endpoints), with no growth required. A single /26 serves LAN B, but the following split also works and saves 16 allocated addresses:

NetworkBlockGateway / endpointsComputersBroadcast
LAN A192.168.10.0/25.1.2-.101 (100).127
LAN B, part 1192.168.10.128/27.129.130-.158 (29).159
LAN B, part 2192.168.10.160/28.161.162-.172 (11).175
Router link192.168.10.176/30.177, .178None.179

Total allocation: 128 + 32 + 16 + 4 = 180. The two LAN B subnets still contain 40 computers and can share a physical router and LAN under the source’s model. Remaining usable addresses in each subnet are spare, not available to another separate network.

Corrections to watch: .2-.102 counts 101 addresses, the /28 at .160 ends .175, and .177-.180 is not an aligned /30 block. Use inclusive count last - first + 1.

Troubleshooting check: LAN A host .10 incorrectly using /24 thinks LAN B’s .140 is local and attempts ARP on LAN A. Under this ordinary setup, delivery fails. Correct /25 makes .140 remote, so the host uses its gateway.

Address categories

  • Private: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.
  • 172.32.1.10 and addresses beginning 192.169 are outside those private ranges. Being outside a private range alone does not prove an address is available for public assignment.
  • Loopback: 127.0.0.0/8, including 127.0.0.1, refers to the local machine.
  • Multicast: 224.0.0.0/4, group destinations rather than individual hosts.

Do not classify solely by the final .0 or the first three octets. Use the prefix, and distinguish private, public and special-purpose ranges.

Common mistakes

  • Reporting host bits as a prefix: 6 host bits means /26, not /6.
  • Moving broadcast to immediately after the last computer: it stays at the block’s end.
  • Giving spare addresses from one allocated subnet to another network: that creates overlap.
  • Assuming splitting always needs more physical routers: one router can hold an address in each LIN.
  • Counting two reserved addresses per router interface: count them once per subnet.
  • Treating matching masks as proof of matching subnets, or successful traffic as proof all masks are correct.
  • Treating gateways on different LANs as needing the same subnet: each gateway must instead be local to its own clients.

Further practice

  • Solve every row of Exercises 1 and 5-9.
  • Build all classful plans in Exercises 2-4.
  • Solve all full topology plans in Exercises 10-13, including growth and every router link.
  • Work through Exercises 14-15: provider internal addressing, customer public blocks and subdivision versus routing aggregates.
  • Diagnose all diagrams in Exercises 16-21, especially the overlapping networks and reserved endpoint addresses in Exercise 21.

Source and attribution

Fulvio Risso, Exercises on IP Addressing, 7 December 2017. Original local file: 01c - IP Addressing.pdf. 01c preserves the filename identifier; this is an exercise workbook, not a new lecture. Page references use PDF page order. The source’s page 2 credits contributors and states CC BY-NC-SA 3.0. These workbook-derived study notes are shared under the same license: https://creativecommons.org/licenses/by-nc-sa/3.0/. The original PDF and diagrams remain local. Calculations and explanations are study material; source errata should not be memorized as rules.