Advanced Networking

Chapter 1
Advanced Networking Foundations and Architectures

Bachelors Program in IT
Advanced Networking   •   Bachelor

Advanced Networking Foundations and Architectures

Introduction

Computer networks are engineered systems that enable hosts, applications, and users to exchange information across shared and heterogeneous infrastructure. Advanced networking begins with more than memorizing protocol names: it requires understanding how communication is layered, how data is encapsulated and forwarded, how control decisions are separated from packet movement, and how performance and faults can be analyzed systematically.

The Internet is not one network but an interconnection of autonomous networks operated by different organizations. Interoperability is therefore achieved through architectural models, open standards, addressing conventions, routing protocols, and carefully defined interfaces. This chapter establishes the conceptual foundation needed for later study of routing, switching, wireless networks, network security, cloud networking, and software-defined networking.

Learning Objectives

By the end of this chapter, you should be able to:

  • explain the OSI and TCP/IP architectural models and relate their layers;
  • describe encapsulation, decapsulation, multiplexing, and demultiplexing;
  • distinguish control, data, and management planes;
  • identify the roles and limitations of common network devices;
  • compare physical, logical, and overlay topologies;
  • explain the importance of standards and protocol interoperability;
  • calculate and interpret basic network performance metrics; and
  • apply a systematic method to packet capture and fault analysis.

1. Layered Network Architecture

1.1 Why layering is used

A network is too complex to design as one undivided mechanism. Layering decomposes communication into functions with defined responsibilities. A layer provides services to the layer above and uses services from the layer below. This separation supports interoperability, modularity, independent development, and troubleshooting.

Layering also introduces costs. Headers consume bandwidth, processing is repeated at multiple layers, and strict abstraction can hide information needed for optimization. Consequently, real systems sometimes use cross-layer information, tunnelling, or protocol extensions. Layering is a powerful model, not an absolute description of every implementation.

1.2 The OSI reference model

The Open Systems Interconnection (OSI) model has seven layers:

LayerPrincipal concernTypical examples
7. ApplicationNetwork services used by applicationsHTTP, DNS, SMTP
6. PresentationRepresentation, translation, encryption, compressionTLS functions, character encoding
5. SessionDialog control and session coordinationSession management mechanisms
4. TransportEnd-to-end delivery, reliability, flow controlTCP, UDP, QUIC
3. NetworkLogical addressing and path selectionIP, OSPF, BGP
2. Data linkLocal delivery, framing, media accessEthernet, Wi-Fi, VLAN tagging
1. PhysicalSignals, media, and bit transmissionFibre, copper, radio

The upper three OSI layers are often implemented together in modern protocols. The model remains valuable because it supplies a vocabulary for describing faults: a damaged fibre is primarily a physical-layer problem, while an incorrect IP route is primarily a network-layer problem.

1.3 The TCP/IP model

The TCP/IP suite is the practical architecture of the Internet. A common four-layer representation is:

  1. Application: application protocols and data formats.
  2. Transport: process-to-process communication, using TCP, UDP, or QUIC.
  3. Internet: internetwork addressing and forwarding, principally IP.
  4. Link: local transmission over a particular medium.

Some texts divide the link layer into data-link and physical layers, producing a five-layer teaching model. OSI and TCP/IP should not be treated as exact one-to-one mappings. For example, TLS may be viewed as an application-support protocol rather than a strict OSI presentation-layer protocol.

2. Encapsulation and Communication

When an application sends data, each lower layer normally adds control information. The application creates a message; the transport layer adds a transport header to form a segment or datagram; the Internet layer adds an IP header to form a packet; and the link layer adds a frame header and usually a trailer. At the destination, the reverse process is called decapsulation.

Encapsulation and decapsulation across network layers Application data Transport | Data IP | Transport | Data Frame header | IP | Transport | Data | Trailer Network transmission Decapsulation at receiver Sender: headers are added
Encapsulation and decapsulation across network layers
Figure: Encapsulation and decapsulation across network layers

Figure: Data is encapsulated at the sender and decapsulated at the receiver.

Encapsulation is not merely a teaching metaphor. Headers carry addresses, protocol identifiers, sequence numbers, flags, checksums, and lifetime information. A receiver uses these fields to determine which protocol should process the payload.

