Lecture 1--Intro to Computer Networks
Lecture 1--Intro to Computer Networks
Computer &
Communication
Networks
Why study
Computer
Networks ?
A group or system of interconnected people or
things.
Textbook
t er s
u
p ”, rall,
m
“Co orksethe
t w d W
Nauem an
en b
Tan o n .
h editi
5t
Reference books
Disclaimer: I shall be copying slides, figures, and different material for Lecture
presentation from Dr. Junaid Qadir Slides, Online slides available for the below
mentioned books by the authors of the book. For this I am thankful to Dr. Junaid and
the authors for putting some nice slides over the internet.
[Kurose &
Ross] [Peterson &
Davie]
Course Contents
Topic 0
Introduction to this course
and to networks
Topic 1
Physical layer technologies:
Topic 2
How do nodes connect over a
single direct link to form a
network?
Topic
3
How heterogeneous networks
are connected to form internets?
Net1
Net 2 Net3
Topic 4
How processes on different nodes
communicate over an
internetwork?
Topic
5
How various applications
interact over an internetwork?
•
Modern networking
Initial concepts of wide area networking originated in several
trends
computer science laboratories in the United States, United
Kingdom, and France.
• The first message was sent over the ARPANET in 1969 from
computer science laboratory at University of California, Los
Angeles (UCLA) to the second network node at Stanford
Research Institute (SRI).
https://www.internetsociety.org/internet/history-internet/brief-history-internet/
Networking
‘
Networks is a set of technologies –
including hardware, software and
media – that can be used to
connect computers together,
’’
resources in real time
[Peter Norton]
Benefits
Resource sharing (cost savings)
Personal communication
Data backups
Reliability (reduced errors/inconsistencies)
Greater performance (distributed computing)
Personalized/ contextualized services
Network
Design Issues
Media; Topology; Protocol;
Addressing; Naming;
Network Topology
Network topology is the study of the physical
(real) and logical (virtual) interconnections
between nodes [Wikipedia]
Topology types:
Point to Point; Bus; Star; Ring; Mesh and Hybrid
Network Topology (cont)
‘
The rules governing the syntax, semantics,
’
and synchronization of communication.
[Wikipedia]
’
messages sent and received among network
entities and 3) action(s) taken on
’
transmission and receipt of message
• stack: [m-w.org]
– 1: a large usually conical pile (as of hay, straw, or
grain in the sheaf) left standing in the field for
storage
– 2 a: an orderly pile or heap
22
Layered Architecture
23
Layered Architecture
24
An Example of a Non-Layered
Communication
25
An Example of a Non-Layered
Communication
SEECSTech
EMETech
Secretary
Secretary
mailman
27
The TCP/IP Protocol Stack
Application Layer
SMTP, POP3, FTP, HTTP…
Transport Layer
TCP and UDP
Network Layer
IP
Medium Access Control Layer
Ethernet, 802.11,…
Physical Layer
UTP, Fiber, Wireless…
28
The TCP/IP Protocol Stack
Application Layer
SMTP, POP3, FTP, HTTP… payload
Transport Layer trans
TCP and UDP payload
hdr
Network Layer net trans
IP payload
hdr hdr
Medium Access Control Layer mac net trans
Ethernet, 802.11,… payload
hdr hdr hdr
Physical Layer phy mac net trans
UTP, Fiber, Wireless… payload
hdr hdr hdr hdr
Channel
29
TCP/IP stack in IoTs
OSI Protocol Stack
– A framework is helpful in the design of
hardware and software for communication
Internet layer
Source IP | Destination IP Payload
Application Application
Transport Transport
Network Network
Data Link Data Link
Bits Bits
Application Application
Routers/
Transport Gateway Transport
Network Network
Data Link Data Link
Bits Bits
Internet layer
Source IP | Destination IP Payload
Internet layer
Source IP | Destination IP Payload
y p e
T
d i g m
a r a
P y
r c h
i e ra
H
Brief Overview of Contemporary Networks
• Ratified in 1999
• Operates at 2.4 GHz
• Multiple Data rates: 1, 2, 5.5, 11 Mbps
– Data rate is selected and changed according to
the variations in signal quality
• Range: ~35m indoor, ~100m outdoor
Infrastructure Wireless Networks: 802.11a
• Ratified in 1999
• Operates at 5 GHz
• Multiple Data rates: 54, 48, 36, 24, 18, 12,
9 and 6 Mbps
• Best operation with line-of-sight
• Range: ~25m indoor, ~75m outdoor
Infrastructure Wireless Networks: 802.11n
• Standardized as 802.16e
• Provides last-mile wireless broadband connectivity
• Operates at 3.5 GHz, 2.3/2.5 GHz, or 5 GHz
• Maximum data rate: ~64 Mbps
• Range: ~10 km
• Provides built-in Quality-of-Service (QoS) support
• Uses MIMO technology with AMC
Short-Range Wireless Networks: Bluetooth
Source
(Caller) Call establishment
Data transfer
Connection close
(before data transfer)
Destination
(Callee)
Difference between telecom and data networks
Source
Destination
…
Message
…
Packets
Classification
(Geographical Scope)
Decreasing
• Wide Area Networks
Scope
• Metropolitan Area Networks
• Campus Area Networks
• Home Area Networks
• Personal Area Networks
Classification
(Network Paradigm)
Client-server networks:
Cor
e
Distribution
Acces
s
Classification
(Type)
Internet
Intranet
VPN
Extranet
Image source: http://www.flexsys-group.com
Access technology
(Narrowband)
• Uses analog telephone lines
• Utilizes a modulator/ demodulator
(Modem)
• Modems perform error correction/
compression
• V.34 (28.8, 33.6 kbps); V.90 and V.92 (56
kbps)
• Telephone networks limit a single
narrowband channel to 56 kbps
Access technology
(Broadband)
• Leased Circuits: E1 (2M), E2 (8M), E3
(34M)
• DSL: Utilizes telephone lines but
performs efficient digital coding
Types: HDSL, SDSL, VDSL
• Cable: Utilizes co-axial cables and
provides similar access speeds to DSL
• WiMax: Wireless broadband
technology
Some Standardization Bodies
• IEEE
• IEFT – Internet Engineering Task Force
• 3GPP/3GPP2 – 3rd Gen Partnership Project
• ITU – International Telecommunication Union
Guided Transmission Media
• Magnetic media
• Twisted pairs
• Coaxial cable
• Power lines
• Fiber optics
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Magnetic Media
• Write data onto magnetic media
• Disks
• Tapes
• Data transmission speed
• Never underestimate the bandwidth of
a station wagon full of tapes hurtling
down the highway.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Twisted Pairs
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Twisted Pairs
Coaxial Cable
A coaxial cable
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Power Lines
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Fiber Optics
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
Recap of Network
lectures
Media (wired and wireless);
Topology (bus, star, mesh, ring, tree);
Protocol (HTTP, TCP/IP, MAC);
Addressing (IP, MAC);
Naming (domain, hostnames);
Layered Communication (TCP/IP model);
Networking devices (hubs, switches, routers);
Routing and Internetworking;
?? u s i o n s ?
onf
e e k
?
C
ti o s/
n
he w
Qu e s
of t l et
u o t e n o c k s ,
r
Q n fear the dok o
h
W answ e e r
fa i th be r t s
n R o
ob i
R