← Course index

CSC 570 / Fall 2026

Computer Networks

From physical signals to packets, reliable links, shared media, and the layered Internet.

01 / Topic atlas

Build the mental model

Original study notes synthesized from Fall 2026 course slides, labs, and topic outlines.

A network is a stack of promises. Applications ask for communication; transport decides how endpoints share and recover; the network layer chooses paths across interconnected systems; the link layer moves a frame across one local hop; the physical layer turns bits into energy. Encapsulation preserves those boundaries while every hop changes the local delivery context.

Performance follows from where work waits. Serialization consumes L/R seconds, propagation consumes distance divided by signal speed, queues grow when arrivals outrun service, and loss appears when finite buffers fill. Reliability adds state—sequence numbers, acknowledgements, timers, and windows—so the receiver can distinguish new data from delayed or duplicated data.

Later link-layer topics make shared infrastructure concrete. CRC detects structured errors, ARQ repairs loss, MAC protocols coordinate competing senders, ARP binds local identifiers, switches learn forwarding state, and VLANs create logical boundaries over shared hardware.

01
A network of networks

Edges, access networks & the core

Hosts at the network edge exchange packets through access links and a core of interconnected routers. Forwarding is the local act of choosing an output interface; routing computes paths across the network.

  • Access links may be shared or dedicated.
  • Packet switching statistically multiplexes link capacity.
  • Layering gives each protocol a focused service boundary.
02
Where time goes

Delay, loss & throughput

End-to-end delay combines processing, queueing, transmission, and propagation. Transmission delay depends on packet length and link rate; propagation delay depends on distance and signal speed.

  • Transmission delay = L/R.
  • Propagation delay = distance/propagation speed.
  • A bottleneck link limits steady-state end-to-end throughput.
03
Bits need a physical signal

Signals, media & capacity

Digital data rides analog electromagnetic signals over guided or wireless media. Bandwidth, noise, attenuation, modulation, and encoding constrain the rate and reliability of transmission.

  • Wavelength and frequency satisfy λf = c.
  • Power ratios are expressed with 10 log₁₀(P₂/P₁) decibels.
  • Sampling and channel limits connect signal bandwidth to data rate.
04
Detect, acknowledge, retry

Error detection & ARQ

Checksums and CRCs expose corrupted frames. Automatic Repeat reQuest protocols combine sequence numbers, acknowledgements, timers, and retransmission to deliver data reliably over an unreliable link.

  • Stop-and-wait allows one unacknowledged frame.
  • Sliding windows keep multiple frames in flight.
  • Sequence numbers separate new data from retransmissions.
06
Polynomial arithmetic over bits

CRC & structured error detection

A cyclic redundancy check treats a bit string as a polynomial over GF(2). The sender appends the remainder from dividing the shifted data polynomial by a generator. The receiver divides the complete codeword by the same generator; a nonzero remainder signals corruption.

  • XOR replaces subtraction in modulo-2 long division.
  • A generator of degree r produces r check bits.
  • A suitable CRC detects every burst error shorter than the generator length.
07
Keep the path busy

Stop-and-wait, Go-Back-N & Selective Repeat

Stop-and-wait permits one outstanding frame and wastes capacity on long-delay paths. Sliding-window protocols permit several unacknowledged frames. Go-Back-N retransmits from the first missing frame; Selective Repeat buffers and retransmits individual gaps.

  • Sequence-number space must be large enough to separate old and new windows.
  • Timeout choice trades recovery speed against duplicate retransmission.
  • Window utilization depends on transmission time relative to round-trip time.
08
Share one broadcast medium

ALOHA, CSMA & collision handling

Multiple-access protocols divide a channel, allow random contention, or assign turns. Carrier sensing reduces avoidable collisions but cannot eliminate them because propagation delay lets distant senders begin before hearing one another.

  • CSMA/CD aborts wired transmission after detecting a collision.
  • Wi-Fi uses collision avoidance because a radio cannot reliably listen while transmitting.
  • The minimum wired frame time must cover a round-trip propagation interval for collision detection.
09
Local delivery

ARP, Ethernet & switch learning

IP identifies an interface within the network-layer topology; a MAC address identifies local frame delivery. ARP broadcasts a query for an IP-to-MAC mapping, and the owner replies directly. Ethernet switches learn source addresses from arriving frames and forward known destinations only to the learned port.

  • ARP cache entries expire because local mappings can change.
  • Unknown unicast and broadcast frames are flooded within the broadcast domain.
  • A router removes the incoming frame and creates a new frame for the next link.
10
Logical and wireless LANs

VLANs, trunks & Wi-Fi

A VLAN divides one switching fabric into separate logical broadcast domains. Access ports carry one VLAN; tagged trunks carry several. Wi-Fi adds association, shared radio contention, acknowledgements, and hidden-terminal concerns that differ from switched full-duplex Ethernet.

  • Inter-VLAN communication requires network-layer routing.
  • 802.1Q tags identify VLAN membership across a trunk.
  • Wireless retransmission repairs local loss before transport sees it when possible.

02 / Interactive model

Open the five-layer model

Open each layer to inspect its responsibility, PDU, protocols, and field layout.

03 / Math sandbox

