Packet Switching and Network Performance

Follow your data from your device to a server across the world. Start at the network edge, where homes, offices and phones connect through DSL, cable, fiber, Wi-Fi and cellular networks. Then move into the core: see how routers store and forward packets, why the internet uses packet switching instead of reserved circuits, and how access, regional and tier-1 ISPs, exchange points and content providers join into one network of networks. Calculate transmission, propagation and queuing delay, predict when packets are lost, find the bottleneck that limits throughput, and read real traceroute output to see where the delay on a path comes from.

IntermediateLesson 1 of 8 in Computer Networks Course

What you will learn

  1. Identify the hosts, links and packet switches that make up the internet, and compare the access networks and physical media that connect homes, organizations and mobile devices.
    • Name the parts of the internet and work with link rates
      Describe the internet as end systems joined by links and packet switches, separate the network edge from the network core, and convert between bits, bytes and transmission rates.
    • Compare home access networks
      Explain how DSL, cable, fiber to the home, fixed wireless and satellite connect a home to the provider's first router, and what limits the rate and delay of each.
    • Describe enterprise and mobile access and physical media
      Explain how Ethernet, Wi-Fi and cellular networks connect users in organizations and on the move, and compare the guided and unguided media that carry bits.
  2. Explain how the network core moves data across many links, calculate store-and-forward delay, and judge when sharing link capacity on demand works better than reserving it.
    • Follow packets through store-and-forward switches
      Calculate how long packets take to cross a path of store-and-forward switches, and explain how output queues, packet loss and forwarding tables fit into packet switching.
    • Explain circuit switching with FDM and TDM
      Describe how a circuit-switched network reserves resources for each connection, and calculate transfer times over circuits made with frequency-division and time-division multiplexing.
    • Weigh packet switching against circuit switching
      Use statistical multiplexing and worked comparisons to decide when packet switching or circuit switching serves users better.
  3. Describe how access, regional and tier-1 ISPs, exchange points and content providers connect so that any two hosts on the internet can reach each other.
    • Trace the hierarchy of ISPs and their business relationships
      Explain why access ISPs are interconnected through larger providers, and describe transit, peering, points of presence, multi-homing and exchange points.
    • Explain how content provider networks reshape the internet
      Describe how large content companies and content delivery networks bring data closer to users, and why today's internet is flatter than a strict hierarchy.
  4. Break the time a packet needs to cross a network into its parts, predict how queues grow and drop packets as load rises, and find the throughput of a path.
    • Break nodal delay into its four parts
      Define processing, queuing, transmission and propagation delay at a router, calculate transmission and propagation delay, and decide which one dominates.
    • Add up end-to-end delay along a path
      Combine per-link delays into the end-to-end delay and round-trip time of a path, use the bandwidth-delay product, and recognize delays added at end systems.
    • Predict queuing delay and packet loss
      Use traffic intensity to judge how congested a link is, explain how arrival patterns and load shape queuing delay, and explain when and why packets are lost.
    • Find the throughput of a path
      Define instantaneous and average throughput, find the bottleneck link of a path, and calculate transfer times when links are shared.
  5. Use traceroute to discover the routers on a path and the round-trip delay to each, and interpret its output, including missing replies and uneven times.
    • Explain how traceroute discovers a path
      Explain how traceroute uses the time-to-live field and ICMP replies to find each router on a path and to measure round-trip times.
    • Read and interpret traceroute output
      Read a traceroute listing line by line, explain missing replies and uneven round-trip times, and use RTT jumps to locate long or congested links.

Packet Switching and Network Performance study guide

5 chapters

1

Describe how devices connect at the network edge

A video call begins at a phone or computer, but its packets cross several kinds of network before they reach another person. Follow that first stretch from the device to an ISP, and separate the equipment that runs applications from the equipment that carries their data. Comparing home, campus and mobile connections will help you explain why a high advertised rate can still produce an uneven experience.

A web request starts in one application and ends in another. The internet supplies the links and switching equipment between them, while shared rules let separately built devices exchange useful messages.

Hosts, links and switches

A host, or end system, runs applications. Phones, laptops, sensors and servers are all hosts; many servers are grouped in data centers. A client requests a service, such as a browser requesting a page. A server provides it. These names describe roles in a communication, not two different physical kinds of computer.

Communication links carry signals over copper, coaxial cable, optical fiber or radio. Packet switches pass data from one link to another. Routers join networks and form much of the network core; link-layer switches connect devices mainly within local and access networks. The sequence of links and switches crossed by a packet is its path, or route.

The network edge consists of the end systems and the access networks that attach them. The network core is the mesh of switches and links interconnecting those access networks. For a home download, the laptop belongs to the edge even when the server is thousands of kilometers away: geographic distance does not turn an end system into a core router.

The service and the rules

Viewed as a service, the internet carries data between distributed applications: web browsers and web servers, callers, games and email programs. A program hands data to the operating system through a socket interface. The network then carries that data toward the receiving program.

A protocol defines message formats, message order and the actions taken when messages are sent or received. HTTP governs web exchanges, while TCP and IP perform other jobs in the TCP/IP stack. Agreeing on a cable alone is insufficient: the communicating systems must also interpret the messages and react to them consistently.

Convert sizes before calculating time

A sender divides application data into chunks and adds headers, producing packets. A link's rate tells you how many bits it can place onto the medium each second. Decimal prefixes apply: 1 kbps is 1,000 bit/s, 1 Mbps is one million bit/s, and 1 Gbps is one billion bit/s.

File sizes often use bytes. One byte contains 8 bits; 1 kB is 1,000 bytes and 1 MB is one million bytes. A MiB is a different quantity: 1,048,576 bytes, about 5% larger than an MB.

To push a 1 MB file onto a 20 Mbps link:

  1. Convert the size: 1 MB=8×106 bits.
  2. Express the rate: 20 Mbps=20×106 bit/s.
  3. Divide size by rate: 8×106/(20×106)=0.4 s.

This is the time to put the bits onto that link. Travel time and waiting elsewhere are separate delays. At 100 Mbps the corresponding maximum byte rate is 100/8=12.5 MB/s. Reading Mbps as MB/s makes a transfer-time estimate eight times too small.

Key Takeaways

  • Hosts run applications; switches carry their packets between links.
  • The edge contains end systems and access networks; the core interconnects them.
  • Protocols specify message formats, order and actions.
  • Convert bytes to bits before dividing a size by a rate in bit/s.

1.2 Compare home access networks

A home connection has two stretches: a local network from your devices to the home router, then an access connection into the ISP. A fast local Wi-Fi connection cannot remove a limit on that second stretch.

Copper telephone lines and cable networks

A home router often combines a router, a Wi-Fi access point and a small Ethernet switch. A separate modem may connect it to the access medium. That connection leads into the ISP's network and its first, or edge, router.

DSL reuses a copper telephone pair. The home DSL modem communicates with a DSLAM at the provider's central office. In ADSL, frequency bands separate voice, upstream data and downstream data. The voice band occupies 0–4 kHz; the downstream band is wider than the upstream band. Each home has its own copper pair to the office.

Home DSL services usually offer more downstream capacity than upstream capacity. The DSL family also has symmetric forms used mainly by businesses. Longer copper lines weaken the signal and collect more noise, lowering the available rate. Fiber to a street cabinet shortens the copper stretch; VDSL often uses less than a kilometer of copper.

Cable access uses hybrid fiber-coax, or HFC. Fiber reaches neighborhood nodes; coaxial cable then reaches typically hundreds of homes. A home's cable modem exchanges data with a CMTS at the head end. DOCSIS 4.0, published in 2020, specifies up to 10 Gbps downstream and 6 Gbps upstream capacity for the shared channel. Those figures describe channel capacity, not a rate reserved for each home.

Which capacity is shared?
AccessConnection arrangementMain rate limit
DSLA separate telephone pair per homeCopper length, signal quality and service rate
Cable HFCHomes share a coaxial segmentTotal demand on shared channels
FTTH using PONHomes share fiber through a passive splitterShared optical capacity and service rate
Fixed wirelessHome modem shares a cellular base stationSignal conditions and competing users

Cable downstream signals reach every home on the node. Upstream users must take turns. FTTH brings fiber all the way home; in a passive optical network (PON), an unpowered splitter commonly serves 32 or 64 homes. The provider has an OLT, and each home an ONT. Each ONT selects its own downstream data. FTTH supports very high access rates, often 1 Gbps or more, with symmetric services common.

Access without a new cable

5G fixed wireless access uses a stationary home modem and a nearby cellular base station. Satellite access can reach remote homes. A GEO satellite orbits at 35,786 km, so the shortest ground–satellite–ground trip is 71,572 km. At 3×108 m/s, this adds about 0.24 s one way and 0.48 s for a request and reply, before other delays.

A LEO satellite at about 550 km gives a minimum up-and-down distance of about 1,100 km, or 3.7 ms. Actual paths also depend on geometry and ground connections. The advertised access rate alone therefore cannot predict a download: shared use, a long DSL line or a slower link farther along the path can reduce the delivered rate.

Key Takeaways

  • Keep the home LAN separate from the access connection into the ISP.
  • DSL line length affects its rate; cable, PON and wireless share capacity.
  • PON uses a passive splitter between an OLT and home ONTs.
  • Fixed wireless reaches a home by radio to a cellular base station.
  • GEO satellite distance creates a large propagation delay.

1.3 Describe enterprise and mobile access and physical media

Inside an office, a packet may start on copper or radio and leave the building on fiber. A mobile packet also enters the same internet core after its wireless access stretch. Each link has its own medium and its own limits.

Local and wide-area access

A local area network (LAN) joins nearby devices to an edge router. With Ethernet, a computer commonly connects over twisted-pair copper to a switch at 1 Gbps. Servers often connect at 10 Gbps or more. Links between switches and the router join these local connections into a usable path.

Wi-Fi, based on IEEE 802.11, exchanges packets by radio with an access point connected to the LAN. It covers distances of tens of meters. Devices sharing its radio channel compete for transmission time, so adding active users reduces the capacity available to each.

Cellular access spans a wider area. A phone exchanges packets with an operator's base station, sometimes several kilometers away. 4G LTE and 5G provide this access; 5G supports higher rates and lower delay, with higher-frequency bands offering more capacity over shorter ranges. The rate a phone achieves still depends on signal conditions and cell load.

The radio connection does not lead into a separate wireless internet. Beyond the access point or base station, packets cross ordinary interconnected networks. Cellular backhaul, the connection from a base station into the operator's network, can itself use microwave radio as well as wired media.

Match the medium to the job

A guided medium confines a signal to a physical path. An unguided medium lets it spread through air or space.

MediumHow it carries signalsUseful strengths and limits
Twisted pairTwo insulated copper wires twisted togetherLow-cost LAN wiring; twisting reduces interference
Coaxial cableConcentric copper conductorsHigh shared rates in cable networks
Optical fiberLight pulses in glassHigh capacity, long reach, immunity to electromagnetic interference
RadioElectromagnetic waves through air or spaceMobility and cable-free coverage; variable signal quality

