Data Communication & Computer Networks: Dr. Rehan Qureshi
Data Communication & Computer Networks: Dr. Rehan Qureshi
Computer Networks
1. Introduction
1
Things you need to know
Text Book:
Data Communications and Networking
Behrouz A. Forouzan
Reference Books:
Computer Networks - Andrew S. Tanenbaum
Data and Computer Communications -
William Stallings
Course Website:
TBA
RQ 3
RQ 4
2
What is ?
Communication
Information transfer, according to agreed conventions
using hand signals, language, Morse code, smoke signals
etc.
Telecommunication
Communication at a distance, includes telephony,
telegraphy, television etc.
Data Communication
Transfer of data from one or more sources to one or more
destinations.
Computer Network
A network of data processing nodes that are
interconnected for the purpose of data communication.
RQ 5
Components of data
communication system
The physical
path by which a
message travels
RQ 6
3
Effectiveness of Data
Communication System
RQ 7
Data representation
Text
ASCII
American Standard Code for Information Interchange
Extended ASCII
Unicode
Numbers
Images
Audio
Video
RQ 8
4
Direction of data flow
Simplex
Half-duplex
Full-duplex
RQ 9
What is a network?
5
Why make a network?
RQ 11
Network Criteria
A network must be able to meet a certain
number of criteria e.g.
Performance
often evaluated by throughput, delay etc.
Reliability
measured by the frequency of failure, the
time it takes to recover from a failure etc.
Security
RQ 12
6
Types of Connection
Multipoint
RQ 13
Point-to-point connection
RQ 14
7
Multipoint connection
RQ 15
Network Topology
It refers to the way in which a network is laid
out physically.
It is a geometric representation of the
relationship of all the links and linking
devices to one another.
RQ 16
8
Mesh topology
Every device has a
dedicated point-to-point
link to every other
device.
A fully connected mesh
network has n(n-1)/2
physical channels to
connect n devices with
each device having n-1
I/O ports.
RQ 17
Star topology
RQ 18
9
Bus topology
RQ 19
Ring topology
RQ 20
10
Hybrid topology
A network can have hybrid or a
combination of different topologies e.g.
RQ 21
Categories of networks
RQ 22
11
Local Area Network (LAN)
Smaller scope
Building or small campus
Usually owned by same organization
as attached devices
Data rates much higher
Usually broadcast systems
RQ 23
LAN
RQ 24
12
Metropolitan Area Network
(MAN)
Middle ground between LAN and WAN
May be owned by Private company or a service
provided by a public company
Large area
RQ 25
RQ 26
13
Interconnection of Networks:
Internetwork
RQ 27
The Internet
RQ 28
14
A classification of networks by
scale
RQ 29
Protocol
A protocol is a set of rules that govern data
communications.
It defines what is communicated, how it is
communicated, and when it is communicated.
1. Syntax: refers to the structure or format of the data,
meaning the order in which they are presented.
2. Semantics: refers to the meaning of each section
of bits.
3. Timing: refers to two characteristics: when data
should be sent and how fast they can be sent.
RQ 30
15
Standards
RQ 31
Standards Organizations
RQ 32
16
Internet Standards
Layered Tasks
The concept of
layered tasks
is common in
our daily life,
e.g. postal
mail.
RQ 34
17
Standardized Protocol
Architectures
Required for devices to communicate
Vendors have more marketable products
Customers can insist on standards based
equipment
Two standards:
OSI Reference model
TCP/IP protocol suite
Most widely used
Also: IBM Systems Network Architecture
(SNA)
RQ 35
18
OSI Model
All
People
Seems
To
Need
Data
Processing
RQ 37
19
Interaction between layers in
OSI model
RQ 39
Encapsulation and
Decapsulation in OSI model
RQ 40
20
OSI Layers
RQ 41
21
OSI
vs.
TCP/IP
RQ 43
RQ 44
22
Protocol Hierarchies
The entities
comprising the
corresponding
layers on
different
machines are
called peers.
RQ 45
Protocol Hierarchies
Layer 5
(Application)
RQ 46
23
Protocol Hierarchies
RQ 47
Protocol Hierarchies
PDU
Fragmentation
Assembly
RQ 48
24
Internet Layers
RQ 49
Physical Layer
It is responsible for transmitting
individual bits from one node to the
next.
It is mainly concerned with
Characteristics of transmission medium
Signal levels
Data rates
RQ 50
25
Data Link Layer
It is responsible for transmitting frames from
one node to the next.
Its major duties are
Framing
Physical Addressing
Flow Control
Error Control
Access
Control
RQ 51
RQ 52
26
Node to node delivery
RQ 53
Network Layer
Responsible for the delivery of packets from the
original source to the final destination.
Performs routing functions across multiple
networks
Implemented in end systems and routers
RQ 54
27
Source to destination delivery
RQ 55
RQ 56
28
Transport Layer
It is responsible for delivery of a message
from one process to another.
Its major functions are
Port Addressing
Connection Control
Flow Control
Error Control
RQ 57
RQ 58
29
Process to process delivery
RQ 59
Application Layer
RQ 60
30
Summary of Layers (TCP/IP)
RQ 61
Addresses
RQ 62
31
Addresses
RQ 63
RQ 64
32