Choose a problem.
Change the evidence.

Every solver shows the equation, substituted values, units, and result. Calculations stay in the browser.

Worked result—

Select values to begin.

04 / Reference

Language is infrastructure.

64 definitions are connected to the narrative above through hover and keyboard-focus tooltips.

01

protocol

Rules defining message formats, ordering, and actions taken on transmission or receipt.

02

packet

A bounded unit of data carried through a packet-switched network.

03

router

A network-layer device that forwards packets between networks.

04

forwarding

The local data-plane action of moving a packet from input to output.

05

routing

The control-plane process that determines end-to-end paths.

06

transmission delay

Time to push all packet bits onto a link: packet length divided by rate.

07

propagation delay

Time for a signal to travel the physical link distance.

08

throughput

Rate at which useful data reaches the receiver.

09

attenuation

Loss of signal strength through a transmission medium.

10

CRC

A polynomial remainder code used to detect common patterns of bit errors.

11

ARQ

Automatic Repeat reQuest: reliability using feedback and retransmission.

12

MAC address

A link-layer identifier used to deliver frames on a local network.

13

application layer

The layer where network applications define messages and user-facing protocol behavior.

14

transport layer

End-to-end process communication, multiplexing, reliability, flow control, and congestion behavior.

15

network layer

Host-to-host delivery across interconnected networks using addressing, forwarding, and routing.

16

data-link layer

Node-to-adjacent-node frame delivery over one link.

17

physical layer

Transmission of coded bits as electrical, optical, or radio signals.

18

encapsulation

Wrapping an upper-layer PDU with the current layer’s header and sometimes trailer.

19

PDU

Protocol Data Unit: the message format handled by one layer.

20

message

An application-layer data unit.

21

segment

A TCP transport-layer PDU.

22

datagram

A connectionless PDU; commonly an IP packet or UDP transport unit depending on context.

23

frame

A link-layer PDU containing a local header, payload, and often an error-checking trailer.

24

bit

The physical layer’s binary unit before signal encoding.

25

bandwidth

A frequency range in hertz; informally also used for link bit rate.

26

bit rate

Bits transmitted per second.

27

baud rate

Symbols transmitted per second.

28

symbol

One signaling state that may encode one or more bits.

29

latency

Elapsed delay from source action to destination observation.

30

processing delay

Time to inspect headers, check errors, and choose an action.

31

queueing delay

Time waiting in a buffer before service.

32

bottleneck

The path resource with the smallest available service rate.

33

bandwidth-delay product

Amount of data that can be in flight: rate multiplied by round-trip time.

34

goodput

Useful application payload delivered per unit time, excluding overhead and retransmissions.

35

jitter

Variation in packet delay.

36

decibel

A logarithmic power ratio: 10 log₁₀(P₂/P₁).

37

Nyquist rate

For a band-limited signal, a sampling rate at least twice the maximum frequency.

38

Shannon capacity

The theoretical noisy-channel capacity B log₂(1+S/N).

39

parity

A redundant bit making the number of one bits even or odd for simple error detection.

40

Hamming distance

The number of bit positions at which two codewords differ.

41

generator polynomial

The agreed divisor used in CRC encoding and checking.

42

remainder

The r-bit CRC value appended to data after modulo-2 division.

43

ACK

A positive acknowledgement indicating successful receipt.

44

NAK

A negative acknowledgement requesting repair of an error.

45

timeout

A timer expiration interpreted as probable loss.

46

sequence number

A bounded identifier distinguishing data positions and retransmissions.

47

stop-and-wait

A reliability protocol allowing one unacknowledged data unit.

48

Go-Back-N

A pipelined ARQ protocol using cumulative ACKs and retransmission from a missing frame onward.

49

Selective Repeat

A pipelined ARQ protocol that buffers out-of-order data and retransmits individual gaps.

50

sliding window

The range of sequence numbers currently permitted for sending or receiving.

51

ALOHA

A random-access family where senders transmit and retry after collisions.

52

CSMA

Carrier Sense Multiple Access: listen before transmitting on a shared medium.

53

CSMA/CD

CSMA with collision detection and abort, historically used by shared wired Ethernet.

54

CSMA/CA

CSMA with collision avoidance, used by Wi-Fi.

55

collision domain

The set of interfaces whose simultaneous transmissions can collide.

56

broadcast domain

The set of interfaces reached by a link-layer broadcast.

57

ARP

Address Resolution Protocol, mapping a local IPv4 address to a MAC address.

58

ARP cache

A time-limited table of learned IP-to-MAC mappings.

59

Ethernet

The dominant wired LAN technology and frame format standardized as IEEE 802.3.

60

switch

A link-layer device learning source MAC locations and forwarding frames by destination MAC.

61

switch table

Learned MAC-to-port mappings with aging timers.

62

VLAN

A logical broadcast domain configured over a switching fabric.

63

trunk

A link carrying frames for multiple VLANs, usually with 802.1Q tags.

64

MTU

Maximum Transmission Unit: largest network-layer payload a link can carry without fragmentation.

05 / Retrieval practice

Generate a fresh set.

Questions and answer order shuffle each time. Explanations appear only after submission.

?

Your generated questions will appear here.