Multiplexing occurs when one layer supports several higher-layer conversations, such as many application processes using one host's TCP/IP stack. Demultiplexing delivers received data to the correct process, commonly using protocol fields and port numbers. A TCP connection is identified by a four-tuple: source IP address, source port, destination IP address, and destination port.

A router generally removes the incoming link-layer frame, examines the IP packet, makes a forwarding decision, and creates a new link-layer frame for the next link. The IP packet may remain logically end-to-end, although fields such as time to live are changed. A switch normally forwards frames within a local Layer 2 domain and does not normally inspect the transport payload.

3. Planes of Network Operation

Modern network equipment is usefully understood through three planes.

  • Data plane: performs per-packet operations such as lookup, filtering, rewriting, queuing, and transmission. It must operate efficiently, often in specialized hardware.
  • Control plane: computes state used by the data plane, including routes, neighbour relationships, spanning-tree information, and access-control policies.
  • Management plane: provides administrative access, configuration, monitoring, inventory, logging, and software maintenance. It includes interfaces such as SSH, SNMP, NETCONF, REST APIs, and telemetry systems.

The distinction helps explain failures. A router may have a functioning data plane that continues forwarding using existing routes while its control plane has lost a routing adjacency. Conversely, a correct routing table is useless if a hardware forwarding engine or interface is failing.

Software-defined networking (SDN) emphasizes separation between a logically centralized control function and distributed forwarding devices. This does not eliminate distributed mechanisms; it changes how policy and state may be programmed. Centralization can improve consistency but introduces controller availability, scalability, security, and latency considerations.

4. Network Devices and Their Roles

A repeater regenerates or reshapes signals and operates at the physical layer. A hub is a multiport repeater that sends incoming signals to multiple ports; it creates one shared collision domain and is largely obsolete.

A bridge connects Layer 2 segments. An Ethernet switch is a high-performance multiport bridge that learns source MAC addresses and forwards frames according to its MAC address table. Unknown unicast and broadcast frames may be flooded within the relevant VLAN.

A router connects different IP networks and selects a next hop using a routing table. It separates broadcast domains, decrements the IP time-to-live field, and may perform filtering, address translation, or quality-of-service functions.

A firewall enforces traffic policy based on attributes such as addresses, ports, protocol state, application identity, or content. A wireless access point bridges wireless stations to a wired or wireless distribution system. A load balancer distributes flows among service instances and may operate at Layer 4 or Layer 7.

No device label fully determines behavior. Many enterprise platforms combine switching, routing, firewalling, wireless control, and telemetry. The correct analysis is therefore functional: ask what information the device examines, what state it maintains, and what action it takes.

5. Topologies and Network Scope

A physical topology describes cable, radio, and device placement. A logical topology describes traffic relationships, addressing, and forwarding behaviour. An overlay topology describes a virtual network built over an underlying network, as in virtual private networks or data-centre tunnels.

Common topologies include:

  • Bus: devices share one medium; inexpensive historically, but difficult to isolate and scale.
  • Star: endpoints connect to a central switch or access point; common in LANs and easy to manage, but the centre is important to availability.
  • Ring: each node has a logical successor and predecessor; predictable access is possible, although a break can disrupt service unless protection exists.
  • Mesh: nodes have multiple interconnections. Full mesh provides high redundancy but requires many links. For n nodes, a full undirected mesh has n(n-1)/2 links.
  • Tree or hierarchical topology: access, distribution, and core functions are organized in layers, supporting scale and fault domains.

A campus network may combine star access networks with redundant hierarchical distribution. Wide-area networks commonly use partial mesh because full redundancy is expensive. Cloud networks add virtual routers, security groups, load balancers, and overlays to physical infrastructure.

6. Standards, Protocols, and Interoperability

A protocol is a set of rules governing message format, meaning, timing, and actions. A standard documents those rules sufficiently for independent implementations to interoperate. Standards may be produced by bodies such as the Internet Engineering Task Force (IETF), IEEE, ISO, and ITU-T.

