Course Hub

Study IPv4 and IPv6 addressing, routing, multicast, local service discovery, cellular networks, and mobility.

Information

Authors of the supplied slides: Alessio Sacco, Claudio Casetti, Guido Marchetto, Marco Rapelli.
Cellular Networks slides: Guido Marchetto and Alessio Sacco, with adapted material credited in Lecture 02 - Cellular Networks.
Semester: 2026-27, following University Dashboard.
Credits, exam format, and lecture date: not supplied.

Connected course summary

Follow the explanation below from the first packet through IPv4, multicast, cellular networks, IPv6 and coexistence. Each concept is briefly explained before its link, so you can keep reading or open the detail when needed. Open Internet Architecture and Technologies - Connected Reading Guide to read the summary on its own.

Internet Architecture and Technologies - Connected Reading Guide

When an application sends data, it needs more than a destination address. The device must work out which network the destination belongs to, how to reach it, and how to hand the packet to the next device. Start with that simple delivery problem. Each later topic adds something to it: more receivers, a moving device, a different address format, or two IP versions that must communicate.

IPv4: from an address to a working path

IP carries data in separate packets called datagrams. Each router forwards a packet toward its destination using its routing table, without first setting up an IP connection. This is a best-effort service: packets can be lost, delayed or reordered, and IP itself does not repair those outcomes. That is the basic delivery model on which the rest of the course builds. IPv4 Datagram Service and Forwarding

To forward a packet, the network needs to identify where it is going. An IPv4 address identifies a network interface, so a router connecting several networks normally has an address on each relevant interface. Some addresses have special meanings: loopback refers back to the local host, while broadcast addresses target a set of interfaces rather than one ordinary host. IPv4 Interfaces and Special Addresses

An address alone still leaves a question: which part identifies the network, and which part identifies an interface within it? Historically, address classes imposed fixed boundaries such as /8, /16 and /24. This explains the older terminology, but those classes are not the rule to use for modern route selection. Classful IPv4 Addressing

CIDR makes that boundary explicit with a prefix length. In 192.0.2.10/24, the first 24 bits identify the network; the subnet mask expresses the same division in another form. This lets us describe networks of different sizes instead of being restricted to the old classes. CIDR Prefixes and Netmasks

Once the boundary is known, we can derive the actual network address by setting every host bit to zero. This matters because an address inside a subnet is not necessarily its Network ID: 192.0.2.24/28 belongs to the network starting at 192.0.2.16. Checking boundaries prevents us from building an addressing plan around a subnet that does not start where we think it does. IPv4 Network IDs and Subnet Boundaries

The same prefix also tells us how many addresses fit inside the subnet. Under ordinary IPv4 subnet rules, the network and broadcast addresses are reserved, leaving the remaining addresses for interfaces. Point-to-point /31 links are a special case, while a /32 describes one address. These distinctions matter when choosing a prefix for a real requirement. IPv4 Host Counts and Point-to-Point Subnets

We can now turn a list of requirements into an addressing plan: choose suitable block sizes, place each subnet on a valid boundary, and keep allocations from overlapping. Allocating larger requirements first often makes the remaining space easier to manage. The result is a set of networks that can actually be configured. IPv4 Addressing Plans and Subnet Allocation

With addresses assigned, a host must decide how to reach a destination. Its routing table contains destination prefixes and instructions for reaching them. If several routes match, the longest prefix wins because it describes the most specific destination range. A default route is the least specific fallback. IPv4 Routing Tables and Longest Prefix Matching

Selecting a route does not yet put a packet on Ethernet. The sender also needs the MAC address of the selected local neighbor: the destination itself for direct delivery, or a router for an off-link destination. ARP resolves that neighbor’s IPv4 address. Each router repeats the route-and-local-delivery process; the final IP destination and the immediate Ethernet receiver serve different purposes. IPv4 Static Routing Paths and ARP

This explains why a gateway must be reachable through the local link, and why a wrong mask can break communication even when the addresses look plausible. A host may try ARP for a remote destination it mistakenly considers local, or send traffic toward a gateway when direct delivery was intended. Troubleshooting starts by checking these decisions. IPv4 Gateways and Addressing Troubleshooting

