COMP 3324: Chapter 1 Review
COMP 3324: Chapter 1 Review
COMP 3324: Chapter 1 Review
Chapter 1 Review
Webinar 1
Furkan Paligu
Chapter 1: introduction
goal: overview:
get “feel” and what’s the Internet?
terminology what’s a protocol?
network edge; hosts, access net,
physical media
network core: packet/circuit
switching, Internet structure
security
protocol layers, service models
What’s the Internet: “nuts and bolts” view
mobile network
Internet: “network of networks”
Interconnected ISPs
global ISP
protocols control sending,
receiving of messages
e.g., TCP, IP, HTTP, Skype, 802.11 home
network
Internet standards regional ISP
RFC: Request for comments
IETF: Internet Engineering Task
Force
institutional
network
What’s the Internet: a service view
mobile network
Infrastructure that provides
services to applications: global ISP
Hi
Hi
Got the
time?
2:00
time
A closer look at network structure:
network edge: mobile network
network core:
interconnected routers
network of networks institutional
network
Enterprise access networks (Ethernet)
institutional link to
ISP (Internet)
institutional router
to Internet
to Internet
Physical media
bit: propagates between
transmitter/receiver pairs
physical link: what lies twisted pair (TP)
between transmitter & two insulated copper
receiver wires
guided media: Category 5: 100 Mbps, 1
Gpbs Ethernet
signals propagate in solid Category 6: 10Gbps
media: copper, fiber, coax
unguided media:
signals propagate freely,
e.g., radio
Network Terms
Application Data (Top Layer) ->
header (source and destination IP)+ data + trailer ->
Called datagram ->
MAC address + datagram -> frame /Ethernet frame
They are called packet of data between IP layer and
network interface
Octets or Byte = 8 bits
Frame size (Ethernet LANA) > 64 bytes + 4 byte
cyclic redundancy check (CRC)
< 1518 bytes
Physical media: coax, fiber
coaxial cable: fiber optic cable:
two concentric copper glass fiber carrying light
conductors pulses, each pulse a bit
bidirectional high-speed operation:
broadband: high-speed point-to-point
multiple channels on cable transmission (e.g., 10’s-100’s
Gpbs transmission rate)
HFC
low error rate:
repeaters spaced far apart
immune to electromagnetic
noise
Physical media: radio
signal carried in radio link types:
electromagnetic spectrum terrestrial microwave
no physical “wire” e.g. up to 45 Mbps channels
bidirectional LAN (e.g., WiFi)
propagation environment 11Mbps, 54 Mbps
effects: wide-area (e.g., cellular)
reflection 3G cellular: ~ few Mbps
obstruction by objects satellite
interference Kbps to 45Mbps channel (or
multiple smaller channels)
270 msec end-end delay
geosynchronous versus low
altitude
The network core
mesh of interconnected
routers
packet-switching: hosts
break application-layer
messages into packets
forward packets from one
router to the next, across
links on path from source
to destination
each packet transmitted at
full link capacity
Packet-switching: store-and-forward
L bits
per packet
3 2 1
source destination
R bps R bps
R = 100 Mb/s C
A
D
R = 1.5 Mb/s
B
queue of packets E
waiting for output link
routing algorithm
access access
net net
access
net
access
net
access
net
access
net
access access
net access net
net
Internet structure: network of networks
Option: connect each access ISP to every other access ISP?
access access
net net
access
net
access
access net
net
access
access net
net
access
net
access
net
access
net
access
net
access access
net access net
net
Internet structure: network of networks
Option: connect each access ISP to a global transit ISP? Customer
and provider ISPs have economic agreement.
access access
net net
access
net
access
access net
net
access
access net
net
global
access
net
ISP access
net
access
net
access
net
access
net
access
net
access access
net access net
net
Internet structure: network of networks
But if one global ISP is viable business, there will be competitors
….
access access
net net
access
net
access
access net
net
access
access net
net
ISP A
access access
net ISP B net
access
ISP C
net
access
net
access
net
access
net
access access
net access net
net
Internet structure: network of networks
But if one global ISP is viable business, there will be competitors
…. which must be interconnected
access access
Internet exchange point
net net
access
net
access
access net
net
access
IXP access
net
net
ISP A
access
ISP C
net
access
net
access
IXP access
net
net
ISP A
access
ISP C
net
access
net
access
net regional net
access
net
access access
net access net
net
Internet structure: network of networks
… and content provider networks (e.g., Google, Microsoft,
Akamai ) may run their own network, to bring services, content
close to end users
access access
net net
access
net
access
access net
net
access
IXP access
net
net
ISP A
Content provider network
access IXP access
net ISP B net
access
ISP B
net
access
net
access
net regional net
access
net
access access
net access net
net
Internet structure: network of networks
to/from backbone
peering
… … …
…
to/from customers
Throughput
throughput: rate (bits/time unit) at which bits
transferred between sender/receiver
instantaneous: rate at given point in time
average: rate over longer period of time
server,
server withbits
sends linkpipe
capacity
that can carry linkpipe
capacity
that can carry
file of into
(fluid) F bitspipe Rs bits/sec
fluid at rate Rc bits/sec
fluid at rate
to send to client Rs bits/sec) Rc bits/sec)
Throughput (more)
Rs < Rc What is average end-end throughput?
Rs bits/sec Rc bits/sec
Rs bits/sec Rc bits/sec
bottleneck link
link on end-end path that constrains end-end throughput
Throughput: Internet scenario
per-connection end-
end throughput: Rs
min(Rc,Rs,R/10) Rs Rs
in practice: Rc or Rs
is often bottleneck
R
Rc Rc
Rc
1. select target
2. break into hosts around
the network (see botnet)
3. send packets to target from
compromised hosts
target
Bad guys can sniff packets
packet “sniffing”:
broadcast media (shared ethernet, wireless)
promiscuous network interface reads/records all packets
(e.g., including passwords!) passing by
A C