Infrastructure that provides services & a programming interface to applications (web, VoIP, email) (API hooks)
9
New cards
Network protocols are \______ rather than \_____
machines, humans
10
New cards
What is all Internet communication activity governed by?
Protocols
11
New cards
What do protocols define?
Message format, order sent/received, action taken on transmission, and receipt
12
New cards
What is the Network Edge made of?
Hosts: clients and servers often in data centers
13
New cards
Access Networks & Physical Media represent what kind of links?
Wired & wireless communication links
14
New cards
What is the Network Core?
Interconnected routers - network of networks
15
New cards
What are three types of access nets end systems use to connect to an edge router?
1. Residential access nets 2. Institutional access nets (school/company) 3. Mobile access nets *Keep in mind bandwidth & if it's shared or dedicated*
16
New cards
Access Network: Digital Subscriber Line (DSL)
Uses an existing, *dedicated* telephone line to a central office DSLAM. Over a DSL phone line, data goes to Internet & voice goes to telephone net.
17
New cards
Frequency Division Multiplexing (FDM)
Different channels transmitted in different frequency bands
18
New cards
Hybrid Fiber Coast (HFC) is what type of connection?
Asymmetric wired connection
19
New cards
Access Network: Cable
A network of *shared* cable and fibre that attaches homes to an ISP router at a cable headend (CMTS)
20
New cards
Access Network: Home
Wired and wireless communication with a *dedicated* line that connects to an ISP via cable or DSL
21
New cards
Access Network: Enterprise (Ethernet)
Used in companies & universities with end systems connected to an Ethernet switch --\> institution router --\> ISP
22
New cards
Access Network: Wireless
*Shared* wireless access network connects end systems to a router via an access point "base station"
23
New cards
What are 2 types of Wireless Access Networks?
1. Wireless LANs (within a building - 100ft. - 802.11 b/g/n) 2. Wide-area Wireless Access (provided by cell operator - 10s of kms - 3G/4G/LTE)
24
New cards
How do hosts send packets of data?
1. Take an application message 2. Break message into small chunks (packets) of L bits 3. Transmit packets into an access network at transmission rate R
25
New cards
Formula for Packet Transmission Delay
L (bits) / R (bits/sec)
26
New cards
What is Packet Transmission Delay?
The time needed to transmit an L-bit packet into the link
27
New cards
What does a Bit do?
Propogate between transmitter/receiver pairs
28
New cards
What is the physical link?
What lies between a transmitter and receiver
29
New cards
How do signals propagate in Guided Media?
Solid media, e.g. copper, fiber, and coax
30
New cards
How do signals propagate in Unguided Media?
Freely, e.g. radio
31
New cards
Coax Cable
Bidirectional, broadband (multiple channel/HFC), two concentric copper conductors
32
New cards
Fiber Optic Cable
Glass fibre carrying light pulses (ea. pulse is a bit), high speed ppp transmission, low error rate
33
New cards
Physical media: Radio
Bidirectional signal carried in electromagnetic spectrum vulnerable to reflection, obstruction by objects, and interference
34
New cards
Radio Link Types
Microwave, LAN (WiFi), Wide-Area (Cellular), Satellite
35
New cards
Packet-Switching
Hosts break application-layer messages into packets, forwarding across routers from source to destination (transmitted at full link capacity)
36
New cards
What is Store-and-Forward in packet switching?
Entire packet must arrive at router before it can be transmitted on next link
37
New cards
End-End Delay Formula (assuming zero propagation delay)
2L/R
38
New cards
When does queuing delay and loss occur?
If arrival rate exceeds transmission rate, packets will queue and wait to be transmitted or dropped (lost) if memory (buffer) fills up
39
New cards
What are 2 key network-core functions?
Routing & Forwarding
40
New cards
Routing
Determine source-destination route taken by packets using a routing algorithm
41
New cards
Forwarding
Move packets from router's input to output
42
New cards
Circuit Switching
A *dedicated* connection formed between two points that remains active for the duration of transmission, segments will be idle if not in use
43
New cards
What type of network-core is commonly used in traditional telephone networks?
Circuit Switching
44
New cards
Greater length between source & destination results in greater \_______ delay.
Propogation
45
New cards
Greater packet size results in greater \________ delay.
Transmission
46
New cards
What's the difference between FDM vs TDM?
FDM divides the channel into two or more frequency ranges that don't overlap & each signal uses a small portion of bandwidth all the time. (horizontal lines) TDM alternates dividing and allocating time to each channel and each signal uses all the bandwidth some of the time. (vertical lines)
47
New cards
Does packet or circuit switching allow more users to use the network?
Packet switching
48
New cards
Advantages & Disadvantages of Packet Switching
Adv: 1. Great for bursty data & resource sharing 2. Simple with no call setup
Disadv: 1. Excessive congestion (packet delay/loss) 2. Need protocols for reliable transfer
49
New cards
How do end systems connect to the Internet?
End system --\> Access ISPs --\> Other Access ISPs
50
New cards
What was the evolution of the Internet driven by?
Economics & national policies
51
New cards
What's the problem with connecting each Access ISP to every other Access ISP?
It doesn't scale - too many connections
52
New cards
What's the problem with connecting each Access ISP to one global transit ISP?
Customer-Provider ISPs have economic agreements so Global ISPs compete for business & still need to be connected
53
New cards
What is the solution to connecting millions of access ISPs together?
A small \# of well connected large networks at the centre - Tier 1 ISPs with national and international coverage
54
New cards
What does the tiered Internet architecture look like (top-down)?
Application (data) Transport (segments) Network (packets) Link (frames) Physical (bits)
72
New cards
Internet Protocol Stack - Application
Supports network applications Ex: FTP, SMTP, HTTP
73
New cards
Internet Protocol Stack - Transport
Process-process data transfer Ex: TCP, UDP
74
New cards
Internet Protocol Stack - Network
Route datagram from source to destination Ex: IP, routing protocols
75
New cards
Internet Protocol Stack - Link
Data transfer between neighbouring network elements Ex: Ethernet, 802.11 (Wifi), PPP
76
New cards
Internet Protocol Stack - Physical
bits "on the wire"
77
New cards
ISO/OSI Model - Presentation
Allows apps to interpret data Ex: Encryption, compression
78
New cards
ISO/OSI Model - Session
Synchronisation, checkpointing, recovery of data exchange
79
New cards
The Internet wasn't originally designed with much security in mind. What was the original vision?
A group of mutually trusting users attached to a transparent network
80
New cards
What are two ways malware can get in a host?
1. Virus: requires user to receive/execute (Email attachments) 2. Worm: self-replicates
81
New cards
What is an example of packet-sniffing software?
Wireshark
82
New cards
Packet sniffing
Broadcast media (shared ethernet/wireless) - Promiscuous network interface reads/records all packets
83
New cards
IP spoofing
Send packet with false source address
84
New cards
Whose internetworking principles define today's Internet structure? What are they?
Cerf & Kahn - minimalism & autonomy (no internal change required to interconnect networks) - best effort service model - stateless routers - decentralised control
85
New cards
When creating a network app, you write programs that should do what 2 things?
1. Run on different end systems 2. Communicate over network Ex: Web server software communicates with browser
86
New cards
Do you need to write software for network core devices?
No, they don't run user apps.
87
New cards
Give 5 examples of network apps
1. Email 2. Web 3. Text messaging 4. Remote login 5. Streaming stored video (Netflix)
88
New cards
What are two possible structures of applications?
1. Client-server 2. Peer-to-peer
89
New cards
Role of the server in Client-server architecture
Always-on Permanent IP Data centres for scaling
90
New cards
Role of clients in Client-server architecture
Communicate with server Intermittently connected Dynamic IPs Don't communicate directly with each other
91
New cards
P2P architecture
No always-on server Arbitrary end-systems directly communicate Peers request & provide services to other peers Peers are intermittently connected & change IPs
92
New cards
Self Scalability
New peers bring new service capacity & demands
93
New cards
Process
program running within a host
94
New cards
How do two processes communicate within the same host?
Inter-process communication
95
New cards
How do processes communicate in different hosts?
By exchanging messages
96
New cards
What process initiates communication?
Client process
97
New cards
What process waits to be contacted?
Server process
98
New cards
Do applications with P2P architectures have client or server processes?
Both
99
New cards
What are Sockets?
Interface between application & transport layer - Process sends/receives messages to/from its socket
100
New cards
What must the Addressing Process have to receive messages?
An identifier- IP address & port number associated with host process