Course: Internet Architecture and Technologies
Source: Fulvio Risso, Exercises on Static IP Routing and Route Aggregation, 23 February 2018, 61 pages.
Study date: 15 October 2026.
Deadline: none supplied.
Status: main concepts taught; Exercise 3 completed with guidance. Not a complete solution set for all 14 exercises. Personal progress is kept in the private Inbox.
Related notes
- Exercise 01c - IP Addressing
- Lecture 01 - IPv4 Addressing and Routing
- IPv4 Static Routing Paths and ARP
- IPv4 Routing Tables and Longest Prefix Matching
- IPv4 Route Aggregation and Routing Loops
- IPv4 Addressing Plans and Subnet Allocation
Workbook roadmap
| Pages | Material |
|---|---|
| 6-14 | Connected/static routes, costs, aggregation, specificity, defaults, alternatives |
| 15-19 | List networks, derive shortest-path trees, write tables, simplify routes |
| 21 | Exercises 1-2: weighted graphs and per-node routing trees |
| 22-24 | Exercises 3-6: routing tables and aggregation |
| 25-30 | Exercises 7-12: address plans that favor aggregation versus address economy; growth and changed weights |
| 31-32 | Exercises 13-14: static backup failures and routing/ARP faults |
| 34-61 | Source solutions |
Exercise 3: topology and addresses (page 22)
Build R1’s table, first preserving exactly the original remote address space, then minimizing the number of entries with broader routes allowed.
R1
/ \
1 / \ 5
/ \
R2---1---R3Costs label router links. All shortened addresses below begin 130.192.. The source labels one endpoint of each router link; the other usable endpoint is inferred.
| Network | Prefix | Router addresses |
|---|---|---|
| R1 LAN | 2.0/27 | R1 2.1 |
| R2-R3 link | 2.32/30 | R2 2.33, R3 2.34 |
| R1-R2 link | 2.36/30 | R1 2.37, R2 2.38 |
| R1-R3 link | 2.40/30 | R1 2.41, R3 2.42 |
| R2 LAN, subnet 1 | 0.0/24 | R2 0.254 |
| R2 LAN, subnet 2 | 1.0/25 | R2 1.126 |
| R3 LAN | 1.128/25 | R3 1.254 |
R2’s two logical subnets share its LAN. Address order does not need to follow the router positions in the drawing: .2.32-.2.35 belongs to the remote R2-R3 link, not a gap to fill at R1.
Stage 1-2: complete table before aggregation
R1 reaches R3’s LAN through R2 at cost 1 + 1 = 2, rather than directly at cost 5. Its direct R1-R3 subnet still remains connected; choosing a cheaper path to R3’s LAN does not remove that connected route.
| Type | Destination | Next-hop field | Cost |
|---|---|---|---|
| C | 130.192.2.0/27 | 130.192.2.1 | 0 |
| C | 130.192.2.36/30 | 130.192.2.37 | 0 |
| C | 130.192.2.40/30 | 130.192.2.41 | 0 |
| S | 130.192.0.0/24 | 130.192.2.38 | 1 |
| S | 130.192.1.0/25 | 130.192.2.38 | 1 |
| S | 130.192.1.128/25 | 130.192.2.38 | 2 |
| S | 130.192.2.32/30 | 130.192.2.38 | 1 |
Connected entries show R1’s own interface in the workbook’s Next hop column; static entries show its neighbor. An explicit higher-cost alternative through .2.42 is unnecessary in this best-path table and does not guarantee automatic recovery from a remote failure.
Stage 3: exact aggregation
All remote LAN routes have next hop 130.192.2.38:
130.192.1.0/25plus130.192.1.128/25exactly fills130.192.1.0/24.- That
/24plus130.192.0.0/24exactly fills130.192.0.0/23. - Keep the separate remote router link and all three connected entries.
The result has five entries:
| Type | Destination | Next-hop field |
|---|---|---|
| C | 130.192.2.0/27 | 130.192.2.1 |
| C | 130.192.2.36/30 | 130.192.2.37 |
| C | 130.192.2.40/30 | 130.192.2.41 |
| S | 130.192.0.0/23 | 130.192.2.38 |
| S | 130.192.2.32/30 | 130.192.2.38 |
The source records cost 1 for the aggregate despite the original LAN paths having costs 1 and 2. Treat this as its simplified aggregate-cost convention, not a claim that every underlying path costs 1.
Stage 4: fewest entries
The learner proposed 130.192.0.0/22 through R2. It covers all remote destinations, while connected prefixes override it for R1’s local networks:
| Type | Destination | Next-hop field |
|---|---|---|
| C | 130.192.2.0/27 | 130.192.2.1 |
| C | 130.192.2.36/30 | 130.192.2.37 |
| C | 130.192.2.40/30 | 130.192.2.41 |
| S | 130.192.0.0/22 | 130.192.2.38 |
The source solution on page 37 instead uses S 0.0.0.0/0 130.192.2.38, with cost 1. Both achieve four entries for the stated destinations; the default also handles otherwise unmatched addresses outside the supplied /22. Neither broader route preserves exactly the original address space. Unused destinations newly covered by a broader route require loop/discard analysis across the other routers; this exercise constructs R1’s table, not a universal reachability guarantee.
Packet checks (added revision)
| Destination | Winning row with the /22 version |
|---|---|
130.192.2.10 | Connected 2.0/27; direct delivery |
130.192.2.42 | Connected 2.40/30; direct delivery despite LAN path costs |
130.192.1.200 | Static /22 through 130.192.2.38 |
130.192.2.34 | Static /22 through 130.192.2.38 |
8.8.8.8 | No match in this four-row /22 table; a default version would send to R2 |
Remaining practice
- Solve all graph destinations in Exercises 1-2; manual chain examples do not replace the full graphs.
- Attempt Exercise 4: same topology, changed weights, then compare aggregation choices.
- Solve a full address-planning exercise from 7-12; the session covered the grouping principle, not every topology.
- Trace every route/ARP configuration in Exercise 14 using its actual diagram and MAC addresses.
Source and attribution
Fulvio Risso, Exercises on Static IP Routing and Route Aggregation, 23 February 2018. Local file: 01d - IP Static Routing.pdf. PDF page order is used; 01d preserves the filename identifier. Exercise 3 is on page 22, source solutions on pages 36-37. Original PDF and figures remain local. Paraphrased workbook-derived notes are licensed CC BY-NC-SA 3.0, following its page 2 license: https://creativecommons.org/licenses/by-nc-sa/3.0/. Alternative /22, extra packet checks and explanatory qualifications are added study material, distinguished from the source answer.