Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Unit - I
Basics of Networks
1
7/17/2017
Network
Principle
Network
Uses of network Applications of network
2
7/17/2017
Network Criteria
Performance
reliability and
security
Network Criteria
Performance
3
7/17/2017
Network Criteria
Reliability
Security
Configuration of Network
Three types of configuration
Line configuration
Point to Point configuration
Multipoint or Multidrop configuration
4
7/17/2017
Configuration of Network
Line configuration
Configuration of Network
Point to Point configuration
Eg: PC to Printer
Behrouz Forouzan 10
5
7/17/2017
Configuration of Network
Multipoint or Multidrop configuration
Multipoint or Multidrop
Behrouz Forouzan 11
Data flow
Transmission Mode
simplex
half-duplex
full-duplex
12
6
7/17/2017
Simplex
In simplex mode, the communication is unidirectional, as on a
one-way street. Only one of the two devices on a link can
transmit; the other can only receive.
The simplex mode can use the entire capacity of the channel
to send data in one direction.
Half Duplex
In half-duplex mode, each station can both transmit and
receive, but not at the same time.
When one device is sending, the other can only receive, and
vice versa.
The half-duplex mode is like a one-lane road with traffic
allowed in both directions.
When cars are traveling in one direction, cars going the other
way must wait.
Eg: Walkie - Talkie
7
7/17/2017
Full Duplex
In full-duplex mode(also called duplex), both stations can
transmit and receive simultaneously.
8
7/17/2017
Mesh Topology
In a mesh topology, every device has a dedicated point-to-
point link to every other device.
The term dedicated means that the link carries traffic only
between the two devices it connects.
17
Mesh Topology
Behrouz Forouzan 18
9
7/17/2017
Mesh Topology
Advantages Disadvantages
Mesh topology is robust It is expensive to install
19
Star Topology
In a star topology, each device has a dedicated point-to-point
link only to a central controller, usually called a hub.
20
10
7/17/2017
Star Topology
Behrouz Forouzan 21
Star Topology
Advantages Disadvantages
Less expensive and It is robust If the centralized point fails
entire network fails.
Less cabling is involved since dependency of the whole
addition and deletion moves topology on one single point,
involve only one connection the hub. If the hub goes down,
(between device and hub) the whole system is dead.
Centralized monitoring and
management are possible.
22
11
7/17/2017
Bus Topology
A bus topology, on the other hand, is multipoint. One long
cable acts as a backbone to link all the devices in a network.
Nodes are connected to the bus cable by drop lines and taps.
A drop line is a connection running between the device and
the main cable.
23
Bus Topology
Behrouz Forouzan 24
12
7/17/2017
Bus Topology
Advantages Disadvantages
Ease of installation and reliable Difficult reconfiguration and
fault isolation
Use of cable is economical A fault or break in the bus
cable stops all transmission
Bus is easy to extend Network can slow down in
heavy traffic
Media is inexpensive and easy Cable break can affect many
to work with. users.
25
Ring Topology
In a ring topology, each device has a dedicated point-to-point
connection with only the two devices on either side of it.
26
13
7/17/2017
Ring Topology
Behrouz Forouzan 27
Ring Topology
Advantages Disadvantages
Easy to install and reconfigure Unidirectional traffic
28
14
7/17/2017
Hybrid Topology
A network can be hybrid.
29
Hybrid Topology
Behrouz Forouzan 30
15
7/17/2017
Cost
Future growth
Cable type
31
Categories of Network
32
16
7/17/2017
33
Behrouz Forouzan 34
17
7/17/2017
35
Behrouz Forouzan 36
18
7/17/2017
Behrouz Forouzan 38
19
7/17/2017
SYLLABUS
Network Hierarchy
Principle
40
20
7/17/2017
Network Hierarchy
Behrouz Forouzan 41
SYLLABUS
21
7/17/2017
Network Switching
Network consists of a set of interconnected nodes among
which information are transmitted from source node to
destination node through different routes which is controlled
by switching mechanism.
Classification of Switching 43
Circuit Switching
Creates a direct physical connection between two devices
such as computers or phones.
Circuit establishment
Data transfer
Circuit disconnect
44
22
7/17/2017
Classification of switching
Classification of Switching
Behrouz Forouzan 45
Circuit switching
Switched network
Behrouz Forouzan 46
23
7/17/2017
Behrouz Forouzan 47
Behrouz Forouzan 48
24
7/17/2017
Behrouz Forouzan 49
25
7/17/2017
Multi-stage switches
Behrouz Forouzan 51
Packet switching
Data are transmitted is discrete units of potentially variable
length blocks called packets.
Two types
Datagram
Virtual circuit
Switched virtual circuit (SVC)
Permanent virtual circuit (PVC)
26
7/17/2017
Packet switching
Behrouz Forouzan 53
Packet switching
Datagram approach
Behrouz Forouzan 54
27
7/17/2017
Packet switching
Message switching
The message is sent to the nearest connected switching
node.
This node stores the message, checks for error, select best
route available and forwards the message to the next node
56
28
7/17/2017
Message switching
Message switching
Behrouz Forouzan 57
SYLLABUS
29
7/17/2017
60
30
7/17/2017
62
31
7/17/2017
63
32
7/17/2017
They deal with the physical aspects of moving data from one
device to another (such as electrical specifications,
physical connections, physical addressing, and transport
timing and reliability).
66
33
7/17/2017
34
7/17/2017
69
Physical Layer
Behrouz Forouzan 70
35
7/17/2017
36
7/17/2017
73
74
37
7/17/2017
Hop-to-hop delivery
Behrouz Forouzan 76
38
7/17/2017
78
39
7/17/2017
Network layer
Behrouz Forouzan 80
40
7/17/2017
Source-to-destination delivery
Behrouz Forouzan 81
41
7/17/2017
Transport layer
Behrouz Forouzan 84
42
7/17/2017
Transport layers
Behrouz Forouzan 85
43
7/17/2017
Flow control: Like the data link layer, the transport layer is
responsible for flow control. Flow control at this layer is
performed end to end rather than across a single link.
Error control: Like the data link layer, the transport layer is
responsible for error control.
87
88
44
7/17/2017
Session layer
Behrouz Forouzan 89
90
45
7/17/2017
91
92
46
7/17/2017
Presentation layer
Behrouz Forouzan 93
94
47
7/17/2017
95
96
48
7/17/2017
97
Application layer
Behrouz Forouzan 98
49
7/17/2017
100
50
7/17/2017
Applications
102
51
7/17/2017
SYLLABUS
52
7/17/2017
HDLC
High level data link control (HDLC) is a bit oriented protocol
designed to support both half duplex and full duplex
communication over point to point and multipoint links.
105
HDLC
Modes of communication in HDLC
Normal response mode (NRM),
Asynchronous response mode (ARM) and
Synchronous balance mode (ABM)
HDLC frames
Information frame (I-frame)
Supervisory frame (S-frame)
Unnumbered frame (U-frame)
106
53
7/17/2017
HDLC frames
HDLC frames
Behrouz Forouzan 107
SYLLABUS
54
7/17/2017
MAC Sublayer
Godbole & Kahate, 2011 110
55
7/17/2017
SYLLABUS
56
7/17/2017
Command/Response
Primary station sends commands
Secondary station sends responses
Combined station sends command and responses
113
Command/Response
57
7/17/2017
SYLLABUS
Token Bus
116
58
7/17/2017
Token Ring
Each station may transmit only during its turn and may send
only one frame during each turn.
117
Token Passing
Each station may transmit only during its turn and many send
only one frame during each frame and each turn.
118
59
7/17/2017
Token Ring
119
Token Ring
60
7/17/2017
Token Passing
121
Token Passing
122
61
7/17/2017
Token Passing
123
Token Passing
124
62
7/17/2017
Data/Command
Token
Abort
125
126
63
7/17/2017
Frame Control (FC) One byte long and contain two fields
such as
First field one bit field (used to indicate the type of
information contained in protocol data unit (PDU))
Second field contains information used by the token ring
logic (eg) how to use information in AC field.
64
7/17/2017
129
SYLLABUS
65
7/17/2017
What is CSMA/CD?
CSMA/CD
66
7/17/2017
CSMA/CD
During data transmission, the station checks the line for the
that indicates collision.
133
134
67
7/17/2017
CSMA/CD
CSMA/CD
68
7/17/2017
CSMA/CD
Advantages
137
CSMA/CD
Disadvantages
138
69
7/17/2017
CSMA/CD
Applications
139
SYLLABUS
70
7/17/2017
TCP/IP
TCP/IP was developed before the OSI model.
TCP/IP
Original TCP/IP protocol suite was defined as having four
layers: host-to-network, internet, transport, and application
142
71
7/17/2017
TCP/IP
143
TCP / IP model
72
7/17/2017
TCP / IP model
TCP / IP model
73
7/17/2017
TCP / IP model
Addresses in TCP/IP
Behrouz Forouzan 147
TCP / IP model
TCP/IP Model
Behrouz Forouzan 148
74
7/17/2017
IP datagram
Behrouz Forouzan 150
75
7/17/2017
IP datagram
Behrouz Forouzan 151
152
76
7/17/2017
154
77
7/17/2017
UDP
Behrouz Forouzan 155
Total length (16 bit) Defines the total length of the user
datagram in bytes.
156
78
7/17/2017
TCP
Behrouz Forouzan 158
79
7/17/2017
160
80
7/17/2017
161
Applications of TCP/IP
The TCP/IP protocol stack comes with lots of options that can
be applied within the RTOS environment.
81
7/17/2017
Dissimilarities
82