As networks grow, keeping a separate route for every small subnet becomes cumbersome. Aggregation replaces several prefixes with a broader summary, but that summary can also attract packets for unused space. If neighboring routers send such a packet back to each other, a routing loop forms until TTL expires. A summary therefore needs deliberate handling of the space it covers. IPv4 Route Aggregation and Routing Loops

The complete lecture and its source examples are in Lecture 01 - IPv4 Addressing and Routing. Apply the sequence through Exercise 01c - IP Addressing and Exercise 01d - IP Static Routing.

Observing the path: what must happen before data arrives?

Now imagine entering a hostname and watching the resulting traffic. DNS may first resolve the name to an IP address. Routing then determines the next hop, and ARP may resolve its Ethernet address. ICMP supports diagnostics and reports certain delivery problems. These are separate jobs, so the order of visible packets reflects dependencies rather than one indivisible operation. Packet Delivery - DNS ARP and ICMP

A capture only shows what crosses its observation point. An ARP broadcast, a unicast reply and traffic on another switched link need not all be visible to the same sniffer. Frame counting therefore starts with the topology, the capture location and the initial cache state; only then can we count the transmissions the observer actually sees. Packet Capture Visibility and Frame Counting

When an expected exchange is missing, follow those dependencies to find where progress stops. Incorrect addressing can change ARP and routing behavior, while an HTTP proxy changes the application’s communication path by receiving requests and making onward requests itself. A ping and a proxied web request can therefore test different paths. Traffic Analysis - Failure Patterns and HTTP Proxies

Practice reconstructing those exchanges in Exercise 01e - Packet Sniffing and Traffic Analysis.

Multicast: when the destination is a group

So far, the packet has had one destination interface. If many receivers want the same data, separate unicast transmissions repeat copies over shared links. Multicast instead uses an address identifying a group of interested receivers, allowing the network to replicate packets where their paths separate. The group address identifies the audience rather than one ordinary interface. IPv4 Multicast Groups and Addresses

A group address does not tell a router whether anyone on its attached network wants the traffic. IGMP supplies local membership information: hosts indicate interest, and routers maintain knowledge of whether a group has listeners on a link. This answers the local demand question before we consider distribution across several networks. IGMP and Multicast Group Membership

The packet must still travel in a frame on Ethernet. IPv4 multicast groups map to Ethernet multicast MAC addresses, but the mapping is not unique: several IP groups can share one MAC address. Receiving a matching Ethernet frame is therefore not enough to establish that its IP group is the one an application wants. IPv4 Multicast to Ethernet MAC Mapping

Switches can observe IGMP messages to learn which ports need group traffic, reducing unnecessary local distribution. Routers have a different responsibility: forwarding multicast across networks along a distribution tree and copying packets at branch points. Local membership, switch snooping and routed distribution cooperate, but each solves a different part of delivery. IGMP Snooping and Multicast Distribution Trees

Multicast also supports local discovery. A device can ask the local link about a name or service without first knowing the address of a conventional DNS server. mDNS uses link-local multicast for this purpose; discovering something locally does not imply that the query will travel across routers. Multicast DNS and Local Service Discovery

The lecture brings these layers together in Lecture 01f - IPv4 Multicast.

Cellular networks: when the attachment point changes

Packet routing assumes there is a usable way to reach the next network. A mobile device first needs radio access, and radio spectrum is shared and limited. Cellular systems divide coverage into cells and reuse frequencies with enough separation to control interference. Cell size and reuse choices connect coverage, capacity and interference. Cellular Cells and Frequency Reuse

Movement then creates a location problem. Registration tells the system about a subscriber’s presence, location updates keep its whereabouts sufficiently current, and paging finds an idle device when service is needed. Handover addresses a different situation: transferring an active connection as the serving cell changes. Cellular Registration Paging and Handover

GSM assigns these responsibilities to concrete components. The SIM provides subscriber identity and authentication-related information; subscriber databases maintain subscription and location information, while radio and switching components provide access and service. Following those roles makes the architecture easier to understand than memorizing its component names separately. GSM Architecture SIM and Subscriber Databases