Unshielded twisted pair is common in LANs. Category 6A supports 10 Gbps Ethernet over up to 100 m. Fiber carries tens to hundreds of Gbps on a link, with more capacity possible through multiple wavelengths. Its low signal loss suits long-distance backbone and undersea links. Optical equipment can cost more than copper equipment on short links, and tapping fiber is difficult but possible.

Radio is affected by path loss as signals weaken over distance and through obstacles. Multipath occurs when reflections arrive by different routes at different times. Other transmitters add interference. These effects make wireless rates and errors less predictable than those of wired links.

Choose for the installation

A mobile inventory scanner needs freedom to move, making radio valuable even where Ethernet is faster. A fixed link between distant buildings may favor fiber for reach and resistance to electrical interference. Installation labor often costs more than the cable itself, so new buildings commonly receive fiber and spare cable together. The useful comparison weighs rate, distance, installation cost, interference and mobility, not just a technology's peak rate.

Key Takeaways

  • Ethernet switches and Wi-Fi access points connect devices within LANs.
  • Cellular base stations provide wide-area access; backhaul joins them to the operator.
  • Copper and fiber guide signals; radio travels through air or space.
  • Fiber combines high capacity with low loss and immunity to electromagnetic interference.
  • Path loss, multipath and interference affect radio links.
  • A medium must suit the distance, cost and mobility needs.
2

Compare packet switching and circuit switching

A router can carry packets for many users without reserving a slice of each link for each person. A circuit-switched network makes a different promise: it reserves capacity before communication begins. Work through how both designs share links, how packet pipelines shorten transfers, and why bursts make sharing useful. Their different treatment of idle time explains both the efficiency gains and the risk of queues.

2.1 Follow packets through store-and-forward switches

Packet switching divides a message into independently forwarded packets. Each outgoing link sends one packet at its full link rate, while other packets may be crossing other links at the same time.

Wait for the whole packet

Under store-and-forward, a switch receives the complete packet before sending its first bit on the next link. For packet length L bits and rate R bit/s, one transmission takes L/R seconds.

A 1,500-byte packet contains 12,000 bits. On a 10 Mbps link:

L/R=12,000/107=0.0012 s=1.2 ms

Across three equal-rate links, the packet is transmitted three times. Ignoring propagation, processing and queuing, it arrives after 3×1.2=3.6 ms. Three links means two intervening routers: count the connections, including the source's and destination's connections.

Build a packet pipeline

Now send five equal packets back to back along those three links. The source sends packet 2 while the first router forwards packet 1. After the first packet fills the path, later packets arrive one transmission time apart.

PacketReaches first routerReaches second routerReaches destination
11.2 ms2.4 ms3.6 ms
22.4 ms3.6 ms4.8 ms
33.6 ms4.8 ms6.0 ms
44.8 ms6.0 ms7.2 ms
56.0 ms7.2 ms8.4 ms

For P equal packets over N equal-rate links, with no other delays, the last arrival is:

(N+P−1)L/R

The first packet pays for all N transmissions; each remaining packet adds one more transmission interval. Multiplying P×N×L/R would force every link to wait until the previous packet reached the destination, eliminating the parallel work that the network can perform.

The five packets contain 60,000 bits altogether. Sending those bits as one unbroken message would take 6 ms per link and 18 ms over three store-and-forward links. The 8.4 ms packetized transfer is faster because forwarding begins before the entire message has arrived. Extra packet headers use capacity too; they are separate from this comparison of equal data totals.

Decide where the packet goes

A router examines the destination IP address in a packet's header. Its forwarding table maps destination address ranges to outgoing links. Routing protocols populate those tables; forwarding is the local act of consulting a table and sending this packet through the chosen interface.

Each outgoing link has an output buffer, or queue. If that link is busy, newly arrived packets wait there. Their waiting time is queuing delay, which changes with the traffic reaching that output. A quiet input does not prevent congestion if several other inputs feed the same output.

Buffers have finite space. When a buffer fills, the router drops an arriving or already queued packet, depending on its policy. This is packet loss. Store-and-forward explains when forwarding can begin; it does not guarantee that the outgoing link or buffer will be available.

Key Takeaways

  • Store-and-forward waits for a complete packet at each switch.
  • One packet has one transmission delay per link.
  • Equal packets on equal-rate links finish after (N+P−1)L/R when other delays are absent.
  • Forwarding tables select outgoing links using destination addresses.
  • Busy outputs queue packets; full buffers cause loss.

2.2 Explain circuit switching with FDM and TDM

Circuit switching reserves resources along an entire path for a communication session. The sender first establishes a circuit, then uses the reserved rate until the session ends. Traditional telephone networks illustrate this design.

A reservation across shared links

A circuit is a reserved share of link and switch capacity. It need not be a separate physical wire. Many circuits can share the same cable while keeping their reserved resources separate. Once a circuit is established, other users' data does not create output queues for its reserved share, so the sender gets a constant rate and predictable delay.

Multiplexing lets several circuits occupy one physical link. Two common methods separate them by frequency or by time.

MethodResource assigned to a circuitWhat happens during silence
Frequency-division multiplexing (FDM)A frequency band for the whole sessionIts band stays reserved
Time-division multiplexing (TDM)A recurring slot in each frameIts slot stays reserved

In FDM, several bands exist at once. FM radio stations provide a familiar example. Analog telephone trunks assigned calls bands about 4 kHz wide. A band's bandwidth is a frequency width measured in hertz. A bit rate is measured in bit/s: the two units describe different quantities.

In TDM, time repeats in frames, each containing fixed slots. A circuit gets one slot every frame. For equal slots with no frame overhead, divide the link rate by the number of slots to obtain that circuit's rate. A circuit transmits during its own slot and waits for the next occurrence; its average rate is its reserved fraction of the link.

Calculate the circuit rate first

A 2.048 Mbps link has 32 equal slots per frame. Circuit setup takes 400 ms, and the sender has a 960,000-bit file.

  1. Convert the full link rate to 2,048,000 bit/s.
  2. Divide among slots: 2,048,000/32=64,000 bit/s.
  3. Divide file size by circuit rate: 960,000/64,000=15 s.
  4. Add setup: 15+0.4=15.4 s, ignoring propagation.

The sender does not obtain 2.048 Mbps merely because other users happen to be quiet. Its circuit still owns one slot in each frame. Also, the file transmission time is not multiplied by the number of links on the path. The reserved circuit carries a flowing stream of bits; the entire file is not stored and then forwarded as one packet at every switch. Add propagation separately when it is part of a task.

Account for unused reservations

The guarantee has a cost. When a caller is silent or a user stops to read a loaded page, the circuit's share sits idle. Another user cannot take that share on demand. If all circuits are allocated, a new connection may be blocked even while some existing connections send no data. This is a limit on admitting sessions, distinct from dropping packets from a full buffer.

Key Takeaways

  • Circuits reserve path resources before sending data.
  • FDM separates frequency bands; TDM allocates recurring time slots.
  • For equal TDM slots without overhead, circuit rate is link rate divided by slot count.
  • Transfer time includes setup plus file size divided by circuit rate.
  • An idle circuit keeps its reservation; a fully allocated link can block new sessions.

2.3 Weigh packet switching against circuit switching

Web traffic often alternates between short downloads and long pauses. A reservation sized for each user's busy moment leaves capacity unused during the pauses. Packet switching lets other users use that capacity as their packets arrive.

Share capacity when demand occurs

Statistical multiplexing is on-demand sharing of a link among packets from different users. A waiting packet can use the next available transmission opportunity, so one user's silence does not reserve unused capacity. This works especially well for bursty traffic, whose active periods are separated by quiet periods.

Consider ten users sharing a 10 Mbps link. One sends 2,000 packets of 1,000 bits while the other nine are silent. Its total is 2,000×1,000=2×106 bits. With ten equal TDM reservations, its 1 Mbps circuit takes 2 s. With packet switching, the full 10 Mbps link sends the burst in 0.2 s, ignoring other delays.

Compare peak demand with average demand

Suppose each active user needs 1 Mbps and is active independently 20% of the time. A 10 Mbps circuit-switched link can guarantee that rate to at most ten users. Packet switching can serve 20 users with a small chance that simultaneous demand exceeds capacity.

Let X count active users. It follows a binomial distribution: 20 independent users, each active with probability 0.2. Exactly k active users have probability:

P(X=k)=(20k)(0.2)k(0.8)20−k

The binomial coefficient counts which users are active. Overload begins at 11 active users, because ten fit exactly. Add the probabilities for 11 through 20:

P(X≥11)=∑k=1120(20k)(0.2)k(0.8)20−k≈0.00056

That is about 0.06% of the time. The average demand is only 4 Mbps, but that average alone would not tell you the overload probability. Independence matters: users who become active together produce larger coincident bursts than this calculation predicts.

Match the design to the traffic
IssuePacket switchingCircuit switching
Capacity allocationOn demandReserved in advance
Quiet usersLeave capacity available to othersKeep their unused shares
Sending beginsNo circuit setup is neededSetup precedes data
Heavy demandPackets queue and may be lostNew sessions can be blocked
Service after admissionDelay varies with loadReserved rate and predictable delay

Packet switching supports efficient use of capacity and comparatively simple switching equipment. Variable waiting and loss are its central service costs. Real-time applications can use playout buffers to smooth arrival timing, while retransmission can recover missing data at the cost of added delay.

For steady traffic that needs a guaranteed rate, a circuit can provide better service after setup. Packet switching is not always faster: a heavily loaded output can add a long wait. The internet uses packet switching, and telephone services have increasingly moved from circuits to voice over IP.

Key Takeaways

  • Statistical multiplexing reallocates capacity as packets arrive.
  • Independent bursts allow more users than simultaneous peak-rate reservations.
  • Average demand below capacity still allows temporary overload.
  • Packet switching trades efficient sharing for variable delay and possible loss.
  • A circuit gives predictable service after setup but can waste idle capacity.
  • The traffic pattern and load determine which service works better.
3

Explain how ISPs form a network of networks

An access connection reaches one provider, while a destination may belong to a different network on another continent. Providers make agreements that bridge those networks, and content companies often build shorter paths to their users. Trace who connects to whom, distinguish transit from peering, and see how exchange points and nearby content servers change both cost and delay. The internet has a hierarchy, but many useful paths cross its levels.

3.1 Trace the hierarchy of ISPs and their business relationships

Connecting to an access ISP gives a host a first network to use. Reaching hosts elsewhere requires agreements between networks. These independently operated networks together form the internet.

Why interconnect through providers?

Directly connecting every access ISP to every other would need n(n−1)/2 links for n ISPs. With 10,000 ISPs, that is 49,995,000 separate links. Maintaining that many relationships and physical connections would not scale well.