Important examples include Ethernet specifications from IEEE 802.3, Wi-Fi specifications from IEEE 802.11, IP specifications and operational guidance from the IETF, and DNS specifications defined through IETF standards. A Request for Comments (RFC) may define a protocol, document best practice, or record an informational proposal; not every RFC is a mandatory Internet standard.

Interoperability depends on shared syntax and semantics. Two systems may both support “IP” yet fail to communicate because of incompatible addressing, filtering, MTU, authentication, or application assumptions. Standards therefore include error handling, versioning, negotiation, and security considerations—not only successful message formats.

7. Network Performance Metrics

Performance must be measured against a defined path, direction, packet size, and observation interval. Important metrics include:

  • Bandwidth: theoretical capacity, measured in bit/s.
  • Goodput: useful application data delivered per unit time, excluding protocol overhead and retransmitted data.
  • Latency: time required for a packet or transaction to travel between defined points.
  • Jitter: variation in packet delay, important for voice and interactive media.
  • Loss: packets that fail to reach the intended endpoint or are discarded.
  • Availability: proportion of time a service meets its stated availability criterion.

For a packet of length L bits transmitted on a link with rate R bit/s, serialization delay is:

ts = L / R

This formula assumes the entire packet is serialized on the link and excludes propagation, processing, and queuing delays. If L = 12,000 bits and R = 100,000,000 bit/s, then ts = 0.00012 s, or 0.12 ms.

A simple end-to-end delay model is:

dend-to-end = dprocessing + dqueue + dtransmission + dpropagation

For multiple links, transmission, propagation, processing, and queuing components are summed across the path. Queuing delay is workload-dependent and can dominate during congestion. The model is therefore an analytical decomposition, not a promise that delay is constant.

For an observation period, packet loss rate can be estimated as:

loss rate = packets lost / packets sent × 100%

This estimate assumes that sent and lost packets are measured consistently and that the observation interval is specified. A low average loss rate does not guarantee good performance: bursts of loss may be severe for real-time applications.

8. Systematic Packet Analysis

Packet analysis should proceed from evidence rather than assumptions. A practical sequence is:

  1. Define the symptom: identify the affected users, application, time, direction, and scope.
  2. Establish the path: identify source and destination addresses, gateways, VLANs, routing domains, and likely intermediate devices.
  3. Capture at meaningful points: compare client, access, server, and gateway observations where legally and operationally permitted.
  4. Check lower layers first: verify link state, negotiated speed, duplex, wireless association, VLAN membership, and error counters.
  5. Inspect Layer 3: examine source and destination IP addresses, subnet masks, next hops, TTL, fragmentation, and ICMP messages.
  6. Inspect transport behaviour: examine ports, TCP flags, sequence and acknowledgement numbers, retransmissions, window size, resets, and connection establishment.
  7. Inspect application exchanges: verify DNS responses, TLS negotiation, HTTP status codes, authentication, and server timing.
  8. Correlate with device telemetry: compare packet evidence with interface counters, routing changes, logs, CPU, memory, and queue data.
  9. Test a hypothesis: change one controlled variable or reproduce the problem, then assess whether the predicted evidence appears.

A TCP connection normally begins with a SYN, receives a SYN-ACK, and is completed with an ACK. A missing SYN-ACK suggests a path, firewall, server-listening, or return-route problem, but the capture point determines which explanation is plausible. Retransmissions indicate that expected acknowledgements or data were not observed in time; they do not by themselves prove that the network is the sole cause.

Packet captures also have limitations. Capture points may miss packets, timestamp clocks may be unsynchronized, encryption may hide application content, offloading may make host captures appear unusual, and a symptom may be caused by a server or client rather than the network. Privacy, authorization, and data-retention requirements must govern all captures.

Illustrative Case: Intermittent Access to a University Learning Platform

Background

Students report that a learning platform loads slowly during morning examinations. Some users receive a timeout, while others succeed after refreshing.

Problem and analysis

The operations team first records time, building, wireless access point, client address, destination service, and failure frequency. Wireless association and signal levels are normal. Access-switch counters show no physical errors. A client capture shows repeated TCP retransmissions after the connection has been established. A server-side capture shows requests arriving in bursts, while the firewall reports an exhausted state table during the incident window.