That architecture must also coordinate transmissions over the air. GSM organizes radio resources into frequencies, timeslots and frames. Devices at different distances have different propagation delays, so timing advance makes their uplink bursts arrive in the intended slots. This connects the physical distance of a moving device to the timing of shared radio access. GSM Radio Channels Frames and Timing Advance

LTE reorganizes service around a packet-based core. Its control plane manages tasks such as attachment and mobility, while its user plane carries the subscriber’s data. Bearers describe the logical transport service provided through the network. Keeping signaling and user packets separate makes it easier to follow which component is responsible at each step. LTE Architecture Control Plane and Bearers

5G develops the architecture further with service-based core functions, slicing for different service requirements, and options for placing processing closer to users. These choices connect radio access to differences in latency, capacity and service needs; they are easier to follow once the control and data responsibilities are clear. 5G Core Slicing Edge Computing and Radio

The generation-by-generation detail is in Lecture 02 - Cellular Networks, with practice in Cellular Networks - Revision Questions.

IPv6: rebuilding the same delivery process

IPv4’s limited address space motivates a larger addressing system. IPv6 uses 128-bit addresses, but its purpose is not simply to fill every possible address: hierarchical allocation leaves room for growth and route aggregation. This connects address availability to the ability to organize and route networks at scale. IPv6 Allocation Aggregation and Coexistence

To use those addresses, we first need to read their notation and understand their scope. A link-local address is usable on its link, while other address types serve different communication needs. Prefixes still describe network ranges, so the familiar distinction between a destination address and a network prefix remains useful. IPv6 Addresses Prefixes and Scope

A newly connected device then needs configuration information. Router Advertisements communicate router and prefix information; SLAAC can construct addresses from advertised prefixes, and DHCPv6 can supply addresses or other configuration. These roles must be distinguished: obtaining an address through DHCPv6 does not by itself discover the default router. IPv6 SLAAC Router Advertisements and DHCPv6

When the device forms an address, the interface identifier raises another question: should it remain stable, change over time, or expose information tied to hardware? Stable and temporary identifiers make different tradeoffs between operational usefulness and privacy. An interface can consequently have several IPv6 addresses with different purposes and lifetimes. IPv6 Interface Identifiers and Privacy

Once configured, the device still needs to deliver frames to a neighbor. IPv6 uses Neighbor Discovery instead of ARP, including Neighbor Solicitation and Advertisement messages. For an off-link destination, the local Ethernet receiver is a router; for an on-link destination, it is the destination neighbor. The route decision still comes before resolving the appropriate local neighbor. IPv6 Neighbor Discovery and Ethernet Delivery

The resulting packet has an IPv6 base header and may carry extension headers. If a link cannot carry the packet at its current size, IPv6 routers do not fragment it; the sender must adapt using Path MTU information or perform source fragmentation when appropriate. This makes packet size another part of successful end-to-end delivery. IPv6 Headers Extensions and Path MTU

ICMPv6 connects several of these operations: it carries Neighbor Discovery messages and errors such as Packet Too Big. Multicast Listener Discovery manages local IPv6 multicast membership. These control exchanges are part of making delivery work, rather than optional traffic unrelated to the packet path. ICMPv6 and Multicast Listener Discovery

Follow the complete network-join example in Lecture 03 - IPv6 to connect configuration, address checks, routing and neighbor resolution in one sequence.

Coexistence: when the path does not speak one IP version

Understanding each IP version separately leaves a practical mismatch: endpoints and intermediate networks may support different versions. Dual stack gives a system both versions, tunneling encloses a packet for transport across another network, and translation changes its IP representation. The right distinction starts with where the incompatibility lies. IPv4 IPv6 Dual Stack Tunneling and Translation

Suppose customers still generate IPv4 traffic while their provider operates an IPv6 access network. DS-Lite carries the IPv4 packets through that network inside IPv6 and performs shared IPv4 NAT at the provider. Address-plus-port approaches introduce another way to share an IPv4 address: assign customers different port sets, so the address alone is no longer the whole customer identifier. DS-Lite and Address Plus Port