Instead, access ISPs buy transit from larger providers. A customer pays a provider to carry traffic between the customer's network and the rest of the internet, with charges commonly related to exchanged traffic. Regional providers can buy transit from still larger providers. Some access ISPs connect directly to the top level.

A tier-1 ISP reaches all internet destinations without buying transit. Roughly a dozen large international networks are commonly described this way, and they interconnect with one another. Tier-1 describes a reachability and business position; it is not a claim that every packet must cross one.

Distinguish transit from peering
RelationshipWhat it providesTypical payment arrangement
TransitReachability to the rest of the internetCustomer pays provider
PeeringDirect exchange with a peer and its customersCommonly settlement-free

A peer does not, merely by peering, provide transit to every other network it can reach. That distinction matters when tracing possible paths. Networks often peer at an internet exchange point (IXP), a shared switching facility where many ISPs and content providers meet. Large exchanges in cities such as Frankfurt, Amsterdam and London connect hundreds of networks.

A point of presence (PoP) is a provider site containing routers where customers can connect. An IXP brings many networks together to exchange traffic; a PoP is a site within a provider's footprint. A network can also be multi-homed, connecting to two or more providers for resilience. If one provider fails, another connection can keep it reachable, provided the remaining path and the customer's own equipment work.

Follow a path and the payments

Ana uses cable ISP A. A pays regional ISP R, which pays tier-1 T1. Ben uses mobile operator B, which pays tier-1 T2. T1 and T2 peer. A packet can follow:

A → R → T1 → T2 → B.

The payments follow customer–provider links, not every direction in which a packet travels. B pays T2 for connectivity even when this packet is arriving at B. T1 and T2 commonly exchange their traffic without a settlement payment.

If A and B join an IXP and agree to peer, their customer traffic can instead cross directly between A and B. They avoid upstream transit for that traffic and often shorten the path. The transit connections remain useful for destinations outside the peers' networks and customers.

An autonomous system (AS) is an independently operated network, or part of one, with its own routing policy and AS number. An ISP may operate several ASes. This gives the network-of-networks picture an administrative unit: separately managed ASes interconnect through the business relationships just described.

Key Takeaways

  • Transit buys reachability to the rest of the internet.
  • Peering exchanges a network’s and its customers’ traffic directly.
  • A tier-1 ISP reaches all destinations without buying transit.
  • IXPs bring networks together; PoPs provide sites for customer connections.
  • Multi-homing adds provider connections for resilience.
  • An AS has its own routing policy and AS number.

3.2 Explain how content provider networks reshape the internet

A video service can deliver data more efficiently when it controls a network close to its viewers. Large content companies combine private backbone networks, direct ISP connections and nearby copies of popular files.

Content companies build networks too

Companies such as Google, Microsoft, Amazon and Meta operate content provider networks linking their data centers. These private global networks let them control more of the route their services use and reduce reliance on purchased transit.

A content network can peer directly with an access or regional ISP at an IXP or through a private connection. Traffic then enters that ISP without first climbing the full provider hierarchy. For destinations not reached by these arrangements, the content network can buy transit from an upstream provider. That provider need not be tier-1; some large content networks rely mostly on direct connections.

The economic reason and the performance reason reinforce each other. Direct exchange can avoid transit charges for that traffic, and a shorter path usually crosses fewer links. However, owning a backbone and peering are not the same as keeping a copy of every file near every user. Server placement is a separate part of delivery.

Put content near the request

A content delivery network (CDN) places servers with copies of popular content inside or near access networks and at exchange points. Videos, web files and software updates can then come from a nearby server instead of a distant origin data center. This reduces long-distance traffic and the propagation component of delay.

A city viewer requesting a cached video may cross only a few hops inside the access ISP. Compare a data center 8,000 km away. Even an ideal fiber route of that length contributes:

8×106/(2×108)=0.04 s

in one direction. A request and reply add at least 2×0.04=0.08 s, or 80 ms, from propagation alone. Queuing, transmission, equipment and a longer real cable route can add more. Raising the link rate does not remove that distance; using a closer content copy reduces it.

Read the flatter network picture
Path arrangementWhat changes
Access ISP reaches a distant content origin through upstream providersSeveral provider networks carry the request and reply
Content network peers directly with the access ISPThe path can bypass upper transit tiers
CDN copy sits inside the access ISPThe content transfer can stay close to the user

These arrangements coexist. Access, regional and tier-1 providers still form a loose hierarchy, but direct content connections carry a large share of traffic. Multi-homing, private peering and IXPs add further links across the levels.

No single organization owns or operates this entire system. A route reflects the available interconnections between independently managed networks. When tracing a download, first ask where its serving content copy sits and which networks have direct agreements. A CDN inside the user's ISP can explain a short path without any tier-1 hop at all.

Key Takeaways

  • Content providers run private networks and often peer directly with access ISPs.
  • A content network can buy transit for reach beyond its direct connections.
  • CDNs reduce distance by serving nearby copies of popular content.
  • Direct peering and CDN placement make internet paths flatter than a strict hierarchy.
4

Calculate delay, packet loss and throughput

A packet can wait at a router, take time to enter a link, then spend more time traveling through the medium. Those times respond to different changes: a faster link, a nearer server or a lighter traffic load. Separate and calculate them before combining them along a path. Then use arrival rates and bottleneck capacity to predict when queues grow, packets are lost and a file transfer runs below its advertised access rate.

4.1 Break nodal delay into its four parts

A router's contribution to delay is not one indivisible pause. Distinguishing its four parts shows whether a proposed upgrade can address the delay you observe.

Four parts of nodal delay

The nodal delay is:

dnodal=dproc+dqueue+dtrans+dprop

Processing includes examining the header, checking for bit errors and selecting an outgoing link. It is typically microseconds or less in a high-speed router. Queuing is waiting for packets ahead at the output. It can be zero for an idle link and empty queue, or many milliseconds under load. Unlike the fixed components for a particular packet and link, it varies with other traffic.

The final two parts are often confused:

DelayFormulaDepends on
Transmissiondtrans=L/RPacket length in bits and link rate in bit/s
Propagationdprop=d/sLink length in meters and signal speed in m/s

Transmission is pushing the packet onto the medium. Propagation is a bit traveling through it. Fiber and copper use an approximate signal speed of 2×108 m/s; radio through air or space is close to 3×108 m/s. In fiber, each kilometer adds about 5 µs of propagation.

A long link

Send a 1,500-byte packet on a 100 Mbps fiber link 2,000 km long.

  1. Convert packet size: 1,500×8=12,000 bits.
  2. Divide by rate: 12,000/108=0.00012 s, or 0.12 ms of transmission.
  3. Convert distance: 2,000 km is 2,000,000 m.
  4. Divide by propagation speed: 2×106/(2×108)=0.01 s, or 10 ms.

Propagation dominates. When the sender finishes placing the packet onto the link after 0.12 ms, its first bit has traveled only 0.00012×2×108=24,000 m, or 24 km. The packet can therefore be fully on the link before its first bit arrives.

A short link at the same rate

Across 10 m of cable, propagation takes 10/(2×108)=50 ns. The packet still needs 0.12 ms to enter the link. By the time its first bit arrives, only 50×10−9×108=5 bits have left the sender. Here transmission dominates.

Increasing the long link to 1 Gbps cuts its transmission time to 0.012 ms. It leaves propagation at 10 ms. A higher bit rate packs more bits into each second; it does not make a bit travel faster through the fiber.

Keep the units consistent before substituting: multiply bytes by 8, kilometers by 1,000 and Mbps by one million. Dividing bytes directly by bit/s loses the factor of eight, while using kilometers with m/s loses a factor of 1,000.

Key Takeaways

  • Processing examines and directs a packet; queuing waits for the output.
  • Transmission is L/R; propagation is d/s.
  • Higher rate shortens transmission but leaves signal propagation speed unchanged.
  • Distance determines whether propagation dominates a path.
  • Convert packet size, rate and distance into compatible units first.

4.2 Add up end-to-end delay along a path

For one packet, store-and-forward makes the path a sequence of transmissions. Add each link's contribution and each router's work to find when the last bit reaches the destination.

Sum links and routers separately

For N identical links and N−1 intervening routers, with empty queues:

dend-end=N(dtrans+dprop)+(N−1)dproc

Add any endpoint processing separately. For unequal links, calculate each transmission and propagation term using that link's rate and distance. Add queuing wherever it occurs; it need not be the same at every router.

Consider host → R1 → R2 → server. A 12,000-bit packet crosses 100 Mbps over 10 km, 1 Gbps over 1,000 km, then 50 Mbps over 5 km. Signal speed is 2×108 m/s. Each router processes the packet for 20 µs, and the queues are empty.

ComponentLink 1Link 2Link 3Total
Transmission0.12 ms0.012 ms0.24 ms0.372 ms
Propagation0.05 ms5 ms0.025 ms5.075 ms

Two routers add 2×0.02=0.04 ms. The last bit arrives after 0.372+5.075+0.04=5.487 ms. The middle link's propagation alone accounts for over 90% of this total. Counting transmission only on the slowest link would give an incomplete one-packet delay.

Distinguish arrival time and round-trip time

On a single link, an F-bit message's last bit arrives after F/R+d/s. The last bit must first leave the sender, then travel to the receiver. Earlier bits propagate while later bits are still being transmitted.

Round-trip time (RTT) runs from sending a probe until its reply returns. It includes forward and return delays plus the destination's response time. The ping command measures it. Doubling a one-way estimate works only when the reverse path and response assumptions support that calculation.

Count bits in flight

The bandwidth-delay product for a link is R×dprop. A continuously transmitting 1 Gbps link with 10 ms propagation can hold 109×0.01=107 bits, or 1.25 MB, in flight. One bit occupies s/R=0.2 m of that link. The product is a quantity of data, not a delay.

Include delays before transmission

A voice source producing 64 kbps takes time to fill a 160-byte payload. It must collect 160×8=1,280 bits, requiring 1,280/64,000=20 ms. This is packetization delay, incurred before the packet can be sent. Shared access such as Wi-Fi can add a wait for the channel too.

Short LAN paths can be dominated by transmission and processing, long paths by propagation, and congested paths by queues. Moving a serving CDN copy closer reduces the distance term; increasing a link rate mainly addresses transmission and, when demand is unchanged, queuing.

Key Takeaways

  • Add a transmission and propagation term for every link.
  • A path of N links has N−1 intervening routers.
  • RTT includes both directions and the far end’s response time.
  • The bandwidth-delay product measures bits in flight on a link.
  • Packetization and channel access can add delay at the source.
  • The dominant component identifies which changes can help.

4.3 Predict queuing delay and packet loss

An output queue grows whenever arrivals temporarily demand more work than the link can finish. Both the average load and the timing of arrivals matter, especially when the buffer has limited space.

Compare arrival load with service capacity

Traffic intensity is:

I=La/R,