The team compares the packet path with normal traffic. The application uses many short-lived connections, and a recently introduced inspection policy maintains state for each flow. Connection tracking reaches its configured limit, causing new flows to be discarded. Existing sessions continue, explaining why the problem is intermittent.

Solution and outcome

The team increases capacity only after confirming memory and CPU limits, reduces unnecessary connection churn through connection reuse, adjusts the policy based on documented risk analysis, and adds alerts for state-table utilization. A controlled load test confirms that the platform remains reachable under expected peak demand.

Learning points

The case demonstrates why symptom, capture, and device telemetry must be correlated. A wireless complaint may originate in a firewall or application design. It also illustrates the distinction between packet forwarding and stateful policy enforcement, and the importance of capacity planning based on connection rate—not only link bandwidth.

Challenges, Governance, and Contemporary Practice

Networks must balance availability, performance, security, cost, and privacy. Centralized management and telemetry improve visibility but create sensitive records about users and behaviour. Packet captures may contain credentials, personal data, or confidential business information; access should be authorized, minimized, protected, and retained only as necessary.

Network administrators should apply least privilege, secure management protocols, strong authentication, configuration backup, change control, time synchronization, and documented rollback procedures. Automation should be tested in a lab or staged environment. AI-assisted anomaly detection can identify unusual flows or predict capacity problems, but its alerts require validation: encrypted traffic, changing workloads, biased baselines, and false positives can mislead operators. Human accountability remains essential for disruptive actions.

Contemporary networks increasingly use IPv6, encrypted transport, cloud-managed infrastructure, intent-based automation, programmable data planes, zero-trust access controls, and telemetry streaming. These developments do not replace foundational reasoning. Engineers still need to understand addressing, encapsulation, forwarding state, standards, metrics, and evidence-based diagnosis.

Best Practices

  • Design with explicit failure domains and redundant critical paths.
  • Separate user, management, storage, and service traffic where appropriate.
  • Document addressing, VLANs, routing policy, dependencies, and ownership.
  • Use standardized naming, time synchronization, and configuration version control.
  • Measure latency, loss, jitter, utilization, and availability from the user perspective.
  • Capture traffic only with authorization and protect collected data.
  • Validate changes through testing, peer review, monitoring, and rollback plans.
  • Interpret protocol evidence together with device and application evidence.

Chapter Summary

Layered architecture makes complex communication manageable by assigning related responsibilities to distinct layers. OSI provides a seven-layer reference vocabulary, while TCP/IP describes the practical Internet protocol architecture. Encapsulation adds headers and trailers as data moves downward; decapsulation removes them at the receiver. Switches primarily forward local frames, routers forward packets between networks, and firewalls enforce policy based on traffic and state.

The data, control, and management planes explain how packets are moved, how forwarding information is computed, and how systems are configured and observed. Physical, logical, and overlay topologies provide different views of connectivity. Standards from organizations such as the IETF and IEEE enable independent systems to interoperate. Performance analysis depends on clearly defined metrics, including serialization delay, end-to-end delay, loss, latency, jitter, and goodput. Systematic packet analysis begins with a defined symptom, proceeds across layers, and correlates captures with device and application evidence. Professional networking also requires attention to authorization, privacy, security, change control, and responsible automation.

Key Terms

Layering: Dividing network functions into cooperating levels with defined interfaces.

OSI model: Seven-layer reference model for describing communication functions.

TCP/IP model: Practical Internet architecture organized around application, transport, Internet, and link functions.

Encapsulation: Addition of protocol control information as data moves down a protocol stack.

Decapsulation: Removal and interpretation of protocol control information at the receiver.

Multiplexing: Supporting multiple higher-layer conversations through one lower-layer service.

Demultiplexing: Delivering received data to the correct protocol or application process.

Data plane: Network functions that process and forward packets.

Control plane: Functions that compute routes, policies, and forwarding state.

Management plane: Functions for configuration, monitoring, logging, and administration.

Switch: Multiport Layer 2 forwarding device using MAC-address information.

Router: Device that forwards packets between IP networks.

Topology: Arrangement and relationship of network nodes and links.

Overlay: Virtual network constructed over an underlying network.

Protocol: Rules governing message format, meaning, timing, and processing.