MAP mechanisms develop that mapping idea using rules that associate IPv4 information and port sets with IPv6 information. MAP-E uses encapsulation, while MAP-T uses translation. Reading the rules together with the packet path explains how provider forwarding can use customer allocations without keeping the same per-connection NAT state as DS-Lite’s provider function. MAP-E MAP-T and Port Sets

A different mismatch appears when an IPv6 client needs an IPv4-only destination. DNS64 can synthesize an IPv6 destination from an IPv4 DNS answer, and NAT64 translates traffic toward the IPv4 server. IPv4 literals and IPv4-only applications need additional handling; 464XLAT adds customer-side translation to support IPv4 traffic over IPv6 access. NAT64 DNS64 and 464XLAT

The comparison diagrams and source qualifications are in Lecture 03a - IPv4 to IPv6 Transition. At each stage, keep track of the packet being carried, any outer header, any translation, and where state is stored. Those four observations connect the mechanism names back to the delivery process you started with.

Routing: how forwarding instructions are learned

The IPv4 table tells a router where to send a packet, but those instructions must first be configured or learned. Routing chooses and maintains directions; forwarding uses the local result for each packet. Failures take time to propagate and can temporarily cause loops or dropped traffic. Routing Forwarding and Convergence

In distance vector, a router adds its cost to a neighbor to the neighbor’s advertised destination cost. Stale reports can create feedback, so safeguards manage particular failure patterns. Distance Vector Routing and Failure Recovery

In link state, routers share descriptions of local links, build a domain map and calculate their own shortest paths. This makes the information exchanged different from distance vector, even when both select the same path. Link State Routing and Dijkstra

Larger networks divide routing into domains and exchange selected reachability information across their borders. This limits detail, but exit choices, summarization and redistribution introduce tradeoffs. Hierarchical Routing and Route Redistribution Read the connected explanation and source map in Lecture 04 - Forwarding and Routing Algorithms.

Routing protocols: OSPF inside, BGP between domains

OSPF puts link-state routing into practice. First, neighboring routers use Hello packets to discover each other; routers forming an adjacency compare database descriptions, request missing records, and exchange and acknowledge LSAs. Their area databases provide the information each router uses to calculate its own shortest paths. A shared Ethernet uses a designated router to reduce control-plane work; that role does not make it the mandatory next hop for user packets. OSPF Neighbors Flooding and LSAs

Areas limit how much topology each router must maintain. An area border router advertises inter-area reachability, while an AS boundary router can introduce external destinations. When links fail, the routers must update their information and converge; summarization and virtual links introduce their own reachability considerations. External E1 and E2 routes use internal and external costs differently. OSPF Areas Costs and External Routes The step-by-step exchange, cost comparisons, area-failure scenarios and worked slide configuration are in Lecture 05 - OSPF.

BGP connects independently administered networks using prefix advertisements, AS paths and operator policy. A route can move between ASes over eBGP and between BGP routers inside an AS over iBGP; the normal iBGP re-advertisement restriction and route reflectors shape internal distribution. A router checks whether the advertised next hop is reachable and compares eligible routes using attributes such as LOCAL_PREF and AS_PATH. OSPF may supply internal reachability, but every router on the actual data path still needs a suitable forwarding route. BGP Sessions Paths and Attributes

The network’s choice to accept, prefer or advertise a route reflects its policies and agreements. A BGP peer is a router at the other end of a session; network peering is an agreement to exchange specified traffic. Transit is a provider service, and an IXP offers an interconnection point without automatically creating a session or agreement with everyone. Aggregation can reduce advertisements but can also attract traffic for failed or unused space. BGP Policy Transit and Internet Exchange Follow a prefix across the source’s AS 30 example, compare routes and review a worked configuration in Lecture 06 - BGP.


This summary connects the supplied lecture and exercise notes. It is added study explanation; source attribution, page references, worked examples and technical qualifications remain in the linked notes.

Link to original

Current Focus

Lectures