where a is average packet arrivals per second, L is packet length in bits, or mean length for variable packets, and R is link rate. The numerator is incoming bit/s, so intensity is a ratio without units.

When I>1 persists, arrivals outpace service. An unlimited queue would grow without bound; a real finite buffer instead fills and drops packets. Keeping average intensity below 1 is a basic design rule, but it does not eliminate bursts.

The same average can create different waits

Starting with an empty queue and idle link, one arrival every L/R seconds lets each packet find the link ready. For batches of N packets every NL/R seconds, the batch fits the same average capacity but its packets wait for one another. Packet n waits (n−1)L/R, giving an average wait of (N−1)L/(2R).

For five packets and a service time of 1.2 ms, waits are 0, 1.2, 2.4, 3.6 and 4.8 ms. Their total is 12 ms, giving a 2.4 ms average. Waiting excludes each packet's own transmission time.

Random arrivals near full load

Random arrivals produce uneven queues. One model, M/M/1, assumes independent Poisson arrivals, independent exponentially distributed packet lengths with mean L, one server and an unlimited buffer. For a steady load below 1, its mean queue wait is:

dqueue,avg=I1−ILR

With a mean service time of 1.2 ms, increasing intensity from 0.5 to 0.8 raises the mean wait from 1.2 ms to 4.8 ms. At 0.9 it is 10.8 ms; at 0.96 it is 28.8 ms. The shrinking spare capacity makes delays grow sharply near full load.

For 800 packets/s, mean length 12,000 bits and a 10 Mbps link, intensity is 12,000×800/107=0.96. The model gives 0.96/0.04×1.2=28.8 ms. Upgrading to 20 Mbps makes intensity 0.48 and mean service time 0.6 ms. The new mean wait is 0.48/0.52×0.6≈0.55 ms. Both factors change, so the waiting time falls by much more than half.

Finite buffers trade loss against delay

A full buffer cannot hold every arrival. A router drops a packet, producing loss; wireless bit errors can cause loss too. Bursts can fill a buffer even when average intensity is below 1. A larger buffer absorbs more of a burst, but persistent long queues create bufferbloat: high delay despite fewer drops.

The router does not resend a packet it dropped for lack of space. TCP can detect missing data and have the source retransmit it end to end. UDP supplies no transport-layer retransmission, so an application must handle the missing data, perhaps as a brief video glitch.

Key Takeaways

  • Traffic intensity compares average incoming bit rate with link capacity.
  • Sustained intensity above 1 overloads the output.
  • Arrival timing creates queues even when the average rate fits.
  • M/M/1 waiting grows sharply near full load under its stated assumptions.
  • Finite buffers can lose packets during bursts at average intensity below 1.
  • Larger buffers reduce some losses but can add substantial delay.
  • Recovery from a buffer drop is an end-to-end responsibility, when the transport or application provides it.

4.4 Find the throughput of a path

A receiver's delivered bit rate is its throughput. It describes how much arrives per second, while delay describes how long an individual packet or exchange takes.

Measure the delivered rate

Instantaneous throughput is the rate at a particular moment. Average throughput is the amount received divided by the elapsed transfer time:

average throughput=F/T

A voice call needs low delay with a modest bit rate; a large download benefits most from sustained throughput. A high-capacity distant link can support a fast download while still producing a noticeable conversational delay.

Find the bottleneck

For a long transfer across an otherwise idle path, the slowest link limits the sustained rate:

Rbottleneck=min⁡(R1,R2,…,RN)

Link rates are capacities in series, not numbers to add or average. An upstream link can send faster briefly, but its excess packets must wait at the slower output. That queue cannot make the receiver obtain data faster than the slow link transmits it.

A server access link runs at 100 Mbps and a client's at 25 Mbps. Their path supports 25 Mbps when no other link imposes a lower limit. A 500 MB file contains 500×8=4,000 Mbit, so the capacity-based estimate is 4,000/25=160 s, ignoring startup, propagation and protocol overhead.

If the client upgrades to 1 Gbps, the server's 100 Mbps link becomes the bottleneck. The estimate becomes 4,000/100=40 s. Improving the client's connection again would not increase this path's capacity.

Include shared capacity

A core link's total rate need not be available to one transfer. If M transfers share a link equally, each receives a share R/M. Combine that share with the endpoint links:

throughput≈min⁡(Rs,Rc,R/M)

Fifty transfers sharing 1 Gbps equally receive 20 Mbps each. For the original 100 Mbps server and 25 Mbps client, the shared core becomes the bottleneck at 20 Mbps. The 500 MB file now takes about 4,000/20=200 s.

Access links commonly limit throughput, but bottlenecks can occur anywhere and move as demand changes. Packet headers consume capacity, losses require recovery and transport protocols can reduce sending rates during congestion. Application throughput can therefore be below the raw link-rate estimate.

Choose the correct transfer-time calculation

When average throughput has already been measured over a complete transfer, T=F/average throughput directly gives elapsed time. Adding RTT again would count delay twice.

When estimating from a bottleneck capacity, F/Rbottleneck omits startup and path delays. Those additions matter most for small objects. A 10 kB object needs only 3.2 ms of transmission at 25 Mbps, so a round trip of tens of milliseconds can dominate its fetch time. For a large file, the amount of data divided by the sustained rate usually dominates.

Key Takeaways

  • Average throughput is received data divided by elapsed time.
  • The slowest available link rate limits a long transfer.
  • For equal sharing, include the per-transfer share of a shared link.
  • An upgrade helps only when it raises the limiting available capacity.
  • Measured average throughput already includes the transfer’s delays.
5

Measure network paths with traceroute

Traceroute turns router hop limits into a practical measurement of a network path. Its output combines addresses with timed replies, so reading it requires understanding both the probes and the return messages. Follow a probe to its expiry point, then work through a trace with missing replies and uneven times. The useful evidence comes from patterns across hops and repeated measurements, especially when a delay increase persists to the destination.

5.1 Explain how traceroute discovers a path

traceroute discovers responding routers toward a destination and records a round-trip time to each. Windows calls the command tracert. Both exploit a field that normally prevents packets from circulating forever.

Make probes expire at successive routers

IPv4's time to live (TTL) is a hop count; IPv6 calls the corresponding field hop limit. A router decreases the value before forwarding. If the value reaches zero, the router discards the packet and returns an ICMP Time Exceeded message when its configuration and filtering allow it.

Traceroute sends probes starting with TTL 1. The first router expires these probes and can identify itself through its reply. Probes with TTL 2 can pass that router and expire at the next. Increasing the value exposes successive responding hops. By default, three probes are sent per TTL, producing three RTT measurements at each hop.

For host → R1 → R2 → R3 → server:

Probe TTLWhere it stopsExpected reply
1R1Time Exceeded
2R2Time Exceeded
3R3Time Exceeded
4ServerDestination's final response

With all replies received, this four-hop trace sends twelve probes. Each RTT starts when its particular probe leaves the source and ends when that probe's reply returns. The value is not the time to cross just the link from the previous printed hop.

Recognize the destination's response

The default Linux and macOS method sends UDP probes to an unlikely destination port, beginning at 33434 and increasing the port per probe. A destination with no listener returns ICMP Port Unreachable. Despite its error-like name, that response tells traceroute that the probe reached the destination.

Windows tracert sends ICMP Echo Requests; reaching the destination elicits an Echo Reply. Intermediate expired probes still produce Time Exceeded messages. Linux traceroute and Windows tracert default to a maximum of 30 hops. A trace ends when the destination responds or the limit is reached.

Run and identify the output

Use traceroute example.org on Linux or macOS, or tracert example.org on Windows. The source address of a reply identifies a router interface. DNS lookups may add readable names. Use traceroute -n example.org or tracert -d example.org to skip those lookups and see numeric addresses without waiting for name resolution.

Router names chosen by operators sometimes contain a city or airport code, but a name is a hint, not a geographic measurement. A router also has multiple interfaces, so different traces can show different addresses for the same device.

The resulting listing records replies to these probes at this time. Routes can change between runs, and load balancing can send probes along different paths. The probes travel forward toward the destination, while each measured RTT also includes a return journey that the listing does not reveal.

Key Takeaways

  • TTL expiry lets probes identify successive responding routers.
  • Three probes per TTL normally produce three RTTs per hop.
  • UDP traceroute usually finishes with Port Unreachable; Windows tracert finishes with Echo Reply.
  • An RTT is measured from the source, not from the previous printed router.
  • Numeric output avoids DNS lookup delays.

5.2 Read and interpret traceroute output

Read a trace as a set of timed replies. A row reports the hop number, responding interface names or addresses and the RTTs of its probes. Silence and variation need interpretation before they become a diagnosis.

Read a complete trace

This trace uses private and documentation addresses:

1 gw.home.example (192.168.1.1)              1.9 ms  1.6 ms  1.7 ms
2 10.20.0.1                               8.4 ms  8.9 ms  8.1 ms
3 core1.city-a.isp.example (198.51.100.17)   9.6 ms 10.2 ms  9.8 ms
4 * * *
5 ix1.city-b.transit.example (203.0.113.40) 21.5 ms 21.1 ms 22.0 ms
6 sub1.ocean.transit.example (203.0.113.73) 84.3 ms 83.9 ms 84.6 ms
7 www.example.org (192.0.2.80)             85.2 ms 85.0 ms 86.1 ms

The home router replies at about 1.7 ms, the next hop at about 8.4 ms, and the destination at about 85 ms. These are source-to-hop round trips. The three numbers on a row belong to separate probes, not three pieces of one packet's delay.

Handle missing replies

An asterisk means a reply did not arrive before the timeout: normally 4 s on Windows and up to 5 s on Linux with default settings. A router may suppress or rate-limit ICMP replies; a firewall may filter them; a probe or its reply may be lost.

Hop 5 replies after silent hop 4. The trace therefore shows that probes can travel beyond that point. It does not establish that ordinary traffic is being dropped at hop 4. Asterisks at the end can mean that the destination or a nearby firewall does not answer probes, but an actual reachability problem is also possible. Check other evidence before choosing the cause.

Look for a lasting change

The minimum RTT rises from 21.1 ms at hop 5 to 83.9 ms at hop 6: a 62.8 ms increase that persists at hop 7. This suggests added path delay near that part of the route.

If the entire increase were propagation on one extra fiber link used in both directions, the extra one-way time would be 62.8/2=31.4 ms. At 2×108 m/s, that corresponds to 0.0314×2×108=6,280,000 m, or 6,280 km. This estimate depends on the stated path model. Different reply routes, queues and router response times can alter the increase; the trace does not identify cable type or measure link length.

Separate forwarding from replying

One router can reply slowly while forwarding packets quickly. Its ICMP processing may have low priority, and its reply can take a different return path. A high RTT that disappears at later hops usually points to a slow reply, while an increase that persists deserves investigation.

