Intro To Internet
Intro To Internet
Internet Infrastructure
Rajesh Palit, Ph.D.
North South University, Dhaka
•3-1
What’s the Internet: “nuts and bolts” view
• millions of connected PC mobile network
computing devices: server
• hosts = end systems
• running network apps wireless global ISP
laptop
smartphone
home
communication links network
regional ISP
wireless fiber, copper,
links radio, satellite
wired
links transmission rate:
bandwidth
Packet switches:
router forward packets (chunks institutional
network
of data)
routers andIntroduction
switches 1-2
What’s the Internet: a service view
mobile network
• Infrastructure that provides
services to applications: global ISP
• Web, VoIP, email, games, e-
commerce, social nets, …
home
• provides programming network
regional ISP
interface to apps
• hooks that allow sending
and receiving app programs
to “connect” to Internet
• provides service options,
analogous to postal service
institutional
network
Introduction 1-3
A closer look at network structure:
mobile network
• network edge:
• hosts: clients and servers global ISP
• servers often in data centers
home
network
access networks, regional ISP
physical media:
wired, wireless
communication links
network core:
interconnected
routers institutional
network
network of networks
Introduction 1-4
Data Communication Networks
DSL splitter
modem DSLAM
ISP
voice, data transmitted
at different frequencies over DSL access
dedicated line to central office multiplexer
wireless
devices
to/from headend or
central office
often combined
in single box
Introduction 1-9
Enterprise access networks (Ethernet)
institutional link to
ISP (Internet)
institutional router
Introduction 1-10
Wireless access networks
• shared wireless access network connects end system to router
• via base station aka “access point”
to Internet
to Internet
Introduction 1-11
Physical media
Introduction 1-12
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:
high-speed point-to-point
• broadband: transmission (e.g., 10’s-
• multiple channels on cable 100’s Gpbs transmission
rate)
• HFC
low error rate:
repeaters spaced far apart
immune to electromagnetic
noise
Introduction 1-13
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)
11Mbps, 54 Mbps
• propagation environment wide-area (e.g., cellular)
effects: 3G cellular: ~ few Mbps
• reflection satellite
• obstruction by objects Kbps to 45Mbps channel (or
• interference multiple smaller channels)
270 msec end-end delay
geosynchronous versus low
altitude
Introduction
Switching Techniques
Circuit Switching
• Circuit switching:
• There is a dedicated communication path between two stations (end-to-end)
• The path is a connected sequence of links between network nodes. On each physical link, a
logical channel is dedicated to the connection.
• Communication via circuit switching has three phases:
• Circuit establishment (link by link)
• Routing & resource allocation (FDM or TDM)
• Data transfer
• Circuit disconnect
• Deallocate the dedicated resources
• The switches must know how to find the route to the destination and how to
allocate bandwidth (channel) to establish a connection.
16
Circuit Switching Properties
• Inefficiency
• Channel capacity is dedicated for the whole duration of a connection
• If no data, capacity is wasted
• Delay
• Long initial delay: circuit establishment takes time
• Low data delay: after the circuit establishment, information is transmitted at a fixed data rate
with no delay other than the propagation delay. The delay at each node is negligible.
• Developed for voice traffic (public telephone network) but can also applied to
data traffic.
• For voice connections, the resulting circuit will enjoy a high percentage of utilization because
most of the time one party or the other is talking.
• But how about data connections?
17
Public Circuit Switched Network
• Line efficiency
• Single node-to-node link can be dynamically shared by many packets over time
• Packets are queued up and transmitted as fast as possible
• Data rate conversion
• Each station connects to the local node at its own speed
• In circuit-switching, a connection could be blocked if there lacks free resources.
On a packet-switching network, even with heavy traffic, packets are still accepted,
by delivery delay increases.
• Priorities can be used
• On each node, packets with higher priority can be forwarded first. They will experience less
delay than lower-priority packets.
21
Internet structure: network of networks
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
local
ISP Tier 3 local
local local
ISP ISP
ISP ISP
Tier-2 ISP Tier-2 ISP
Tier 1 ISP
NAP
Network Layer
4-27
South East Asia–Middle East–Western Europe 4 (SEA-ME-WE 4)
Network Layer
4-28
Telecommunications Network in Bangladesh
Submarine cable
Intl terrestrial cable
Satellite Link
Nationwide Telecom
Transmission
Nationwide Telecom Network (NTTN)
Transmission Internet Service
Network (NTTN) Provider (ISP)
Inter-connection
Exchange (ICX)
Network Layer
4-29
How do loss and delay occur?
packets queue in router buffers
• packet arrival rate to link (temporarily) exceeds output link
capacity
• packets queue, wait for turn
packet being transmitted (delay)
B
packets queueing (delay)
free (available) buffers: arriving packets
dropped (loss) if no free buffers
Introduction 1-30
Four sources of packet delay
transmission
A propagation
B
nodal
processing queueing
B
nodal
processing queueing
average queueing
• R: link bandwidth (bps)
delay
• L: packet length (bits)
• a: average packet arrival
rate
traffic intensity
= La/R
La/R ~ 0: avg. queueing delay small La/R ~ 0
* Check out the Java applet for an interactive animation on queuing and loss La/R -> 1
Introduction
• throughput: rate (bits/time unit) at which bits
Throughput transferred between sender/receiver
• instantaneous: rate at given point in time
• average: rate over longer period of time
Rs bits/sec Rc bits/sec
Rs bits/sec Rc bits/sec
bottleneck link
link on end-end path that constrains end-end throughput
1-34
Protocol “layers”
Networks are complex,
with many “pieces”: Question:
• hosts is there any hope of
• routers organizing structure of
network?
• links of various media
• applications …. or at least our discussion
• protocols of networks?
• hardware, software
Introduction 1-35
Layering of airline functionality
airplane routing airplane routing airplane routing airplane routing airplane routing
Introduction 1-36
Why layering?
dealing with complex systems:
• explicit structure allows identification, relationship
of complex system’s pieces
• layered reference model for discussion
• modularization eases maintenance, updating of
system
• change of implementation of layer’s service
transparent to rest of system
• e.g., change in gate procedure doesn’t affect rest of
system
• layering considered harmful?
Introduction 1-37
Internet protocol stack
• application: supporting network
applications
• FTP, SMTP, HTTP, SIP, RTP, Skype application
• transport: process-process data
transfer transport
• TCP, UDP
• network: routing of datagrams network
from source to destination
• IP, routing protocols link
• link: data transfer between
neighboring network elements physical
• Ethernet, 802.111 (WiFi), PPP
• physical: bits “on the wire”
Introduction 1-38
ISO/OSI Reference Model
• presentation: allow applications
to interpret meaning of data, application
e.g., encryption, compression,
machine-specific conventions presentation
• session: synchronization, session
checkpointing, recovery of data transport
exchange
network
• Internet stack “missing” these
layers! link
• these services, if needed, must be physical
implemented in application
• needed?
Introduction 1-39
message M
source
application
Encapsulation
segment Ht M transport
datagram Hn Ht M network
frame Hl Hn Ht M link
physical
link
physical
switch
destination Hn Ht M network
M application Hl Hn Ht M link Hn Ht M
Ht M transport physical
Hn Ht M network
Hl Hn Ht M link router
physical
Introduction 1-40