The supplied 1.pdf has 18 pages. 01 follows its filename; no lecture number appears in the slides. The 10-page 01f - IPv4Multicast.pdf supplies the multicast material; 01f preserves its filename identifier. These notes cover the supplied material, not a complete course syllabus.

The cellular source has 124 pages. 02 preserves its filename identifier; references in Lecture 02 - Cellular Networks use PDF page order.

Labs

No lab material supplied. Use Lab Template under 50 Labs/Internet Architecture and Technologies/ when available.

Exercises

Exercise 01e - Packet Sniffing and Traffic Analysis covers the 56-page workbook with guided walkthroughs of Exercises 1-18, frame-count reasoning, capture visibility, failure patterns and HTTP proxy behavior. These are guided study notes, not an independent assessment solution record.

Exercise 01d - IP Static Routing documents Fulvio Risso’s 61-page routing workbook, main-concept teaching and a guided complete Exercise 3, with exact and broader aggregation alternatives. It links IPv4 Static Routing Paths and ARP and the expanded IPv4 Route Aggregation and Routing Loops. The remaining exercises are revision practice, not a completed solution set.

Exercise 01c - IP Addressing documents Fulvio Risso’s 47-page workbook, its core methods, selected worked revision checks, and remaining full-exercise practice. It links IPv4 Addressing Plans and Subnet Allocation and IPv4 Gateways and Addressing Troubleshooting. This is not a complete solution set for all 21 exercises.

Cellular Networks - Revision Questions contains 15 added multiple-choice questions, solutions, and follow-up checks. These are tutoring material, not an official exercise sheet.

Assignments

No assignments or deadlines supplied.

Where to find concepts

Concepts under 20 Concepts/Internet Architecture and Technologies/ are grouped by the lecture that introduces them. Workbook-specific concepts have their own exercise folders. A concept used in several lessons stays in its primary folder; existing note links still lead to it.

Important concepts

Resources

  • Local sources: 05-OSPF.pdf (79 pages) and 06-BGP.pdf (72 pages), Alessio Sacco, Politecnico di Torino, based on earlier versions by Fulvio Risso. Lecture 05 - OSPF and Lecture 06 - BGP preserve filenames and PDF page order; PDFs and figures remain local.

  • Local source: 04-Routing.pdf, Alessio Sacco, Forwarding and Routing Algorithms, based on a previous version by Fulvio Risso, Politecnico di Torino, 146 PDF pages. Lecture 04 - Forwarding and Routing Algorithms follows the filename and PDF page order. The PDF and figures remain local.

  • Local exercise source: 01e - Packet Sniffing and Traffic Analysis.pdf, Fulvio Risso, Exercises on Packet Sniffing and Traffic Analysis, 17 September 2017, 56 pages. Derived notes retain CC BY-NC-SA 3.0 attribution and licensing. PDF and figures remain local.

  • Original local source: 03a-IPv4-IPv6 transition.pdf, Transition from IPv4 to IPv6, Claudio Casetti, Guido Marchetto, Alessio Sacco and Marco Rapelli, 50 pages. Lecture 03a - IPv4 to IPv6 Transition preserves the 03a identifier and uses PDF page order. The PDF and figures remain local.

  • Original local source: 03-IPv6.pdf, IPv6, Claudio Casetti, Guido Marchetto, Alessio Sacco and Marco Rapelli, 99 pages. 03 preserves the filename identifier; references use PDF page order. The PDF and figures remain local. Lecture 03 - IPv6 separates source material from worked teaching examples and qualifications.

  • Local exercise source: 01d - IP Static Routing.pdf, Fulvio Risso, Exercises on Static IP Routing and Route Aggregation, 23 February 2018, 61 pages. Workbook-derived notes retain its CC BY-NC-SA 3.0 license and attribution; PDF and figures remain local.

  • Local exercise source: 01c - IP Addressing.pdf, Fulvio Risso, Exercises on IP Addressing, 7 December 2017, 47 pages. This workbook is licensed CC BY-NC-SA 3.0; derived workbook notes retain that license and attribution. Its PDF and diagrams remain local.

  • Original local source: 02-cellular Networs.pdf, Cellular Networks, 124 pages. The PDF and slide images remain local, following the vault’s source-handling convention.

  • Original local source: 1.pdf, IPv4 addressing and routing, 18 pages.

  • Original local source: 01f - IPv4Multicast.pdf, IPv4 Multicast, 10 pages; same authors as listed above.

  • Lecture Template and Concept Template

  • RFC 3021: /31 point-to-point links, supporting the added clarification to pages 9-10.