Repeated minima help estimate fixed delay, while a spread of RTTs can reveal variable queuing. Neither is a perfect separation: response processing and path changes can also vary. Compare runs at different times, and use repeated ping measurements to check the destination over time.

Load balancing can show several addresses at one hop. Paris traceroute keeps flow-identifying header fields constant to reduce per-flow path changes, but per-packet balancing can still split probes. MPLS tunnels can hide internal routers, so printed hops need not reveal every physical router.

Key Takeaways

  • An asterisk means a probe had no reply before its timeout.
  • Later replies show that probes can pass a silent part of the path.
  • A lasting RTT rise is more useful than an isolated slow reply.
  • RTT differences include return-path and router-response effects.
  • Load balancing and hidden hops limit the path picture.
  • Repeat measurements to compare fixed and variable delay patterns.

Packet Switching and Network Performance examples

5 Walkthroughs

1

Follow a device into the internet

13 steps
Trace local and provider connections, compare shared access, and choose a physical medium for a real task.
  1. 1
    IntroductionStart with the device

    A laptop uploading a recording needs more than a radio signal. Its packets cross the home network, enter a provider’s access network and then travel through the core. Follow that path while keeping three questions separate: what equipment does the work, which capacity is shared, and what medium carries each signal?

  2. 2
    ExplanationFind the application endpoints

    The laptop runs the upload application, and a remote server stores the recording. Both are hosts, or end systems. The router between them carries packets but does not supply the storage service. Hosts and their access networks belong to the network edge; the mesh joining access networks forms the core. A device’s job on the path matters more than how far away it is.

  3. 3
    ExampleTurn file size into transmission time

    A 9 MB recording contains 9×8=72 Mbit. On a 36 Mbps link, pushing those bits onto the medium takes 72/36=2 s. The MB file size counts bytes, while Mbps counts bits. This calculation describes transmission on that link; the packet still needs to travel and may wait elsewhere before the server receives it.

  4. 4
    ChallengeCheck a reported download rate

    A tool reports 5 MB/s. What rate is that in Mbps?

    ---reveal---

    Each byte contains 8 bits, so 5×8=40 Mbps. Dividing by eight would convert in the opposite direction. The data unit, not the word “mega,” determines whether multiplication or division is needed.

  5. 5
    ExplanationSeparate the home LAN from access

    Wi-Fi carries packets from the laptop to the home router. The router may also contain an access point and an Ethernet switch. A modem or optical terminal then joins it to the provider’s access network. That second stretch can use DSL, cable, fiber or fixed wireless. A strong Wi-Fi signal says little about how much capacity is available on the connection into the ISP.

  6. 6
    ExampleLocate the shared resource

    A PON brings provider fiber to an unpowered splitter serving 32 homes. Each home has an ONT, and the provider has an OLT. Although fiber reaches each property, capacity beyond the splitter is shared. Cable HFC also shares neighborhood capacity over coaxial cable. DSL instead gives each home a separate copper pair, whose length and noise can limit its attainable rate.

  7. 7
    ChallengeCompare quiet-time access

    Two homes have the same DSL service plan, but one has a much longer copper pair. All neighbors are quiet. Must both homes achieve the same rate?

    ---reveal---

    No. The longer pair weakens the signal and collects more noise, so it can support a lower rate. This limit is different from sharing a cable segment with active neighbors; quiet neighbors do not shorten a copper path.

  8. 8
    ExplanationChoose local or wide-area radio

    Inside a building, Wi-Fi devices exchange packets with a LAN access point over distances of tens of meters. A cellular phone exchanges packets with an operator’s base station over a wider area. Both feed the same internet used by wired devices. The base station’s backhaul can itself use microwave radio, so a path can mix several wireless and wired stretches.

  9. 9
    ConnectionMatch the medium to the installation

    Fiber carries light along a guided glass path. Its long reach and immunity to electromagnetic interference suit backbone links and fixed connections near electrical equipment. Twisted-pair copper is practical for short LAN runs; Category 6A supports 10 Gbps over 100 m. Radio supports movement but faces signal weakening, reflections and interference. Choose using the required distance and mobility as well as rate.

  10. 10
    ChallengeConnect a moving scanner

    A warehouse scanner must keep exchanging data while its user walks between shelves. Why is radio useful, and what can make its rate vary?

    ---reveal---

    Radio lets the scanner move without a cable. Obstacles weaken its signal, reflections create multipath, and other devices compete or interfere. A high-capacity wired uplink behind the access point does not remove those radio conditions.

  11. 11
    Key InsightExplain a slow satellite conversation

    A GEO path must travel up to a satellite about 35,786 km above Earth and down again. Even its shortest ground-to-ground passage adds about 0.24 s propagation, and a request plus reply adds about 0.48 s before other delays. The same user can therefore have a high download bit rate and still notice a conversational pause. Capacity and signal travel time answer different questions.

  12. 12
    ChallengeFollow two different limits

    A laptop uses busy Wi-Fi to reach a home router with a GEO satellite service. A faster router-to-modem connection is installed. What two limits can remain?

    ---reveal---

    The laptop still competes for airtime on the Wi-Fi channel. The satellite signal still crosses its long path, creating propagation delay. Replacing the short internal connection changes neither the shared radio time nor the satellite distance.

  13. 13
    RecapRead a path in layers of equipment

    For any access path, identify the application hosts, local network and provider connection. Then locate its shared resources and physical media. Convert byte sizes before using bit rates, and keep a large capacity distinct from a short propagation path when explaining the connection’s performance.

2

Build a packet pipeline and compare a circuit

15 steps
Work through a transfer across routers, then compare reserved slots with on-demand sharing.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionGive shared links two different jobs
  2. 2
    ExplanationReceive before forwarding
  3. 3
    ExampleTime the first arrival
  4. 4
    ExampleLet later packets overlap
  5. 5
    ChallengeFinish the pipeline
  6. 6
    ConnectionAdd an output queue
  7. 7
    ExplanationReserve a repeating share
  8. 8
    ExampleInclude setup once
  9. 9
    ChallengeDouble the frame’s slots
  10. 10
    AnalogyUse a shared work counter
  11. 11
    ExampleCompare one isolated burst
  12. 12
    ChallengeFind the first overloaded state
  13. 13
    Key InsightQuestion the activity assumption
  14. 14
    ChallengeChoose for a new traffic pattern
  15. 15
    RecapUse the right timing model
3

Trace provider connections and nearby content

10 steps
Separate transit from peering, then shorten a content path using direct exchange and CDN placement.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionReach a different network
  2. 2
    ExplanationBuy reach beyond one network
  3. 3
    ExampleFollow the traffic and payments
  4. 4
    ChallengeShorten one exchange
  5. 5
    ConnectionSeparate a site from a network
  6. 6
    ChallengeKeep a second upstream path
  7. 7
    ExplanationConnect the content network directly
  8. 8
    ExampleMove the serving copy
  9. 9
    ChallengeExplain a short content path
  10. 10
    RecapAsk where the bytes originate
4

Calculate a path and test an upgrade

19 steps
Separate delay components, add them along a path, then compare queues and throughput before and after a capacity change.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionDefine the measurement first
  2. 2
    ExplanationKeep entering separate from traveling
  3. 3
    ExampleCompute two link delays
  4. 4
    ChallengePredict the rate upgrade
  5. 5
    ExampleAdd the next link
  6. 6
    Key InsightCount the last bit’s journey
  7. 7
    ExampleCount occupancy instead of elapsed time
  8. 8
    ChallengeAdd a source delay
  9. 9
    ExplanationMeasure average arriving work
  10. 10
    ExampleTime one batch
  11. 11
    ExampleUse the random-arrival model
  12. 12
    ChallengeRecalculate after doubling capacity
  13. 13
    ConnectionReturn to a real finite buffer
  14. 14
    ExplanationFind the lowest available rate
  15. 15
    ExampleEstimate the file time
  16. 16
    ChallengeUpgrade the shared core
  17. 17
    TipUse measured averages directly
  18. 18
    ChallengeConnect throughput and queues
  19. 19
    RecapSelect the calculation that fits
5

Discover hops and read the reply pattern

12 steps
Follow probe expiry, read timed replies, and judge a persistent RTT increase without treating it as an exact link measurement.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionTurn expiry into a measurement
  2. 2
    ExplanationUse the router-hop limit
  3. 3
    ExampleFollow a probe group
  4. 4
    ChallengeRecognize a successful error reply
  5. 5
    TipRead numeric addresses first
  6. 6
    ExampleRead the measured times
  7. 7
    ChallengeLocate the persistent change
  8. 8
    ExampleCalculate a conditional distance
  9. 9
    Key InsightSeparate a reply delay from a path delay
  10. 10
    ConnectionAllow for changing and hidden paths
  11. 11
    ChallengeTest an overconfident diagnosis
  12. 12
    RecapUse patterns across replies

Packet Switching and Network Performance practice questions

50 Practice Questions in 5 sets

Set 1: Follow packets and estimate basic performance10 Practice Questions

Question 1 of 10

A 4 Mbps TDM link has 20 equal slots and no frame overhead. Setup takes 0.2 s. How long does a 600,000-bit file take over one circuit, ignoring propagation?
  1. 0.35 s
  2. 3.2 s
  3. 3.0 s
  4. 12.2 s
Show answerHide answer
Answer: B
The circuit receives 4,000,000/20=200,000 bit/s, so the file takes 3 s to transmit. Setup adds 0.2 s, making 3.2 s. Using the full 4 Mbps link rate gives 0.35 s, but that capacity is shared among all 20 reserved slots.

Question 2 of 10

A sender pushes a 6 MB file onto a 24 Mbps link. How long does transmission take, ignoring other delays?
  1. 0.25 s
  2. 0.5 s
  3. 2 s
  4. 16 s
Show answerHide answer
Answer: C
The file contains 6×8=48 Mbit, so transmission takes 48/24=2 s. Dividing 6 directly by 24 gives 0.25 s because it mixes megabytes with megabits. Both size and rate must describe bits before the division represents time.

Question 3 of 10

A home ONT receives data through an unpowered splitter shared with nearby homes. What access arrangement is this?
  1. Fiber to the home using PON
  2. Cable access using HFC
  3. Telephone access using DSL
  4. Cellular fixed wireless access
Show answerHide answer
Answer: A
An ONT at the home and a passive optical splitter identify a PON form of fiber access. Several homes share the optical capacity beyond the splitter. HFC also shares neighborhood capacity, but its final connection uses coaxial cable and a cable modem, not an ONT.

Question 4 of 10

A university replaces the fiber uplink behind a busy Wi-Fi access point with a faster fiber link. Active users still compete for the same radio channel. Why can each user’s rate remain limited?
  1. The fiber still carries the radio signal through air.
  2. The access point gives each device a separate channel.
  3. The devices now send through a different internet.
  4. The devices still share radio transmission time.
