CN & IOT - Module 1 - Introduction
CN & IOT - Module 1 - Introduction
(18B11CS311)
Even Semester_2023
1
Textbook
Prerequisite:
book
Textbook
1. Computer Networking: A Top-Down Approach Featuring
the Internet, 7th Edition, James F. Kurose, Keith W. Ross
2. TCP/IP Protocol Suite – B. Forouzan
Reference Books
1. Computer Networks-Tannenbaum
2. Computer Networks-A Systems Approach- L Peterson
2
Grading Policy
Assignments:
Tutorial sheets
Assignments/Quiz
Mini Project
T1, T2 and T3
Attendance
3
Lectures & Assignments
Objective
Deep understanding of basic and fundamental networking
concepts, architectures, and philosophies
4
Course Objectives
COURSE OUTCOMES COGNITIVE LEVELS
5
No. of
Module Subtitle of the
Topics in the module Lectures for
No. Module
the module
Network terminologies, Network Models, Protocol layers
1. Introduction and their services, Connection Oriented and 04
Connectionless services, Physical Media.
7
8
9
10
11
12
13
14
15
16
17
18
Link and Line configuration
19
20
21
22
23
24
25
26
Components of the Network System
27
28
29
30
31
32
33
34
35
36
Physical Media
37
38
39
40
IETF
RFCs
ISP
41
What’s a protocol?
human protocols: network protocols:
“what’s the time?” machines rather than
“I have a question” humans
introductions all communication
activity in Internet
governed by protocols
… specific msgs sent
… specific actions protocols define (1) format,
taken when msgs order of msgs sent and
received, or other received among network
events entities, and (2) actions
taken on msg
transmission, receipt
42
43
Best downloading
path
** Long-Term
Evolution (LTE) Chapter 1, slide: 44
A closer look at network structure:
network edge:
hosts: clients and servers
servers often in data centers
network core:
routers
interconnected
network of networks
45
The network edge: service models
end systems (hosts):
run application programs
e.g. Web, email
at “edge of network”
client/server model
client host requests, receives
service from always-on server
e.g. Web browser/server; email
client/server
peer-to-peer(P2P) model:
minimal (or no) use of dedicated
servers
e.g. Skype, BitTorrent, KaZaA
46
The Network Core
mesh of interconnected
routers
the fundamental question:
how is data transferred
through net?
circuit switching:
dedicated circuit per
call: telephone net
packet-switching: data
sent thru net in discrete
“chunks”
47
50
51
52
53
54
Network Core: Circuit Switching
network resources dividing link bandwidth
(e.g., bandwidth) into “pieces”
divided into “pieces” frequency division
1-55
Circuit Switching: FDMA and TDMA
Example:
FDMA
4 users
frequency
time
TDMA
frequency
time
1-56
For a TDM link, time is divided into frames of fixed duration, and
each frame is divided into a fixed number of time slots. When the
network establishes a connection across a link, the network dedicates
one time slot in every frame to this connection. These slots are
dedicated for the sole use of that connection, with one time slot
available for use (in every frame) to transmit the connection’s data.
For TDM, the time domain is segmented into frames, with four time
slots in each frame; each circuit is assigned the same dedicated slot in
the revolving TDM frames. For TDM, the transmission rate of a
circuit is equal to the frame rate multiplied by the number of bits
in a slot. For example, if the link transmits 8,000 frames per second
and each slot consists of 8 bits, then the transmission rate of a circuit
is 64 kbps.
57
58
59
60
61
62
63
64
65
66
67
68
69
Delay & loss in packet switched
network
70
71
72
73
74
75
76
77
78
79
80
81
82
83
Ques:
Suppose two hosts, A and B, are separated by 20,000 kilometers and are
connected by a direct link of R = 2 Mbps. Suppose the propagation speed over
the link is 2.5 x 10^8 meters/sec.
84
a) 160000bits
b) 160000bits
c) The product of band-width delay is equal to the maximum number of bits
on the transmission line.
d) 125
e) Width:
85
earth (d) = 3.6*107 meters
86
87
88
89
90
91
Packet loss
queue (aka buffer) preceding link in buffer
has finite capacity
when packet arrives to full queue, packet is
dropped (aka lost)
lost packet may be retransmitted by
previous node, by source end system, or not
retransmitted at all
Any other possibility for loss ?
Introduction 1-92
93
94
95
96
97
Layered Architecture of Network
98
99
100
101
102
**International Standards Organization (ISO)
103
Each layer defines a family of functions distinct from those of other layers. The
architecture is both comprehensive and flexible. There is complete transparency
between incompatible systems.
104
105
Layers 1, 2, and 3-physical, data link, and network-are the
network support layers; 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).
Layers 5, 6, and 7-session, presentation, and application-
can be thought of as the user support layers; they allow
interoperability among unrelated software systems.
Layer 4, the transport layer, links the two subgroups and
ensures that what the lower layers have transmitted is in a
form that the upper layers can use.
106
107
108
109
110
Encapsulation
the data portion of a packet at level N - 1 carries the whole
packet (data and header and maybe trailer) from level N. The
concept is called encapsulation; level N - 1 is not aware of
which part of the encapsulated packet is data and which part is
the header or trailer. For level N - 1, the whole packet coming
from level N is treated as one integral unit.
111
112
Addressing
113
Physical Addresses
• The physical address, also known as the link address, is the
address of a node as defined by its LAN or WAN.
• The size and format of these addresses vary depending on the
network. For example, Ethernet uses a 6-byte (48-bit) physical
address.
• Physical addresses can be either unicast (one single recipient),
multicast (a group of recipients), or broadcast (to be received by all
systems in the network.
• Example: Most local area networks use a 48-bit (6-byte) physical
address written as 12 hexadecimal digits; every byte (2 hexadecimal
digits) is separated by a colon, as shown below: A 6-byte (12
hexadecimal digits) physical address 07:01:02:01:2C:4B
114
115
116
117
118
119
120
121
122
123
124
125