Bandwidth: Maximum nominal transmission capacity of a link.

Goodput: Useful application data delivered per unit time.

Latency: Delay between defined transmission and reception events.

Jitter: Variation in packet delay.

Packet capture: Recorded network traffic used for protocol and fault analysis.

Review Questions

Short Answer Questions

  1. What is the principal purpose of layering in network architecture?
  2. Distinguish the data plane from the control plane.
  3. What information does a router use to make a forwarding decision?
  4. Define encapsulation and decapsulation.
  5. Why can packet loss rate alone be an inadequate performance measure?

Long Answer Questions

  1. Compare the OSI and TCP/IP models, including their similarities, differences, and practical value.
  2. Explain how a web request is encapsulated as it travels from a client to a server and decapsulated at the destination.
  3. Compare hubs, switches, routers, firewalls, and wireless access points by function and traffic information examined.
  4. Explain physical, logical, and overlay topologies and discuss how a university might combine them.
  5. Develop a systematic method for investigating intermittent application timeouts using packet captures and operational telemetry.

Analytical / Application Questions

  1. A 1,500-byte packet is transmitted over a 10 Mbit/s link. Calculate its serialization delay and state which delays are excluded from the calculation.
  2. A capture shows SYN packets leaving a client but no SYN-ACK returning. Identify at least three hypotheses and describe additional evidence that would distinguish them.
  3. A network has adequate bandwidth but users experience poor voice quality during busy periods. Analyze which metrics and mechanisms should be investigated, and justify your approach.

Multiple Choice Questions with Answers

Question 1

Which function is primarily associated with the network layer?

A. Encoding electrical signals on copper

B. Selecting paths and forwarding packets between networks

C. Delivering data to a specific application process

D. Formatting application documents

Correct Answer: B. Selecting paths and forwarding packets between networks

Question 2

What is the correct order of encapsulation from an application toward the transmission medium?

A. Frame, packet, segment, application data

B. Application data, transport unit, IP packet, link-layer frame

C. Packet, frame, application data, transport unit

D. Transport unit, application data, frame, IP packet

Correct Answer: B. Application data, transport unit, IP packet, link-layer frame

Question 3

Which plane computes routing information used by the forwarding process?

A. Data plane

B. Physical plane

C. Control plane

D. Presentation plane

Correct Answer: C. Control plane

Question 4

A router normally separates which type of domains?

A. Broadcast domains

B. Character-encoding domains

C. Application-session domains only

D. Power domains

Correct Answer: A. Broadcast domains

Question 5

For a 12,000-bit packet sent over a 100 Mbit/s link, what is the serialization delay?

A. 0.012 ms

B. 0.12 ms

C. 1.2 ms

D. 12 ms

Correct Answer: B. 0.12 ms

Question 6

Which device primarily uses a MAC address table to forward local Ethernet frames?

A. Switch

B. Router

C. Repeater

D. Application server

Correct Answer: A. Switch

Question 7

Which observation most directly indicates transport-layer retransmission behaviour?

A. A changed Ethernet preamble

B. Repeated TCP sequence ranges without timely acknowledgements

C. A new fibre connector

D. A changed monitor resolution

Correct Answer: B. Repeated TCP sequence ranges without timely acknowledgements

Question 8

What does goodput measure?

A. Theoretical link capacity only

B. Useful application data delivered per unit time

C. The number of routing protocols installed

D. The physical length of a cable

Correct Answer: B. Useful application data delivered per unit time

Question 9

Why is a packet capture point important during troubleshooting?

A. It determines whether the observed traffic represents the relevant segment of the path

B. It automatically decrypts all encrypted traffic

C. It eliminates the need for device logs

D. It guarantees that packets were not dropped elsewhere

Correct Answer: A. It determines whether the observed traffic represents the relevant segment of the path

Question 10

Which practice is most appropriate when collecting packet captures?

A. Capture indefinitely without authorization

B. Share captures publicly for faster diagnosis

C. Collect only with authorization and protect potentially sensitive data

D. Disable all access controls during collection

Correct Answer: C. Collect only with authorization and protect potentially sensitive data

Advanced Networking
Chapter 1 of 15