The lecture PDFs remain local because their page 2 notices restrict redistribution. The separately licensed exercise workbook also remains local. Notes are original study explanations with source attribution; source figures are not copied into the public library.

Questions

  • Which routing protocols and other Internet topics will later lectures cover?
  • Does the assessment expect the traditional host-count rule or also the /31 exception?
  • How should an unused portion of an aggregate prefix be handled?

Exam preparation

  • Trace OSPF neighbor synchronization, area boundaries and LSA types

  • Calculate E1/E2 choices and explain an area failure, virtual link and the slide’s wildcard-mask configuration

  • Follow BGP advertisements, path attributes, policies and next-hop reachability

  • Distinguish BGP sessions from peering agreements and trace iBGP distribution, route selection and prefix aggregation

  • Trace forwarding and explain routing, FIB, next hop and convergence

  • Compare distance vector, link state, failure recovery and hierarchical routing

  • Reconstruct DNS/routing/ARP dependencies and count only frames crossing the specified sniffer

  • Compare wrong-mask failures, Redirect paths and plain-HTTP proxy versus ping traffic

  • Distinguish dual stack, tunneling and translation using endpoint-versus-network examples

  • Trace DS-Lite, MAP-E/MAP-T, DNS64/NAT64 and 464XLAT; locate customer/provider functions and connection state

  • Explain shared IPv4 port sets, router compatibility, synthesized destinations and IPv4-literal limitations

  • Trace IPv6 on-link and off-link delivery, including solicited-node and Ethernet multicast mapping

  • Distinguish RS/RA, A/L/M/O flags, SLAAC/DHCPv6, DAD and address/router lifetimes

  • Explain IPv6 source fragmentation, Path MTU, extension chaining and interface zones

  • Compare stable/temporary identifiers, MLD, aggregation and IPv4/IPv6 coexistence

  • Compare frequency reuse cluster size with cell radius

  • Distinguish registration, paging, location updating, and handover

  • Explain GSM architecture, FDMA/TDMA, FDD, bursts, and timing advance

  • Trace LTE user traffic separately from MME control signaling

  • Explain AMF/SMF/UPF, slicing, MEC, MIMO, and beamforming

  • Explain connectionless and best-effort delivery

  • Distinguish an interface address, Network ID, and broadcast address

  • Convert between /prefix and dotted-decimal mask

  • Compute network, broadcast, range, and usable hosts

  • Explain every valid/invalid Network ID on page 11

  • Distinguish /30, /31, and /32

  • Select the longest matching route before discussing route cost

  • Distinguish a remote next hop from a local interface

  • Explain why a default route cannot replace a necessary more-specific route

  • Trace the page 16 loop for an unused destination

  • Explain why R1 reaches R3’s LAN through R2 in pages 17-18

  • Compare unicast, broadcast, and multicast

  • Identify the multicast address range and link-local exceptions

  • Explain how receivers join groups through IGMP

  • Map a multicast IPv4 address to Ethernet and explain the 32-to-1 mapping

  • Explain packet copying at multicast tree branches

  • Trace an mDNS query and explain why it stays on its link

Course structure

10 Courses/
├── Internet Architecture and Technologies.md
└── Internet Architecture and Technologies/
    ├── Lectures/
    │   ├── Lecture 01 - IPv4 Addressing and Routing.md
    │   ├── Lecture 01f - IPv4 Multicast.md
    │   └── Lecture 02 - Cellular Networks.md
    └── Exercises/
        ├── Cellular Networks - Revision Questions.md
        ├── Exercise 01c - IP Addressing.md
        └── Exercise 01d - IP Static Routing.md
20 Concepts/
└── Internet Architecture and Technologies/