Show answerHide answer
Answer: D
The upgraded uplink does not change the devices’ competition for airtime on their shared radio channel. That channel can remain the limiting resource even when the wired connection has spare capacity. Fiber carries light on the uplink; it does not replace the radio stretch between a device and the access point.

Question 5 of 10

One 900-byte packet crosses four 6 Mbps store-and-forward links. What is its arrival time if propagation, processing and queuing are zero?
  1. 1.2 ms
  2. 4.8 ms
  3. 3.6 ms
  4. 19.2 ms
Show answerHide answer
Answer: B
The packet contains 7,200 bits and needs 7,200/(6×106)=1.2 ms on each link. Four serial transmissions therefore take 4.8 ms. A 1.2 ms answer counts only the source’s transmission and omits the three retransmissions by the intervening routers.

Question 6 of 10

A small ISP pays another network to carry traffic between its customers and the rest of the internet. What service is it buying?
  1. Transit
  2. Private peering
  3. Multi-homing
  4. Circuit reservation
Show answerHide answer
Answer: D
Transit provides a customer network with reachability through its provider to the wider internet. The customer pays for that service. Settlement-free peering instead exchanges the peers’ own and customer traffic without a settlement payment and does not, by itself, provide general internet transit.

Question 7 of 10

A 2,000-byte packet crosses 600 km of fiber at 80 Mbps. Use a propagation speed of 200,000 km/s. How do its transmission and propagation delays compare?
  1. 0.2 ms transmission and 3 ms propagation
  2. 0.025 ms transmission and 3 ms propagation
  3. 0.2 ms transmission and 0.003 ms propagation
  4. 3 ms transmission and 0.2 ms propagation
Show answerHide answer
Answer: A
The packet is 16,000 bits, so transmission takes 16,000/(80×106)=0.2 ms. Propagation takes 600/200,000=0.003 s, or 3 ms. The 0.025 ms transmission result omits the factor of eight when converting bytes to bits.

Question 8 of 10

Packets average 10,000 bits and arrive at 1,200 packets/s at a 10 Mbps output. What happens if these average conditions persist with a finite buffer?
  1. Demand equals service, so every arrival can transmit without waiting.
  2. Demand is below service, so a finite buffer prevents every packet loss.
  3. Demand exceeds service, so the buffer fills and packets are dropped.
  4. Demand exceeds service, so the router raises its physical link rate.
Show answerHide answer
Answer: C
Arriving traffic is 10,000×1,200=12 Mbps, above the 10 Mbps service capacity. The persistent excess fills a finite buffer and forces drops. A buffer stores waiting packets; it cannot increase the link rate or make an overloaded stream fit indefinitely.

Question 9 of 10

An otherwise idle path has link rates of 70, 250 and 35 Mbps. How much transfer time is saved for a 140 MB file if only the 35 Mbps link is upgraded to 100 Mbps, ignoring other delays?
  1. 8 s
  2. 20.8 s
  3. 32 s
  4. 16 s
Show answerHide answer
Answer: D
The 1,120 Mbit file originally takes 32 s at the 35 Mbps bottleneck. After the upgrade, the 70 Mbps link becomes limiting and the file takes 16 s, saving 16 s. Using the upgraded 100 Mbps rate predicts a 20.8 s saving but misses the new bottleneck.

Question 10 of 10

A UDP traceroute reaches its destination with TTL 5 after all earlier hops reply. It sends three probes per TTL. How many probes were sent, and what final response ends the trace?
  1. 12 probes; ICMP Port Unreachable
  2. 15 probes; ICMP Port Unreachable
  3. 15 probes; ICMP Time Exceeded
  4. 18 probes; ICMP Echo Reply
Show answerHide answer
Answer: B
TTL values 1 through 5 each receive three probes, for 5×3=15 total. The TTL 5 probes reach the UDP destination and produce Port Unreachable when no service listens on their ports. Time Exceeded identifies expiring intermediate probes; it does not signal that this destination was reached.
Set 2: Apply sharing, queues and round trips10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

Two homes buy the same DSL service, but one has a much longer copper pair to the provider’s equipment. Why can that home achieve a lower rate even when neighbors are quiet?
  1. The longer pair gives every neighbor a share of that same line.
  2. The longer copper pair weakens the signal and collects more noise.
  3. The longer pair changes megabits into a smaller number of bytes.
  4. The longer pair reserves fewer PON slots at the optical splitter.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Seven equal 1,000-byte packets cross three 8 Mbps store-and-forward links back to back. How long until the last packet arrives if other delays are zero?
  1. 7 ms
  2. 10 ms
  3. 21 ms
  4. 9 ms
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A circuit owns a frequency band continuously during a call. What multiplexing method creates that reservation?
  1. Frequency-division multiplexing
  2. Time-division multiplexing
  3. Statistical multiplexing
  4. Packet store-and-forward
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A 6 Mbps link serves eight independent users, each active with probability 0.25 and needing 2 Mbps while active. What expression gives the probability that instantaneous demand exceeds capacity?
  1. ∑k=38(8k)(0.25)k(0.75)8−k
  2. (84)(0.25)4(0.75)4
  3. ∑k=48(8k)(0.25)k(0.75)8−k
  4. ∑k=48(8k)(0.75)k(0.25)8−k
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A software provider places a cached update inside a customer’s access ISP. What network effect can this have when that cached copy serves the download?
  1. It reduces traffic carried over distant upstream links.
  2. It gives the customer exclusive use of the access link.
  3. It makes the access ISP a tier-1 transit provider.
  4. It raises the propagation speed inside existing fiber.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A fiber link’s rate rises from 40 Mbps to 160 Mbps. Its length and packet size stay fixed. How do transmission and propagation delay change?
  1. Both delays fall to one quarter of their previous values.
  2. Transmission stays the same; propagation falls to one quarter.
  3. Both delays stay the same because the fiber length is fixed.
  4. Transmission falls to one quarter; propagation stays the same.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A 1,000-byte packet crosses two 20 Mbps fiber links, each 100 km long. The intermediate router adds 0.1 ms processing and no queuing. What is the one-way last-bit arrival time at a signal speed of 200,000 km/s?
  1. 1.5 ms
  2. 1.9 ms
  3. 1.8 ms
  4. 3.8 ms
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Six equal packets arrive together at an idle 4 Mbps link. Each is 8,000 bits. What is their average wait before transmission begins?
  1. 2 ms
  2. 6 ms
  3. 5 ms
  4. 10 ms
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A Windows tracert probe reaches the destination with enough TTL remaining. What normal response tells the sender to end the trace?
  1. ICMP Echo Reply
  2. ICMP Time Exceeded
  3. ICMP Port Unreachable
  4. A new TTL sent by a router
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A trace has asterisks at hop 6, then replies at hops 7 and 8 and from the destination. What can you conclude about hop 6?
  1. All traffic was dropped there; later replies used the same lost probes.
  2. The destination failed there; later rows came from its local cache.
  3. No timely reply arrived there; probes still reached later hops.
  4. Its physical link was absent; traceroute inserted an unused hop.
Show answerHide answer

Save this lesson to see this answer.

Set 3: Connect path structure with delivered performance10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A packet waits for packets already assigned to the same outgoing link. What delay component is this?
  1. Processing delay
  2. Propagation delay
  3. Queuing delay
  4. Transmission delay
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A 200 Mbps link has 15 ms one-way propagation delay. How many bits can it hold in flight during continuous transmission?
  1. 375,000 bits
  2. 6,000,000 bits
  3. 13,333,333 bits
  4. 3,000,000 bits
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

An origin is 4,800 km away over fiber. A CDN copy is 200 km away. With symmetric paths at 200,000 km/s and other delays unchanged, how much round-trip propagation time is saved?
  1. 46 ms
  2. 23 ms
  3. 48 ms
  4. 50 ms
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A backup arrives at an average of 7.5 MB/s. What is that rate in Mbps?
  1. 0.9375 Mbps
  2. 7.5 Mbps
  3. 750 Mbps
  4. 60 Mbps
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A fixed interbuilding link must span several kilometers beside equipment that produces strong electrical interference. Why is fiber a suitable medium?
  1. It carries radio through obstacles and allows every endpoint to move.
  2. It avoids optical equipment and uses inexpensive copper connectors.
  3. It has low loss over distance and resists electromagnetic interference.
  4. It removes all propagation delay and gives each bit unlimited speed.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A 12 Mbps link gives 12 users equal TDM circuits. A single user sends a 3 MB burst while the others are silent. How much transmission time does packet switching save over that user’s circuit, ignoring setup and other delays?
  1. 22 s
  2. 2 s
  3. 12 s
  4. 24 s
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

Access ISP Cedar peers with access ISP Dune at an IXP. Cedar still needs destinations outside Dune and Dune’s customer networks. Why might Cedar retain an upstream transit service?
  1. The IXP requires each peer to send every packet through a tier-1.
  2. The peering relationship does not provide general internet transit.
  3. The direct peering link can carry only traffic within Cedar itself.
  4. The transit service reserves a separate circuit for every internet host.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A transfer has 90 Mbps server access and 40 Mbps client access. Six equal transfers share a 180 Mbps core link. If the client upgrades to 100 Mbps and all else stays fixed, what happens to this transfer’s bottleneck rate?
  1. It rises from 30 to 90 Mbps.
  2. It stays at 30 Mbps.
  3. It rises from 40 to 100 Mbps.
  4. It stays at 40 Mbps.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Why does an IP packet carry a TTL or hop-limit field?
  1. To measure the time a packet has already spent in the network.
  2. To stop a packet circulating indefinitely in a routing loop.
  3. To tell the sender the exact number of routers in advance.
  4. To record a packet’s round-trip time at every router.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Repeated traces show minima of 9 ms at hop 4, 88 ms at hop 5, 11 ms at hop 6 and 12 ms at the destination. How should you investigate hop 5’s high value?
  1. Check its reply handling; later hops lack a lasting delay increase.
  2. Treat 79 ms as the exact added delay on its incoming link.
  3. Treat hop 5 as a bottleneck that delays all following packets.
  4. Estimate its fiber length by multiplying 79 ms by signal speed.
Show answerHide answer

Save this lesson to see this answer.

