Computer Networks

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/106

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

107 Terms

1
New cards
WAN (Wide Area Network)
A network spanning large geographic distances connecting multiple LANs.
2
New cards
Scalability in WANs
WANs must grow while maintaining performance across long distances.
3
New cards
Packet Switch
A small computer system in a WAN that stores and forwards packets.
4
New cards
Traditional WAN Architecture
Uses packet switches connected by data circuits to interconnect remote sites.
5
New cards
Router vs Switch Separation
Switches handle local delivery; routers handle inter-site delivery.
6
New cards
Forming a WAN
Sites are connected by leased lines, microwave, or satellite links.
7
New cards
Store-and-Forward Paradigm
Packet switches buffer packets before forwarding them.
8
New cards
WAN Address Format
A two-part hierarchical address: packet switch ID + computer ID.
9
New cards
Hierarchical Address Example
Address [2,6] means computer 6 connected to switch 2.
10
New cards
Next-Hop Forwarding
Router chooses only the next hop toward destination, not full path.
11
New cards
Forwarding (Routing) Table
Maps destinations to next-hop routers.
12
New cards
Advantages of Next-Hop Forwarding
Smaller tables, faster lookup, simpler management.
13
New cards
Source Independence
Routing decision depends only on destination, not source.
14
New cards
Dynamic Routing Updates
Routers automatically update paths when topology changes.
15
New cards
Routing Software
Computes shortest paths using graph algorithms.
16
New cards
Default Route
A fallback route used when no specific match exists.
17
New cards
Static Routing
Routes manually configured and unchanged unless edited.
18
New cards
Dynamic Routing
Routes update automatically via routing protocols.
19
New cards
Distributed Route Computation
Each router computes its own routing table.
20
New cards
Link-State Routing (LSR)
Routers flood link info and compute full shortest-path trees.
21
New cards
Shortest Path First (SPF)
The algorithmic approach used by LSR.
22
New cards
Dijkstra’s Algorithm
Computes shortest paths from a source to all nodes.
23
New cards
Distance Vector Routing (DVR)
Routers exchange distance vectors with neighbors.
24
New cards
DVR Update Message
"I can reach X at cost Y."
25
New cards
LSR vs DVR
LSR uses full maps; DVR uses neighbor exchanges.
26
New cards
Weights in Routing Graph
Numerical link costs representing performance attributes.
27
New cards
Infinity (∞) in Routing
A value representing unreachable nodes.
28
New cards
Primary vs Backup Paths
Links assigned lower weights are preferred; higher weights are backups.
29
New cards
Routing Problems (LSR)
Inconsistent updates can cause incorrect paths.
30
New cards
Routing Loops (DVR)
Routers repeatedly forward packets to each other due to incorrect info.
31
New cards
Backwash Problem
Router receives its own outdated info indirectly and accepts it.
32
New cards
Split Horizon
Prevents loops by not advertising a route back to its source.
33
New cards
Hysteresis
Delays route changes to avoid rapid oscillation.
34
New cards
Internetworking
Connecting multiple networks so they operate as one.
35
New cards
Need for Internetworking
No single network technology is optimal for all uses.
36
New cards
Universal Service
Any computer can communicate with any other computer.
37
New cards
Multiple Network Problem
Early networks were isolated "islands" requiring internetworking.
38
New cards
Router
Device that forwards packets between networks.
39
New cards
Internet Architecture
Many networks interconnected via routers.
40
New cards
Redundancy in Internet
Extra routers and links prevent failures.
41
New cards
Internet vs internet vs intranet
internet = any interconnected networks; Internet = global network; intranet = private internal internet.
42
New cards
Virtual Network Concept
Software makes many networks appear as one unified network.
43
New cards
TCP/IP Role
The protocol suite enabling global internetworking.
44
New cards
TCP/IP Layers
Physical → Link → IP → Transport → Application layers.
45
New cards
Host Computer
Any device connected to the network running applications.
46
New cards
Router Layers Used
Routers use physical, link, internet, and partial transport layers.
47
New cards
Router Architecture
Router with multiple interfaces forwarding IP packets.
48
New cards
Routing Table
List of destinations and next hops.
49
New cards
Static vs Dynamic Routing
Static is fixed; dynamic adapts to changes.
50
New cards
CIDR (Classless Inter-Domain Routing)
Removes rigid class-based addressing; allows variable prefix lengths.
51
New cards
CIDR Address Format
/.
52
New cards
Supernetting
Aggregating contiguous networks into a larger prefix.
53
New cards
Longest Prefix Match
Router picks route with the most specific matching prefix.
54
New cards
IPv4 Address Exhaustion
The depletion of the 32-bit IPv4 address space.
55
New cards
IPv6 Motivation
Need for larger addressing, simpler headers, security, and mobility.
56
New cards
IPv6 Address Size
128-bit address space.
57
New cards
IPv6 Address Notation
Eight groups of hexadecimal 16-bit blocks separated by colons.
58
New cards
Zero Compression in IPv6
"::" replaces consecutive zero groups.
59
New cards
IPv6 Header Improvements
Simpler fixed header; extension headers used for options.
60
New cards
Transition to IPv6
Dual-stack, tunneling, and translation mechanisms.
61
New cards
IP Responsibilities
Routing, addressing, fragmentation, and best-effort delivery.
62
New cards
Best-Effort Delivery
Packets may be lost, duplicated, delayed, or corrupted.
63
New cards
IP Datagram Format
Contains addresses, TTL, checksum, protocol field, etc.
64
New cards
TTL (Time To Live)
Limits datagram lifetime to prevent loops.
65
New cards
Protocol Field
Identifies upper-layer protocol (TCP, UDP, ICMP).
66
New cards
Fragmentation
Splits datagrams exceeding MTU into smaller fragments.
67
New cards
Reassembly
Only the destination host reassembles fragments.
68
New cards
Header Checksum
Verifies IP header integrity only.
69
New cards
ARP (Address Resolution Protocol)
Maps IPv4 addresses to MAC addresses.
70
New cards
ICMP (Internet Control Message Protocol)
Sends error and diagnostic messages.
71
New cards
Subnetting
Dividing a network prefix into smaller logical subnets.
72
New cards
Multicast
Sending data to multiple receivers efficiently.
73
New cards
Unicast vs Broadcast vs Multicast
One-to-one, one-to-all, one-to-many.
74
New cards
Multicast Address
Special addresses representing receiver groups.
75
New cards
IGMP (Internet Group Management Protocol)
Manages host membership in multicast groups.
76
New cards
Multicast Routing Challenge
Avoid unnecessary duplication; split traffic only when needed.
77
New cards
Reverse Path Forwarding (RPF)
Forwards multicast only if it arrives on shortest path from source.
78
New cards
Pruning
Removing unnecessary multicast branches.
79
New cards
Flood-and-Prune
Initial flooding, then removing unused paths.
80
New cards
UDP (User Datagram Protocol)
A lightweight, unreliable, connectionless transport protocol.
81
New cards
End-to-End Transport
Allows applications—not just hosts—to act as endpoints.
82
New cards
UDP Characteristics
Connectionless, best-effort, message-oriented.
83
New cards
Message-Oriented Interface
Application sends messages exactly as delivered; boundaries preserved.
84
New cards
UDP Advantages
Low overhead, flexible interaction patterns (1:1, 1:many, many:many).
85
New cards
UDP Disadvantages
No reliability; messages may be lost, duplicated, or corrupted.
86
New cards
Applications Suited to UDP
Audio/video streaming, VoIP, DNS, gaming.
87
New cards
Applications Unsuitable for UDP
E-commerce, banking, file transfer.
88
New cards
Protocol Port Numbers
Standard identifiers used to identify applications across systems.
89
New cards
UDP Header
Contains source port, destination port, length, checksum.
90
New cards
UDP Checksum
Optional; uses ones-complement arithmetic with pseudo-header.
91
New cards
Pseudo Header
Includes IP info such as source, destination, protocol, and UDP length.
92
New cards
UDP Encapsulation
UDP datagram carried inside an IP datagram.
93
New cards
TCP (Transmission Control Protocol)
Reliable, connection-oriented, byte-stream transport layer protocol.
94
New cards
Connection-Oriented
TCP requires a connection to be established before data exchange.
95
New cards
Reliable Delivery
Ensures data is delivered correctly or fails gracefully.
96
New cards
Byte Stream Service
Applications send bytes without regard to boundaries.
97
New cards
Flow Control
Prevents sender from overwhelming receiver.
98
New cards
Congestion Control
Prevents overloading the network using algorithms like slow start.
99
New cards
Three-Way Handshake
SYN → SYN/ACK → ACK connection establishment.
100
New cards
Four-Way Teardown
FIN exchanges to close each direction of the connection.