Beruflich Dokumente
Kultur Dokumente
EC 407
1
Downloaded From www.ktunotes.in
Syllabus
2
Downloaded From www.ktunotes.in
Syllabus
3
Downloaded From www.ktunotes.in
Syllabus
4
Downloaded From www.ktunotes.in
Syllabus
5
Downloaded From www.ktunotes.in
References
6
Downloaded From www.ktunotes.in
UNIT 1
7
Downloaded From www.ktunotes.in
Social Network
In social science, a social relation or social interaction refers to a
relationship between two , three or more individuals (e.g. a
social group).
9
Downloaded From www.ktunotes.in
Social Network
To protect user privacy, social networks usually have controls
that allow users to choose who can view their profile, contact
them, add them to their list of contacts, and so on.
10
Downloaded From www.ktunotes.in
Pictorial Representation of Social
Networks
Simple
Complex
11
Downloaded From www.ktunotes.in
Aim for Networking
12
Downloaded From www.ktunotes.in
Fundamental Concepts
Communication
Means Sharing of information.
Sharing may be
Local
Transmits information locally
Remote
Sending information to remote places.
Data
Information is called data.
Data communication
Sharing of information between two devices
13
Downloaded From www.ktunotes.in
FUNDAMENTAL CONCEPTS
Effectiveness of Data Communication Depends on
Delivery
Accuracy
Timeless
14
Downloaded From www.ktunotes.in
Data Communication Model
Protocol Protocol
Medium Receiver
Sender
Protocols
15
Downloaded From www.ktunotes.in
Transmission Modes
DEE
16
Downloaded From www.ktunotes.in
17
Downloaded From www.ktunotes.in
Parallel Transmission
18
Downloaded From www.ktunotes.in
Serial Transmission
19
Downloaded From www.ktunotes.in
Asynchronous Transmission
20
Downloaded From www.ktunotes.in
Asynchronous Transmission
21
Downloaded From www.ktunotes.in
Synchronous Transmission
22
Downloaded From www.ktunotes.in
Synchronous Transmission
Speed is high since there is no addition of start or stop bits and gaps
between bytes and removal of these at the receiving end
23
Downloaded From www.ktunotes.in
Isochronous Transmission
24
Downloaded From www.ktunotes.in
Other modes of transmission
Unidirectional Simplex
Bidirectional Half Duplex
Full Duplex
25
Downloaded From www.ktunotes.in
Mode of Transmission.
Unidirectional (Simplex)
Examples
26
Downloaded From www.ktunotes.in
Mode of Transmission
Simplex
Sender Receiver
Half Duplex
Sender Receiver
27
Downloaded From www.ktunotes.in
Mode of Transmission.
Half duplex
It can be implemented by two wire. One for Data and other is
ground
Examples
One line traffic in narrow bridges.
Walkie-talkies.
28
Downloaded From www.ktunotes.in
Mode of Transmission
Full Duplex
Sender Receiver
It can perform in two direction but not between same two
stations
Receiver Receiver/Sender Sender
Examples
Two way traffic.
Telephone Conversation.
30
Downloaded From www.ktunotes.in
Network Components
31
Downloaded From www.ktunotes.in
Network Components
1. Physical Media
2. Interconnecting Devices
3. Computers
4. Networking Software
Physical Media
34
Downloaded From www.ktunotes.in
Introduction to Computer Networks
Networking Devices
35
Downloaded From www.ktunotes.in
Switching
36
Downloaded From www.ktunotes.in
Connecting devices
Switch
HUB
37
Downloaded From www.ktunotes.in
Switch
Network consists of a set of inter connected nodes called
switches
38
Downloaded From www.ktunotes.in
Switch
Switches can be a valuable asset to
networking.
40
Downloaded From www.ktunotes.in
Network Switch
41
Downloaded From www.ktunotes.in
Switch
Some switches have additional features,
including the ability to route packets.
42
Downloaded From www.ktunotes.in
Switch
Cut-through switches only examine the
destination address before forwarding
it on to its destination segment.
43
Downloaded From www.ktunotes.in
Switch
44
Downloaded From www.ktunotes.in
Switches in a Network
45
Downloaded From www.ktunotes.in
Switches in Network
46
Downloaded From www.ktunotes.in
Switches in Network
47
Downloaded From www.ktunotes.in
Switching
48
Downloaded From www.ktunotes.in
Switching
49
Downloaded From www.ktunotes.in
Switching
Switching can be classified in to
50
Downloaded From www.ktunotes.in
Circuit Switching
51
Downloaded From www.ktunotes.in
Circuit Switching
It is a methodology of implementing a telecommunications
network in which two network nodes establish a dedicated
communications channel (circuit).
52
Downloaded From www.ktunotes.in
Circuit Switching
Circuit switching is also termed as connection
oriented networks
55
Downloaded From www.ktunotes.in
Circuit Switching
57
Downloaded From www.ktunotes.in
Circuit Switching
58
Downloaded From www.ktunotes.in
Circuit Switching
Set Up phase
Teardown phase
59
Downloaded From www.ktunotes.in
Circuit Switching
60
Downloaded From www.ktunotes.in
Circuit Switching
Efficiency is low
Total delay = Delay for connection establishment +
delay for data transfer + delay for teardown
61
Downloaded From www.ktunotes.in
Packet Switching
69
Downloaded From www.ktunotes.in
Packet Switching
70
Downloaded From www.ktunotes.in
Switch
71
Downloaded From www.ktunotes.in
Switching
72
Downloaded From www.ktunotes.in
Packet Switching
Network layer offer two services
Connectionless service
73
Downloaded From www.ktunotes.in
1. Data gram Network
Routes from source to destination are not worked out in
advance.
74
Downloaded From www.ktunotes.in
Data grams
A 4 3 2 1 Y
1
1
3 3 1
3
4
4
3 1
2 4
4
2
2 2 4 3 1
B 4 X
75
Downloaded From www.ktunotes.in
2. Virtual Circuit
76
Downloaded From www.ktunotes.in
i. Switched Virtual Circuit (SVC)
77
Downloaded From www.ktunotes.in
Switched Virtual Circuit (SVC)
A Y
B X
78
Downloaded From www.ktunotes.in
ii. Permanent Virtual Circuit (PVC)
79
Downloaded From www.ktunotes.in
Permanent Virtual Circuit
A Y
B X
80
Downloaded From www.ktunotes.in
Data gram Vs Virtual circuit Network
Parameter VC Datagram
Circuit Required Not required
setup
Addressing Each packet Each packet contains a
contains a short VC source , destination address
number
Repairs Easy to repair Harder to repair
81
Downloaded From www.ktunotes.in
Computer Networks
82
Downloaded From www.ktunotes.in
Computer network
In its simplest form, networking is defined as two computers
being linked together, either physically through a cable or
through a wireless device.
83
Downloaded From www.ktunotes.in
What is a Computer network
84 06/09/19
Router
Hub
Bridge Segment Node
Hub
Internet
85
Downloaded From www.ktunotes.in
Network Goals
D
86
Downloaded From www.ktunotes.in
Networks Fundamentals
Network Goals or aims
1.Resource sharing.
3.Data Sharing.
4.Network security
87
Downloaded From www.ktunotes.in
Network Criteria
88
Downloaded From www.ktunotes.in
Networks Fundamentals
Network Issues/Criteria
89
Downloaded From www.ktunotes.in
Network Issues/Criteria
Response Time
90
Downloaded From www.ktunotes.in
Network Issues/Criteria
II. Reliability
It depends on the following factors.
1. Frequency of failure.
2. Recovery time after failure.
III. Security
91
Downloaded From www.ktunotes.in
Network Issues/Criteria
Un authorized access
It has two levels
Lower level------Improper/Week password
Higher level------Encryption techniques
92
Downloaded From www.ktunotes.in
Network Functions
93
Downloaded From www.ktunotes.in
Network Functions
Addressing--- Identify sender and receiver
Congestion control
Security
Failure monitoring
Traffic Monitoring
Network Management
94
Downloaded From www.ktunotes.in
Network Connections
95
Downloaded From www.ktunotes.in
Types Of Connections
1. POINT-TO-POINT
Provides a direct link between two devices.
Eg. Each computer is connected directly to a
printer .
2. MULTI-POINT/MULTI DROP
Provides a link between three or more devices on a
network.
It will share the link/Channel capacity
96
Downloaded From www.ktunotes.in
Types Of Connections
Multi point
It is two types
Time sharing
Sharing the link turn by turn
Spatially shared
Sharing of link simultaneously
97
Downloaded From www.ktunotes.in
Types Of Connections
98
Downloaded From www.ktunotes.in
Physical Structure-
Network Topology
100
Downloaded From www.ktunotes.in
Topology
A network topology is the basic design of a computer
network.
102
Downloaded From www.ktunotes.in
Network Topology
Network topology can be classified in to
BUS
STAR
MESH
TREE
RING
HYBRID
104
Downloaded From www.ktunotes.in
Bus Topology
105
Downloaded From www.ktunotes.in
Bus Topology
Tap Tap
Tap
106
Downloaded From www.ktunotes.in
Bus Topology
The simplest and one of the most common of all
topologies
107
Downloaded From www.ktunotes.in
Bus Topology
Most Local Area Networks (LANs) are Bus Networks
because the network will continue to function even if one
computer is down.
Installation is easy
Less cabling is required
Reconnection and fault isolation is difficult
If backbone fails, it affect entire network
108
Downloaded From www.ktunotes.in
Star Topology
109
Downloaded From www.ktunotes.in
Star Topology
All devices are connected with a Star setup
communicate through a central Hub by cable
segments. Not directly connected as in
mesh
Each device needs only one link and one I/O
port to connect it to any number of others
Signals are transmitted and received through
the Hub.
It is the simplest and the oldest and all the
telephone switches are based on this.
In a star topology, each device has separate
connection to the network.
110
Downloaded From www.ktunotes.in
Star Topology
111 06/09/19
113
Downloaded From www.ktunotes.in
Mesh Topology
114 06/09/19
115 06/09/19
116 06/09/19
117
Downloaded From www.ktunotes.in
Ring Topology
All the nodes in a Ring Network are connected in a closed
circle of cable.
Each device is directly connected to two devices in either
side
Messages that are transmitted travel around the ring until they
reach the computer that they are addressed to, the signal
being refreshed by each node.
118
Downloaded From www.ktunotes.in
Ring Topology
Each device processes and retransmits the signal, so it is
capable of supporting many devices in a somewhat slow but
very orderly fashion.
Important feature is that everybody gets a chance to send a
packet and it is guaranteed that every node gets to send a
packet in a finite amount of time.
To add or delete a device, requires changing only two
connections
Fault isolation is simplified. If one device does not receive a
signal with in a specified period, it can issue an alarm. The
alarm alerts the network operator , the problem and
location
Unidirectional traffic can be disadvantage
A break in the ring disable the entire network
119
Downloaded From www.ktunotes.in
Ring Topology
120 06/09/19
121 06/09/19
122 06/09/19
123
Downloaded From www.ktunotes.in
Tree Topology
124 06/09/19
125 06/09/19
126
Downloaded From www.ktunotes.in
Hybrid Topology
127 06/09/19
128 06/09/19
129
Downloaded From www.ktunotes.in
Main Categories of networks
130
Downloaded From www.ktunotes.in
Main Categories of Network
131
Downloaded From www.ktunotes.in
Network Scaling
132
Downloaded From www.ktunotes.in
Network Scaling
Inter processor Processors are networks
distance located in
133
Downloaded From www.ktunotes.in
PAN
134
Downloaded From www.ktunotes.in
Personal Area Networks (PAN)
• A PAN is a network that is used for communicating
among computers and computer devices (including
telephones) in close proximity of around a few meters
within a room.
• It can be used for communicating between the devices
themselves, or for connecting to a larger network such
as the internet.
• PAN’s can be
• Wired
• Wireless
135 06/09/19
136 06/09/19
serial bus
USB (a serial bus standard for connecting devices to a
137 06/09/19
• Wireless PAN
138 06/09/19
• Wireless PAN
139 06/09/19
140
141 06/09/19
142
Downloaded From www.ktunotes.in
Local area networks (LAN)
Different types:
Peer-to-peer
Client-server
143
Downloaded From www.ktunotes.in
Local area networks (LAN)
144
Downloaded From www.ktunotes.in
Introduction to Computer Networks
In a client/server network
arrangement, network services are
located in a dedicated computer
whose only function is to respond to
the requests of clients.
145
Downloaded From www.ktunotes.in
MAN
146
Downloaded From www.ktunotes.in
Metropolitan area network
A metropolitan area network (MAN) is a computer network
in which two or more computers or communicating devices
or networks which are geographically separated but in same
metropolitan city.
147
Downloaded From www.ktunotes.in
MAN
148
Downloaded From www.ktunotes.in
Metropolitan area network
Network in a City is call MAN
150
Downloaded From www.ktunotes.in
MAN
151
Downloaded From www.ktunotes.in
WAN
152
Downloaded From www.ktunotes.in
Wide area network (WAN)
153
Downloaded From www.ktunotes.in
WAN
154
Downloaded From www.ktunotes.in
WAN
155
Downloaded From www.ktunotes.in
Types of WANs
Internet Public Data Network (PDN)
Backbone providers charge fees for-profit data
to Internet Service Providers (ISP) communications network
157
Downloaded From www.ktunotes.in
Layered Architecture
161
Downloaded From www.ktunotes.in
A simple example for communication
162
Downloaded From www.ktunotes.in
simple example for communication
164
Downloaded From www.ktunotes.in
simple example for communication
Sorting the letter at the post office (ROUTING)
I. Postman collects the letter from post office to the mail box
(Transmitting data bits)
II. Letter was taken from mail box to Home (Removing
header3& Trailer)
III. Open the cover& signature (Removes Header2)
IV. Take the letter from the cover (Removing Header1)
V. Reading letter ( Raw Data)
165
Downloaded From www.ktunotes.in
Network architecture
Network architecture is the overall design of a
network
169
Downloaded From www.ktunotes.in
Network Models
171
Downloaded From www.ktunotes.in
Need for Network Models
• Network communication is an extremely
complex task.
• Layer architecture simplifies the network design.
172
Downloaded From www.ktunotes.in
Need for Network Models
• A standard model helps to describe the task of a
networking product or service
173
Downloaded From www.ktunotes.in
Need for Layered Architecture
174
Downloaded From www.ktunotes.in
Who define Network Model?
• Need non-profit making organizations
175
Downloaded From www.ktunotes.in
OSI Model
176
Downloaded From www.ktunotes.in
OSI Reference Model
177
Downloaded From www.ktunotes.in
OSI Model
OSI Reference Model
The OSI model is now considered the primary Architectural
model for inter-computer communications.
178
Downloaded From www.ktunotes.in
OSI Model
To standardize the design of
communication system, the ISO created
the OSI model
ISO standard that covers all aspects of
network communications is the Open
Systems Interconnection (OSI) model.
179
Downloaded From www.ktunotes.in
OSI Model
180
Downloaded From www.ktunotes.in
Important
181
Downloaded From www.ktunotes.in
OSI Model
Application
Presentation
Session
Transport
Network
Data Link
Physical
182
Downloaded From www.ktunotes.in
The OSI 7-layer Model
All
People
Seem
To
Need
Data
Processing
183
Downloaded From www.ktunotes.in
Peer-to-Peer Process using
OSI
184
Downloaded From www.ktunotes.in
Relationship of OSI layers
Virtual
Communication
Physical
Communication
185
Downloaded From www.ktunotes.in
Data exchange using the OSI model
186
Downloaded From www.ktunotes.in
OSI Model
OSI Model
188 DEEPAK.P
190
Downloaded From www.ktunotes.in
Physical Layer
191
Downloaded From www.ktunotes.in
OSI Model – Physical
Layer
This layer is the lowest layer in the OSI model.
Hardware Specification:
The details of the physical cables, network
interface cards, wireless radios, etc are a part of
this layer.
192
Downloaded From www.ktunotes.in
OSI Model – Physical
Layer
Physical interface between device and
transmission medium
Representation of bits- Bits must be
encoded into electrical or optical signals
Data rate- Number of bits transmitted
per second
Synchronization of bits- Sender and
Receiver clocks must be synchronized
Line configuration- Connection of
devices to media
Physical topology
Transmission mode
193
Downloaded From www.ktunotes.in
Medium used for Physical Connections
195
Downloaded From www.ktunotes.in
Medium used for Physical Connections
196
Downloaded From www.ktunotes.in
Note
197
Downloaded From www.ktunotes.in
Functions of Data link
layer
198
Downloaded From www.ktunotes.in
• OSI
MeansModel – Data
of activating, Link and
maintaining
deactivating a reliable link
Layer
199
Downloaded From www.ktunotes.in
Functions of Data Link
Layer
Framing – converts stream of bits from NL into
frames
204
Downloaded From www.ktunotes.in
Functions of Network
layer
205
Downloaded From www.ktunotes.in
OSI Model – Network
•
Layerfor source to destination delivery of a packet
Responsible
• Routing
206
Downloaded From www.ktunotes.in
Network Layer
207
Downloaded From www.ktunotes.in
Source to Destination
delivery
4. Logical Addressing
210
Downloaded From www.ktunotes.in
Functions of Transport
layer
211
Downloaded From www.ktunotes.in
Transport Layer
214
Downloaded From www.ktunotes.in
Functions of Transport layer
1. Maintain process to process delivery
2. Service point addressing
3. Segmentation and re assembly –Message is divided into
transmittable segments with each segment containing a sequence
number
4. Connection control
Connection oriented Service
Establish connection
Use the connection
Release the connection
Connection less Service
Packet switching
Each message is routed independently
217
Downloaded From www.ktunotes.in
Functions of Session
layer
218
Downloaded From www.ktunotes.in
OSI Model – Session Layer
219
Downloaded From www.ktunotes.in
Functions of Session layer
221
Downloaded From www.ktunotes.in
Functions of
Presentation layer
222
Downloaded From www.ktunotes.in
OSI Model – Presentation
Layer
1. Translation – Data encoding scheme of
every system is different. Presentation
layer changes sender dependent
format to common format. PL at
receiver side changes common format
to receiver dependent format
2. Data compression – Important in
transmission of multimedia messages
like text, audio and video.
3. Encryption – Privacy
223
Downloaded From www.ktunotes.in
OSI Model – Presentation
Layer
224
Downloaded From www.ktunotes.in
Note
225
Downloaded From www.ktunotes.in
Functions of
Application layer
226
Downloaded From www.ktunotes.in
OSI Model – Application
Layer
Application
– Layer where the application using
the network resides.
– Common network applications include
Remote login
File transfer, Acecess and
management
e-mail
Directory services
Web page browsing etc.
– Means for applications to access OSI
environment
227
Downloaded From www.ktunotes.in
OSI Model – Application
Layer
228
Downloaded From www.ktunotes.in
Note
229
Downloaded From www.ktunotes.in
Summary of layers
230
Downloaded From www.ktunotes.in
• To identify the language (protocol) of each layer,
identifier (header and trailer) are added to data
231 DEEPAK.P
232
Downloaded From www.ktunotes.in
TCP/IP Protocol Suit
TCP/IP suite is the set of protocols that implement the
234
Downloaded From www.ktunotes.in
TCP/IP Model
Internetwork
Host to network
235
Downloaded From www.ktunotes.in
Variation of TCP/IP
Application
Presentation
Session
Transport
Network
Data Link
Physical
236
Downloaded From www.ktunotes.in
OSI vs TCP/IP
OSI TCP/IP
7 Layer 4/5 layer
Transport layer guarantees Transport layer does not
delivery of packets guarantees delivery of
packets
238
Downloaded From www.ktunotes.in
Network Layer Protocols
Internetworking protocol (IP) and four
supporting protocol
239
Downloaded From www.ktunotes.in
IP
IP is a transmission mechanism used by
TCP/IP protocols
240
Downloaded From www.ktunotes.in
Supporting Protocols
ARP (Address Resolution Protocols):- Used
to find physical address of the node when
its internet address is known
RARP (Reverse Address Resolution
Protocols):-Used to find internet address
when physical address is known
ICMP (Internet Control Message Protocol):-
Mechanism used by hosts and gateways to
send notification of datagram problems
back to the sender. Query and error
reporting messages
IGMP (Internet Group Message Protocol):-
Used to facilitate simultaneous transmission
of messages to a group of recipients
241
Downloaded From www.ktunotes.in
Transport Layer
UDP (User Datagram Protocol):- Process to
process protocol that adds only port address,
checksum error control and length information
to the data from upper layer. Enables
connectionless transfer of message.
TCP (Transmission Control Protocol):-Connection
oriented service. At the sending end, TCP
divides stream of data into smaller segments.
Each segments includes a sequence number for
reordering, together with acknowledgement
number for the segments received
SCTP (Stream Control Transmission Protocol):-
Provides support for newer applications such
voice over the internet. Combines the best
features of UDP and TCP
242
Downloaded From www.ktunotes.in
TCP/IP Frames
244
Downloaded From www.ktunotes.in
TCP/IP Services
Two kinds of services: TCP & UDP.
TCP—Transmission Control Protocol,
reliable connection oriented transfer
of a byte stream.
245
Downloaded From www.ktunotes.in