Set 4: Diagnose limits and compare upgrades10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A browser requests a page and a remote process supplies it. What role does the browser play in this exchange?
  1. Client
  2. Router
  3. Server
  4. Access point
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A remote site has a clear satellite path, high link capacity and little traffic, yet a GEO service still adds substantial request–reply delay. What feature explains the unavoidable propagation component?
  1. The satellite radio carries signals more slowly than copper does.
  2. The long path requires new circuit setup for every packet sent.
  3. The long ground–satellite–ground distance in both directions.
  4. The whole file must leave before its first bit can propagate.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A 48,000-bit message crosses four 12 Mbps store-and-forward links. It is split into six equal packets, with no added headers or other delays. How much earlier does the last bit arrive than if the message were sent as one packet?
  1. 6 ms earlier
  2. 12 ms earlier
  3. 14 ms earlier
  4. 10 ms earlier
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A 3.2 Mbps TDM link has 40 equal slots without overhead. A circuit transfer finishes in 5.3 s, including 0.3 s setup and negligible propagation. How large was the file in decimal kB?
  1. 53 kB
  2. 50 kB
  3. 400 kB
  4. 2,000 kB
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A company buys connectivity from two upstream providers so it can remain reachable if either provider fails. What arrangement is this?
  1. Settlement-free peering
  2. A single-provider PoP
  3. Multi-homing
  4. Frequency multiplexing
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A 96 kbps voice source fills 240-byte payloads. Each packet then crosses two 24 Mbps store-and-forward links, each with 0.8 ms propagation. The router adds 0.05 ms processing. With no other waits, how long after payload collection begins does the last bit arrive?
  1. 21.81 ms
  2. 20.00 ms
  3. 20.93 ms
  4. 41.81 ms
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

An M/M/1 model has mean packet length 10,000 bits, arrival rate 900 packets/s and a 10 Mbps output. If the output doubles to 20 Mbps, what happens to mean queue waiting time?
  1. It falls from 9 ms to 4.5 ms.
  2. It falls from 9 ms to about 0.409 ms.
  3. It falls from 10 ms to about 0.909 ms.
  4. It falls from 9 ms to about 0.818 ms.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A 120 Mbps server and 60 Mbps client communicate through a 400 Mbps core shared equally by ten transfers. For a 300 MB file, how much time would upgrading only the core to 800 Mbps save, ignoring other delays?
  1. 0 s
  2. 30 s
  3. 40 s
  4. 20 s
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Hop 3 has RTTs of 14, 15 and 16 ms. Hop 4 has 48, 50 and 49 ms, and every later hop stays near 50 ms. What pattern deserves investigation?
  1. Only hop 4’s reply is slow because later RTTs fall back.
  2. The exact one-way hop 3–4 delay is 34 ms.
  3. A persistent rise begins near the transition to hop 4.
  4. The trace identifies a 34 ms transmission delay at hop 4.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A packet’s nodal delay is 6.8 ms: 0.1 ms processing, 0.2 ms transmission and 2.5 ms propagation. How much time did it spend queued?
  1. 3.9 ms
  2. 4.3 ms
  3. 6.5 ms
  4. 4.0 ms
Show answerHide answer

Save this lesson to see this answer.

Set 5: Reason from measurements and changing demand10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A phone’s packets leave its cellular base station over a microwave backhaul link, then enter fiber. How should these media be classified?
  1. Only the access is unguided; microwave and fiber are guided.
  2. The access and backhaul are guided; the fiber is unguided.
  3. The access and backhaul are unguided; the fiber is guided.
  4. All three are unguided because the originating phone is mobile.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Three equal-rate store-and-forward links carry ten 1,200-byte packets back to back. The last arrives after 14.4 ms, with other delays zero. What is the link rate?
  1. 6.67 Mbps
  2. 8 Mbps
  3. 20 Mbps
  4. 24 Mbps
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A 4 Mbps link serves six independent users. Each needs 1 Mbps when active and is active half the time. What is the probability that demand exceeds capacity?
  1. 15/64
  2. 6/64
  3. 1/64
  4. 7/64
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A content company already peers with an access ISP but serves a file from a distant data center. It now serves that file from a CDN inside the access ISP. Why can this further reduce latency?
  1. It removes much of the distance to the serving copy.
  2. It converts the existing peering link into general transit.
  3. It raises signal speed along the unchanged distant fiber.
  4. It reserves a fixed circuit for every request to the file.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A small request has negligible transmission time. Its reply is 1,000 bytes. Both directions use two 10 Mbps store-and-forward fiber links, each 300 km long. The router processes each direction for 0.1 ms, and server response processing takes 0.5 ms. What RTT is expected at 200,000 km/s, with no queuing?
  1. 8.3 ms
  2. 6.7 ms
  3. 7.5 ms
  4. 8.5 ms
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

Why can a finite router buffer lose packets even when average traffic intensity is below 1?
  1. Intensity below 1 means arrivals exceed the service rate.
  2. A router fills its whole buffer before it transmits.
  3. A short arrival burst can exceed the free buffer space.
  4. Queued packets wait for another arrival, even on an idle link.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A 96 MB download has a measured complete-transfer average throughput of 64 Mbps. A path check shows an RTT of 50 ms. What elapsed transfer time does the measured average imply?
  1. 12.05 s
  2. 11.95 s
  3. 1.5 s
  4. 12 s
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A 50 Mbps server and 80 Mbps client share a 600 Mbps core equally with other transfers. What is the largest number of simultaneous equal transfers that still permits at least 40 Mbps per transfer?
  1. 12 transfers
  2. 15 transfers
  3. 16 transfers
  4. 20 transfers
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

In an M/M/1 model, a 16 Mbps output has mean packet length 8,000 bits. Mean queue waiting time is 1.5 ms. What average arrival rate produces this wait?
  1. 1,000 packets/s
  2. 1,500 packets/s
  3. 1,600 packets/s
  4. 2,000 packets/s
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Repeated traces show a persistent minimum RTT increase from 18 ms to 58 ms beginning at one hop. A model attributes the entire increase to one extra fiber link used in both directions at 200,000 km/s. What length does that model estimate, and how should the result be interpreted?
  1. 8,000 km; a model-based estimate affected by possible reply-path differences.
  2. 4,000 km; an exact length independent of queuing and reply paths.
  3. 8,000 km; an exact length independent of queuing and reply paths.
  4. 4,000 km; a model-based estimate affected by possible reply-path differences.
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

80 Key Terms, each with its definition

A

Access network
An access network connects end systems into their ISP’s network and toward its first router, using wired or wireless links.
“The home’s fiber access connection carries packets from the home router into the provider’s network.”
Access point
An access point is LAN equipment that exchanges radio packets with wireless devices and connects their traffic to the local network.
“The tablet sends to the access point, which carries its packets onward through the building’s wired LAN.”
Asymmetric path
An asymmetric path has different forward and return routes, making RTT differences reflect more than the forward links printed by a trace.
“Replies from adjacent hops take different return paths, changing the RTT difference between their rows.”
Autonomous system
An autonomous system is an independently operated network, or part of one, with its own routing policy and an identifying AS number.
“The ISP operates more than one autonomous system, each participating in internet interconnection under its policy.”
Average throughput
Average throughput is total data received divided by the elapsed transfer time, incorporating the delays experienced during that measured transfer.
“A 160 Mbit transfer completed in 4 s has an average throughput of 40 Mbps over that full interval.”

B

Backhaul
Backhaul is the connection carrying traffic from access equipment, such as cellular base stations, into the provider’s wider network.
“A microwave backhaul link carries the base station’s combined traffic toward the operator’s fiber network.”
Bandwidth-delay product
The bandwidth-delay product of a link is its bit rate multiplied by one-way propagation time, giving its capacity for bits in flight.
“A 100 Mbps link with 10 ms propagation can contain one million transmitted bits before any reaches the far end.”
Base station
A base station is cellular network equipment that exchanges radio signals with devices and connects their traffic to an operator’s network.
“The moving phone exchanges packets with the cellular base station serving its current coverage area.”
Blocking
Blocking is refusing a new circuit-switched session because the required reserved resources are already allocated to other sessions.
“A new call is blocked even though some existing calls are silent and not using their reserved shares.”
Bottleneck link
A bottleneck link supplies the smallest available rate on a path and therefore limits the sustained throughput of a long transfer.
“Upgrading the faster client link leaves the slower server link as the download’s bottleneck.”
Bufferbloat
Bufferbloat is excessive delay caused by persistent large queues, where extra packet storage allows a long waiting time to build up.
“The upload shows few drops but makes calls sluggish because a large output queue keeps adding delay.”
Bursty traffic
Bursty traffic alternates short periods of concentrated data transfer with quiet periods, creating variable demand on shared capacity.
“Loading a page and then reading it produces bursty traffic because the download is followed by a pause.”

C

CDN
A CDN is a content delivery network that keeps copies of popular content at servers near users, reducing long-distance delivery traffic.
“The update comes from a CDN server inside the access ISP instead of crossing several distant transit networks.”
Channel-access wait
A channel-access wait is the time a device must wait for permission or an opportunity to transmit on a shared medium such as Wi-Fi.
“The laptop has a complete packet ready but waits for the shared Wi-Fi channel before starting transmission.”
Circuit
A circuit is a reserved share of resources along a communication path, such as a frequency band or recurring time slot on each link.
“Several circuits share one physical cable while each retains its own allocated transmission resources.”
Circuit switching
Circuit switching reserves link and switch resources along a path for an entire session, following connection setup before data is sent.
“The call keeps its reserved rate during a silent pause, leaving that capacity unavailable to another session.”
Client
A client is an application that requests a service from another application, such as a browser asking a web server for a page.
“During the document download, the browser acts as the client and the remote web application acts as the server.”
CMTS
A CMTS is equipment at a cable head end that communicates with cable modems and manages their access to shared cable capacity.
“The cable modem sends upstream data toward the CMTS using transmission opportunities on the shared channel.”
Content provider network
A content provider network is a private network connecting a content company’s data centers and delivery connections to other internet networks.
“The company’s content provider network carries data between its facilities and peers directly with access ISPs.”

D

DSL
DSL is a family of access technologies that carries digital data over copper telephone pairs between homes or offices and provider equipment.
“A long copper route to the provider’s equipment can lower the attainable rate of a household’s DSL service.”
DSLAM
A DSLAM is provider equipment that terminates and aggregates the DSL connections arriving over customers’ copper telephone lines.
“Each home’s DSL modem exchanges signals with the DSLAM at the provider’s office or nearby equipment site.”

E

Echo Reply
An Echo Reply is the ICMP response to an Echo Request, used by Windows tracert to recognize that a probe has reached the destination.
“Windows tracert ends when the destination answers its Echo Request rather than expiring the probe in transit.”
End-to-end delay
End-to-end delay is the total time for a packet to cross its path, combining link delays, router handling, waiting and any included endpoint work.
“An end-to-end delay calculation for one packet includes a separate transmission on each store-and-forward link.”
Ethernet
Ethernet is a wired LAN technology that exchanges data through local links and switches, commonly using twisted-pair copper for user connections.
“The workstation reaches the office switch through a 1 Gbps Ethernet connection over twisted-pair cable.”

F

