Professional Documents
Culture Documents
Unit: 1
Communication Networks
(KCS603)
CN Unit-1 1
01/01/2023
Evaluation Scheme
CN Unit-1 1
01/01/2023
Evaluation Scheme
01/01/2023 CN Unit-1 3
Syllabus by University
Course Contents / Syllabus
UNIT-I Introduction 8 Hr
Goals and applications of networks, Categories of networks, Organization of the
Internet, ISP, The OSI reference model, TCP/IP protocol suite, Network devices
and components, Mode of communications
Physical Layer: Network topology design, Types of connections, LAN, MAN and
MAN Transmission media, Signal transmission and encoding, Network
performance and transmission impairments, Switching techniques and
multiplexing, IEEE standards.
UNIT-II Data Link layer 8 Hr
Framing, Error Detection and Correction, Flow control (Elementary Data Link
Protocols, Sliding Window protocols). Medium Access Control and Local Area
Networks: Channel allocation, Multiple access protocols, LAN standards, Link
layer switches & bridges.
CN Unit-1 4
8/15/2022
Syllabus by University
Course Contents / Syllabus
UNIT-III Network Layer 8 Hr
Point-to-point networks, Logical addressing, Basic internetworking (IP, CIDR,
ARP, RARP, DHCP, ICMP), IPv4, Routing, forwarding and delivery, Static and
dynamic routing, Routing algorithms and protocols, Congestion control
algorithms, IPv6.
UNIT-IV Transport Layer 8 Hr
Process-to-process delivery,Transport layer protocols (UDP and
TCP),
Connection management, Flow control and retransmission, Window
management, TCP Congestion control, Quality of service.
UNIT-V Application Layer 8 Hr
Domain Name System, World Wide Web and Hyper Text Transfer Protocol,
Electronic mail, File Transfer Protocol, Remote login, Network management,
Data compression, VPN, Cryptography – basic concepts, Firewalls.
CN Unit-1 5
8/15/2022
References
• Text Books:
1. B. A. Forouzan, “Data Communications and Networking”,
5th Edition, TMH, 2017.
• Reference Books:
1.S. Tanenbaum, “Computer Networks”, 4th Edition, Pearson,
2013.
2.W. Stallings, “Data and Computer Communication”, 8th
Edition, Pearson, 2007.
8/15/2022 CN Unit-1 6
Branch Wise Applications
• Fiber optic cables find many uses in a wide variety of industries and applications.
Some uses of fiber optic cables include:
• Medical
Used as light guides, imaging tools and also as lasers for surgeries
• Defense/Government
Used as hydrophones for seismic waves and SONAR , as wiring in aircraft,
submarines and other vehicles and also for field networking
• Data Storage
Used for data transmission
• Telecommunications
Fiber is laid and used for transmitting and receiving purposes
• Networking
Used to connect users and servers in a variety of network settings and help increase
the speed and accuracy of data transmission
• Industrial/Commercial
Used for imaging in hard to reach areas, as wiring where EMI is an issue, as
sensory devices to make temperature, pressure and other measurements, and as
wiring in automobiles and in industrial settings
• Broadcast/CATV
Broadcast/cable companies are using fiber optic cables for wiring CATV,
HDTV, internet, video on-demand and other applications
8/15/2022 CN Unit-1 7
Course Objective
8/15/2022 CN Unit-1 8
Course Outcome
Outcomes
Cos
After Completion of the Course Student will be able to
Explain basic concepts, OSI reference model, services and role of each layer of
CO1 OSI model and TCP/IP, networks devices and transmission media, Analog and
digital data transmission.
CO2 Apply channel allocation, framing, error and flow control techniques and
describe the functions of Network Layer i.e. Logical addressing, subnetting &
Routing Mechanism.
CO3 Explain the different Transport Layer function i.e. Port addressing, Connection
Management, Error control and Flow control mechanism.
CO4 Explain the functions offered by session and presentation layer and their
Implementation.
CO5 Explain the different protocols used at application layer i.e. HTTP, SNMP, SMTP,
FTP,TELNET and VPN.
8/15/2022 CN Unit-1 9
Program Outcomes
1. Engineering knowledge
2. Problem analysis
3. Design/development of solutions
4. Conduct investigations of complex problems
5. Modern tool usage
6. The engineer and society
7. Environment and sustainability
8. Ethics
9. Individual and team work
10. Communication
11. Project management and finance
12. Life-long learning
8/15/2022 CN Unit-1 1
0
CO-PO Mapping
CO PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
CO1 3 2 2 2 2 2 3
CO2 3 3 2 3
CO3 3 3 3 3 2 2 2 3
CO4 3 2 2 2 3
CO5 3 3 2 2 3 2 3
8/15/2022 CN Unit-1 10
CO-PSO Mapping
Course Outcome
Program Specific
Outcomes CO1 CO2 CO3 CO4 C05
PSO1 2 2 2 2 2
PSO2 2 2 2 2
2
PSO3 2 2 2 3 2
AVERAGE 2 2 2 2.3 2
8/15/2022 CN Unit-1 12
Prerequisite and Recap
• Knowledge of Computer.
8/15/2022 CN Unit-1 13
Brief Introduction About Subject with videos
An introduction to Computer networks and covers fundamental topics
like data, information to the definition of communication and computer
networks.
8/15/2022 CN Unit-1 13
Content
• Vision & Mission of Institute & Department
• Course Objective & Course Outcome
• CO-PO & PSO Mapping
• Prerequisite and Recap
• Topic Objective & Mapping
• Introduction
• Networks
• LAN,WAN,MAN
• Goals and Application of Networks
• Network Protocols & Communication
• TCP & OSI Model & Line Coding Review
8/15/2022 CN Unit-1 15
Content(Continue….)
• Quizzes, MCQs & Weekly Assignment
• Video Links
• Summary
• Reference
8/15/2022 CN Unit-1 16
Topic Objective
8/15/2022 CN 16
Unit-1
Basics of Networks
8/15/2022 CN Unit-1 17
8/15/2022 17
Introduction to Computer Network
Definition
8/15/2022 CN Unit-1 18
Networks
8/15/2022 CN Unit-1 20
20
Networks
8/15/2022 CN Unit-1 21
21
Networks
8/15/2022 CN Unit-1 22
22
Networks
8/15/2022 CN Unit-1 23
23
Networks
8/15/2022 CN Unit-1 24
24
Components of Computer Networks
• When we communicate, we are sharing information. This sharing can be
local or remote. Between individuals, local communication usually occurs
face to face, while remote communication takes place over distance.
• Components:
A Computer Networks has five components :-
1. Message/ Data
2. Sender.
3. Receiver
4. Transmission medium.
5. Protocol.
8/15/2022 CN Unit-1 24
Components of a data communication system
8/15/2022 CN Unit-1 26
Data flow (simplex, half-duplex, and full-duplex)
8/15/2022 CN Unit-1 27
NETWORKS
8/15/2022 CN Unit-1 29
Goals & Application of Networks
Applications
• The main area of applications can be broadly classified into
following categories:
8/15/2022 CN Unit-1 30
Networks
Network Criteria
Criteria
8/15/2022 CN Unit-1 31
Networks
Performance
8/15/2022 CN Unit-1 32
Networks
No. of users
Hardware
Software
8/15/2022 CN Unit-1 33
Networks
▪ Reliability
• Accuracy of delivery.
8/15/2022 CN Unit-1 34
Networks
▪ Security
• Unauthorized access
• Viruses.
8/15/2022 CN Unit-1 35
Applications of Networks
• Marketing and sales
• Financial services
• Manufacturing
• Electronic Messaging
• Directory Services
• Information Services
• Teleconferencing
• Cellular Telephone
• Cable Television
8/15/2022 CN Unit-1 36
Network Protocols & Communication
• Message Encoding:
Message>Encoder>Transmitter>Medium>Receiver>Decoder>Message
destination.
Message is converted into bits and transferred according to the medium.
8/15/2022 CN Unit-1 37
Categories of networks
• TYPES OF NETWORK:
8/15/2022 CN Unit-1 38
Categories of Networks
8/15/2022 CN Unit-1 39
LAN
LAN(Local Area Network) are designed to
• operate with in a limited geographic area
• Allow Multiple Access to high bandwidth area
• Control the network privately under local administration
• Provide full time connectivity to local services
• Connect physically adjacent devices
8/15/2022 CN Unit-1 42
Type of Network
MAN
• A MAN (metropolitan area network) is a high-speed
network covering wider distances than LAN.
8/15/2022 CN Unit-1 44
Type of Network
WAN
• A WAN is the oldest type of network.
8/15/2022 CN Unit-1 44
WAN
Figure A heterogeneous
network made of four
WANs and two LANs
8/15/2022 CN Unit-1 46
WLAN
Industrial Scientific and Medical" (ISM) bands (902-928, 2400-2483.5, 5725-5850 MHz)
8/15/2022 CN Unit-1 47
LAN/MAN/WAN
8/15/2022 CN CN Unit-1 48
THE INTERNET
8/15/2022 CN CN Unit-1 49
Hierarchical organization of the Internet
8/15/2022 CN CN Unit-1 50
PROTOCOLS
8/15/2022 CN CN Unit-1 51
LAYERED TASKS
8/15/2022 CN CN Unit-1 52
Tasks involved in sending a letter
8/15/2022 CN CN Unit-1 53
THE OSI MODEL
8/15/2022 CN CN Unit-1 54
Note
8/15/2022 CN CN Unit-1 55
TCP & OSI Model
8/15/2022 CN CN Unit-1 56
THE OSI MODEL
8/15/2022 CN CN Unit-1 57
THE OSI MODEL
8/15/2022 CN CN Unit-1 58
THE OSI MODEL
8/15/2022 CN CN Unit-1 59
THE OSI MODEL
8/15/2022 CN CN Unit-1 60
THE OSI MODEL
T Rx
x
8/15/2022 CN CN Unit-1 66
8/15/2022 CN Unit-1 67
Figure Session layer
8/15/2022 CN Unit-1 69
8/15/2022 CN Unit-1 70
THE OSI MODEL
Figure Network layer
8/15/2022 CN Unit-1 73
8/15/2022 CN Unit-1 74
8/15/2022 CN Unit-1 75
THE OSI MODEL
8/15/2022 CN Unit-1 76
8/15/2022 CN Unit-1 77
THE OSI MODEL
8/15/2022 CN Unit-1 80
TCP/IP MODEL
1. NETWORK ACCESS LAYER: It looks out for hardware addressing
and the protocols present in this layer allows the physical
transmission of data.
8/15/2022 CN Unit-1 81
TCP/ IP
8/15/2022 CN Unit-1 82
TCP/ IP
8/15/2022 CN Unit-1 83
TCP/ IP
8/15/2022 CN Unit-1 84
TCP/ IP
8/15/2022 CN Unit-1 85
TCP/ IP
8/15/2022 CN Unit-1 86
OSI Peer Layer Communication
8/15/2022 87
CN Unit-1
OSI Peer Layer Communication
8/15/2022 88
CN Unit-1
TCP/IP Model VS. OSI MODEL
8/15/2022 CN Unit-1 89
TCP/IP Model VS. OSI MODEL
8/15/2022 CN Unit-1 90
TCP/IP Model VS. OSI MODEL
8/15/2022 CN Unit-1 91
TCP/IP Model VS. OSI MODEL
8/15/2022 CN Unit-1 92
Physical Layer
8/15/2022 CN Unit-1 93
Physical Structures
• Type of Connection
– Point to Point - single transmitter and receiver
– Multipoint - multiple recipients of single transmission
• Physical Topology
– Connection of devices
– Type of transmission - unicast, mulitcast, broadcast
8/15/2022 CN Unit-1 94
Types of connections: point-to-point and multipoint
8/15/2022 CN Unit-1 95
Network
Topology
8/15/2022 CN Unit-1 96
A fully connected mesh topology (five devices)
n=5
10 links
8/15/2022 CN Unit-1 97
Network Topology
Star
Topology
If N is no. of node then no. of connection= N
8/15/2022 CN Unit-1 97
A bus topology connecting three stations
Bus
Topology
8/15/2022 CN Unit-1 99
A ring topology connecting six stations
Ring
Topology
8/15/2022 CN Unit-1 10
0
Network Topology
Tree
Topology
Hybrid
Topology
Summary of Topology
If N no. of nodes
Types of Topology/No. of connection
Mesh N(N-1) / 2
Star N (excluding HUB), N-1 (Including HUB) Bus N +
Ring N
A) 2
B) 8
C) 16
D) 32
The types of transmission channel or media used for LAN or WAN are .
B) Coaxial Cables
Advantages of UTP:
• Affordable
• Most compatible cabling
• Major networking system
Disadvantages of UTP:
• Suffers from external Electromagnetic interference
• Pair of unshielded wires wound around each other
• Easiest to install
Table
Categories
of coaxial cables
8/15/2022 CN Unit-1 121
Guided Media: Co-axial Cable
Nature of light:
• Light travels in a straight line
• If light goes from one substance to another then the ray of light
changes direction.
• Ray of light changes direction when goes from more dense to a less
dense substance.
Wireless Channels
Objective: Study about basic concept of Encoding techniques and its types
Unipolar Encoding
Decoding is the reverse process of encoding which is to extract the information from
the converted format.
Data Encoding
Encoding is the process of using various patterns of voltage or current levels to
represent 1s and 0s of the digital signals on the transmission link.
NRZ - L NRZ–LEVEL
There is a change in the polarity of the signal, only when the incoming signal changes
from 1 to 0 or from 0 to 1. It is the same as NRZ, however, the first bit of the input
signal should have a change of polarity.
NRZ - I NRZ–INVERTED
If a 1 occurs at the incoming signal, then there occurs a transition at the beginning of
the bit interval. For a 0 at the incoming signal, there is no transition at the beginning
of the bit interval.
NRZ codes has a disadvantage that the synchronization of the transmitter clock with
the receiver clock gets completely disturbed, when there is a string of 1s and 0s.
Hence, a separate clock line needs to be provided.
Bi-phase Manchester
In this type of coding, the transition is done at the middle of the bit-interval. The
transition for the resultant pulse is from High to Low in the middle of the interval, for
the input bit 1. While the transition is from Low to High for the input bit 0.
Differential Manchester
In this type of coding, there always occurs a transition in the middle of the bit interval.
If there occurs a transition at the beginning of the bit interval, then the input bit is 0. If
no transition occurs at the beginning of the bit interval, then the input bit is 1.
Types of Bipolar
Encoding
Networking
and
Internetworking
Devices
NOTE- Also, refer CN Lab, Experiment No-2
Switches
A Repeater
Function of a Repeater
A Bridge
Function of a Bridge
Multiport Bridge
Routers in an Internet
A
Gateway
• Under the simplest conditions, a medium can carry only one signal at any moment in
time.
• For multiple signals to share one medium, the medium must somehow be divided,
giving each signal a portion of the total bandwidth.
CN Unit-1 188
8/15/2022
Multiplexing
Techniques
Objective: Study about basic concept of Multiplexing and its types
• Multiplexing is the set of techniques that allows the simultaneous transmission of multiple
signals across a single data link.
• In real life, we have links with limited bandwidths. Bandwidth utilization is the wise use of
available bandwidth to achieve specific goals.
CN Unit-1 189
8/15/2022
Multiplexing techniques
Advantages:-
• Two or more simultaneous transmissions on a single
circuit.
• Transparent to end user.
• Multiplexing costs less.
CN Unit-1 190
8/15/2022
Multiplexing techniques
In the figure, the word link refers to the physical path. The word
channel refers to the portion of a link that carries a transmission
between a given pair of lines. One link can have many (n) channels.
CN Unit-1 191
8/15/2022
Multiplexing techniques
CN Unit-1 192
8/15/2022
Multiplexing techniques
•In FDM, signals generated by each sending device modulate different carder
frequencies. These modulated signals are then combined into a single composite
signal that can be transported by the link.
•In addition, carrier frequencies must not interfere with the original data
frequencies.
CN Unit-1 193
8/15/2022
Multiplexing
CN Unit-1 194
8/15/2022
Multiplexing
CN Unit-1 195
8/15/2022
Multiplexing
Solution
For five channels, we need at least four guard bands. This means that
the required bandwidth is at least
5 × 100 + 4 × 10 = 540 kHz
Time-Division Multiplexing :
Time-division multiplexing (TDM) is a digital process that allows several
connections to share the high bandwidth of a link. Instead of sharing a
portion of the bandwidth as in FDM, time is shared. Each connection
occupies a portion of time in the link. Note that the same link is used as in
FDM; here, however, the link is shown sectioned by time rather than by
frequency. In the figure, portions of signals 1, 2, 3, and 4 occupy the link
sequentially. TDM is a digital multiplexing technique for combining several
low-rate channels into one high-rate one.
CN Unit-1 197
8/15/2022
Multiplexing techniques
CN Unit-1 198
8/15/2022
Multiplexing
We can divide TDM into two different schemes: synchronous and statistical.
In synchronous TDM, each input connection has an allotment in the output even if it
is not sending data.
Time Slots and Frames: In synchronous TDM, the data flow of each input
connection is divided into units, where each input occupies one input time slot. A
unit can be 1 bit, one character, or one block of data. Each input unit becomes one
output unit and occupies one output time slot. However, the duration of an output
time slot is n times shorter than the duration of an input time slot. If an input time
slot is T s, the output time slot is T/n s, where n is the number of connections. In
other words, a unit in the output connection has a shorter duration; it travels faster.
In synchronous TDM, the data rate of the link is n times faster, and the unit duration
is n times shorter.
CN Unit-1 199
8/15/2022
Multiplexing
Interleaving
TDM can be visualized as two fast-rotating switches, one on the multiplexing side
and the other on the demultiplexing side. The switches are synchronized and rotate at
the same speed, but in opposite directions. On the multiplexing side, as the switch
opens in front of a connection, that connection has the opportunity to send a unit
onto the path. This process is called interleaving.
CN Unit-1 200
8/15/2022
Multiplexing
CN Unit-1 203
8/15/2022
IEEE Standards
CN Unit-1 204
8/15/2022
IEEE Standards
CN Unit-1 205
8/15/2022
IEEE Standards
CN Unit-1 206
8/15/2022
IEEE Standards
CN Unit-1 207
8/15/2022
IEEE Standards
CN Unit-1 208
8/15/2022
IEEE Standards
CN Unit-1 209
8/15/2022
IEEE Standards
CN Unit-1 210
8/15/2022
IEEE Standards
CN Unit-1 211
8/15/2022
IEEE Standards
CN Unit-1 212
8/15/2022
IEEE Standards
CN Unit-1 213
8/15/2022
IEEE Standards
CN Unit-1 214
8/15/2022
IEEE Standards
CN Unit-1 215
8/15/2022
IEEE Standards
CN Unit-1 216
8/15/2022
IEEE Standards
CN Unit-1 217
8/15/2022
IEEE Standards
CN Unit-1 218
8/15/2022
IEEE Standards
CN Unit-1 219
8/15/2022
IEEE Standards
CN Unit-1 220
8/15/2022
IEEE Standards
CN Unit-1 221
8/15/2022
IEEE Standards
CN Unit-1 222
8/15/2022
IEEE Standards
CN Unit-1 223
8/15/2022
IEEE Standards
CN Unit-1 224
8/15/2022
Daily Quiz
Which of the following layers is an addition to OSI model when
compared with TCP IP model?
a) Application layer
b) Presentation layer
c) Session layer
d) Session and Presentation layer
A is the physical path over which a message travels.
a) Path
b) Medium
c) Protocol
d) Route
• We also learned about TCP & OSI Model and Line Coding Review
https://www.youtube.com/watch?v=9f0xnA6zCHU
https://www.youtube.com/watch?v=6SWBxiPeSqk&t=618s
https://www.youtube.com/watch?v=zzXs0EnCin0&t=2487s
https://www.youtube.com/watch?v=swtH_okidQc&list=PLUtfVcb-
iqn8dG1-Cn7NTEdILR3hRVgcN
• What are the criteria necessary for efficient and effective network?
8/15/2022 CN Unit-1 236
Old Question Papers
• What are the criteria necessary for efficient and effective network?
• What is Internet?
• Give difference between LAN & WAN.
• What are the conceptual pieces of Data Communication System?
• What are the criteria necessary for efficient network?
• Which is connection oriented TCP or UDP?
8/15/2022 CN Unit-1 239
Summary