FDM
FDM is frequency-division multiplexing, which assigns each circuit a separate frequency band for the duration of its connection.
“In the FDM system, two calls occupy different frequency bands on the same link at the same time.”
Fixed wireless access
Fixed wireless access connects stationary customer equipment to a provider by radio, such as a home modem linked to a cellular base station.
“The rural home’s fixed wireless modem reaches a nearby base station without a new cable being installed.”
Forwarding table
A forwarding table maps destination address ranges to outgoing interfaces, allowing a router to choose the next link for a packet.
“The router checks the destination address against its forwarding table before placing the packet at an output.”
Frequency bandwidth
Frequency bandwidth is the width of a frequency band measured in hertz; it describes spectrum, not a count of transmitted bits per second.
“The call’s frequency band is 4 kHz wide, while its digital data rate would be expressed in bit/s.”
FTTH
FTTH is an access arrangement in which optical fiber reaches the home itself, supporting high rates without a final copper stretch.
“The apartment’s FTTH connection ends at optical equipment in the home instead of a copper telephone modem.”

G

Geostationary satellite
A geostationary satellite orbits about 35,786 km above the equator and appears fixed over one location, creating a long radio path.
“The GEO service’s high download capacity does not remove the delay caused by the long satellite signal journey.”
Guided medium
A guided medium carries a signal along a confined physical path, such as twisted-pair copper, coaxial cable or optical fiber.
“The building-to-building fiber is a guided medium even though the users at one end connect by Wi-Fi.”

H

HFC
HFC is a cable access arrangement that combines optical fiber to neighborhood nodes with shared coaxial cable reaching the homes.
“The neighborhood’s HFC access uses fiber for the first stretch and coaxial cable for the final home connections.”
Host
A host is an end system that runs applications at an endpoint of network communication, such as a phone, laptop or server.
“The temperature sensor is a host because its application sends readings to a remote monitoring service.”

I

ICMP Port Unreachable
An ICMP Port Unreachable message reports an unavailable destination port and normally marks arrival for default UDP traceroute probes.
“The server’s Port Unreachable response tells UDP traceroute that its probe reached the destination host.”
ICMP Time Exceeded
An ICMP Time Exceeded message reports that a packet expired, allowing traceroute to identify a router where a probe exhausted its TTL.
“The second router sends Time Exceeded back after reducing the probe’s remaining TTL to zero.”
Instantaneous throughput
Instantaneous throughput is the receiving rate at a particular moment, which can change as competing traffic and transmission conditions change.
“The instantaneous throughput falls during a busy period even though the whole download’s average is higher.”
ISP
An ISP is an internet service provider that operates a network and supplies connectivity to customers or other networks through interconnection.
“The access ISP links the home to its network and buys upstream reachability for destinations elsewhere.”
IXP
An IXP is an internet exchange point where many independently operated networks use shared switching facilities to arrange direct peering.
“Both networks join the same IXP and agree to exchange their customer traffic across its switching fabric.”

L

LAN
A LAN is a local area network that connects nearby end systems, switches and access points to one another and an edge router.
“The laboratory’s LAN carries local traffic and also connects its computers to the university’s internet router.”
Load balancing
Load balancing spreads traffic among available paths, potentially sending traceroute probes with the same TTL to different routers.
“Three probes at one TTL produce different addresses because the network distributes them across alternate paths.”

M

M/M/1 queue
An M/M/1 queue models one server with Poisson arrivals, independent exponential service times and unlimited waiting space under stable load.
“The M/M/1 prediction grows sharply as the average arriving workload approaches the server’s capacity.”
Multi-homing
Multi-homing connects a network to at least two providers, offering alternative upstream connectivity if one provider becomes unavailable.
“The research network uses multi-homing so a failure at one upstream provider leaves another possible path.”
Multipath
Multipath is radio propagation in which reflected copies travel different routes and reach the receiver at different times.
“Reflections from nearby walls create multipath as delayed copies of the access point’s signal reach the laptop.”

N

Network core
The network core is the interconnected mesh of packet switches and links that carries traffic between access networks.
“The file’s packets cross the network core after leaving the sender’s access network for the receiver’s network.”
Network edge
The network edge consists of the end systems running applications and the access networks that attach them to the wider internet.
“A phone and its access network belong to the network edge even when its destination is on another continent.”
Nodal delay
Nodal delay is the sum of processing, queuing, transmission and propagation delay associated with a packet at a node and its outgoing link.
“The router contributes processing and waiting before sending the packet onto a link with its own travel time.”

O

Optical fiber
Optical fiber is a thin glass medium carrying light signals with high capacity, low loss over distance and immunity to electromagnetic interference.
“The campus uses optical fiber for a long fixed link beside machinery that creates strong electrical noise.”
Origin server
An origin server holds the original content that can be copied to nearby delivery servers for requests from distributed users.
“A CDN copy serves the viewer’s video without fetching those bytes from the distant origin for this request.”
Output buffer
An output buffer is finite memory holding packets waiting for a particular outgoing link to become available for their transmission.
“Packets from several incoming links collect in the output buffer while its slower outgoing link remains busy.”

P

Packet
A packet is a unit of network data containing a chunk of information and a header used to carry it toward its destination.
“The sender divides the upload into packets that routers can forward independently across the network.”
Packet loss
Packet loss occurs when transmitted packets fail to arrive, for example after a full buffer drops them or bit errors make them unusable.
“The router drops a packet from its full output buffer even though the network’s long-run average load is below capacity.”
Packet pipeline
A packet pipeline is overlapping packet transmission on successive links, so different links work on different packets at the same time.
“While the second router sends packet 1 onward, the first router can already be sending packet 2.”
Packet switching
Packet switching forwards separate packets over shared links, allocating transmission capacity as packets arrive instead of reserving a circuit.
“The router sends packets from several downloads through the same output as transmission time becomes available.”
Packetization delay
Packetization delay is time spent collecting enough newly generated data to fill a packet payload before that packet can be transmitted.
“The live voice source waits for sufficient samples to fill its payload even when the network itself is idle.”
Paris traceroute
Paris traceroute controls flow-identifying probe fields to reduce path changes caused by per-flow load balancing during path measurement.
“Paris traceroute holds flow identity stable, though a network that balances each packet can still split its probes.”
Peering
Peering is direct traffic exchange between networks and their customers, commonly settlement-free, without general transit through the peer.
“The two access ISPs peer at an exchange so their customers’ traffic avoids an upstream provider.”
Per-flow load balancing
Per-flow load balancing chooses paths using fields that identify a traffic flow, tending to keep packets with the same flow identity together.
“Changing destination ports between probes can make per-flow load balancing send them along different paths.”
Playout buffer
A playout buffer temporarily holds received audio or video so playback can proceed more smoothly despite variations in packet arrival time.
“The call’s playout buffer smooths uneven arrivals, but keeping more data there adds to the playback delay.”
PON
A PON is a passive optical network that shares provider fiber among homes through an unpowered splitter connecting an OLT to home ONTs.
“When 32 homes share one PON, they share optical capacity even though fiber reaches each individual property.”
PoP
A PoP is a point of presence: a provider site containing one or more routers where customer networks can connect to that provider.
“The company’s access circuit reaches a router at the provider’s PoP in a nearby communications facility.”
Probe timeout
A probe timeout is the waiting limit after which a measurement tool records that no reply arrived for a probe, often printing an asterisk.
“The timeout at hop 4 is followed by replies from hop 5, so the silent row alone does not locate a broken link.”
Processing delay
Processing delay is time spent examining and checking a packet and selecting its outgoing link, typically very short in high-speed routers.
“The router’s header lookup adds processing delay before the packet can join the selected output queue.”
Propagation delay
Propagation delay is the travel time of a bit across a link, equal to link length divided by the medium’s signal propagation speed.
“A long fiber route adds propagation delay even when the link has enough spare capacity to avoid queues.”
Propagation speed
Propagation speed is the speed at which a signal moves through a medium, about 200,000 km/s in fiber under the usual approximation.
“The fiber’s propagation speed stays nearly unchanged when its transmission equipment is upgraded to a higher rate.”
Protocol
A protocol is a set of rules for message formats, message order and the actions taken when messages are sent or received.
“HTTP tells a browser and web server how to structure their exchange of page requests and responses.”

Q

Queuing delay
Queuing delay is the time a packet waits for its output transmission to begin, depending on the packets and workload already ahead of it.
“The packet waits 4 ms while earlier packets are sent, then begins its own transmission onto the link.”

R

RTT
RTT is round-trip time, measured from sending a probe until its reply returns, including both travel directions and the responder’s handling.
“The ping result includes a return journey that can take a different route from the outgoing probe.”

S

Server
A server is an application or host that provides a service to clients, often from equipment grouped in a data center.
“The storage server supplies the requested file, while the router only carries the packets along its path.”
Statistical multiplexing
Statistical multiplexing shares capacity on demand among users’ arriving packets, allowing one user to use capacity left idle by others.
“When only one sender has packets waiting, statistical multiplexing lets it use the link’s available capacity.”
Store-and-forward
Store-and-forward is a switching method that receives an entire packet before beginning its transmission on the next link.
“The router cannot forward the packet’s first bit until its last bit has arrived over the incoming link.”

T

TDM
TDM is time-division multiplexing, which divides recurring frames into slots and gives each circuit a fixed slot in every frame.
“With 16 equal TDM slots and no overhead, each circuit receives one sixteenth of the full link rate.”
Throughput
Throughput is the rate at which the receiver actually obtains data, measured in bits per second and limited by the path’s available capacity.
“The download’s throughput is lower than the client’s access rate because the shared core offers a smaller share.”
Tier-1 ISP
A tier-1 ISP is a provider that can reach every internet destination without buying transit, through its own network and peer connections.
“A tier-1 ISP connects with other tier-1 networks, but a nearby CDN download may never cross any of them.”
Traceroute
Traceroute is a tool that sends probes with increasing hop limits to identify responding interfaces and measure source-to-hop round-trip times.
“The engineer runs traceroute to find where a persistent delay increase first appears along the measured path.”
Traffic intensity
Traffic intensity is average arriving bit rate divided by output capacity, calculated as average packet length times arrival rate divided by link rate.
“An intensity of 0.9 leaves little spare average capacity, so random arrival bursts can produce substantial waits.”
Transit
Transit is a paid customer–provider service carrying traffic between the customer’s network and destinations across the rest of the internet.
“The regional ISP pays its upstream provider for transit to networks it cannot reach through direct agreements.”
Transmission delay
Transmission delay is the time needed to place all bits of a packet onto a link, equal to packet length divided by the link’s bit rate.
“Doubling the rate halves a fixed packet’s transmission delay but does not change the fiber’s signal speed.”
Transmission rate
A transmission rate is the number of bits a link can place onto its medium per second, commonly expressed in Mbps or Gbps.
“A rate of 80 Mbps allows at most 10 MB of bytes to enter the link each second before overhead is considered.”
TTL
TTL is the IPv4 time-to-live field, reduced at each router so packets are discarded after a bounded number of forwarding hops.
“A probe sent with TTL 2 can pass the first router and expire at the second router on its path.”

W

Wi-Fi
Wi-Fi is a wireless LAN technology based on IEEE 802.11 that lets nearby devices exchange packets over shared radio channels.
“Several laptops share the Wi-Fi channel, so each receives less airtime when all are actively sending.”

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started