Professional Documents
Culture Documents
0 Introduction
0 Introduction
Chapter 1 – Introduction
Course AIM & Objectives
AIM
Understand the fundamental concepts and basic principles
of computer networks
OBJECTIVES:
Develop a knowledge of the function of basic concepts of
computer network systems
Understanding basic design principles in network protocols and
Internet protocols
Gain an understanding of the principles of operation of a wide
variety of network technologies
Develop an appreciation of how network services are developed
and a knowledge of their uses
Learning Outcomes
Familiarity with network terminologies, reference model, applications of
network, design issues and computer network working.
Knowledge of Data link layer design issues, Framing, Error correction
and Detection techniques.
Meaning of flow control and its methods.
Problems associated with broadcast network and multiple access control
protocols.
Knowledge of LAN, PAN, MAN and WAN.
Design issues related to Network layer like routing, addressing and their
protocols.
Introductory knowledge of Transport layer protocols like TCP and UDP.
Idea about client server architecture and working of DNS, HTTP and E-
Mail.
Security issues in computer networks and Introduction to Cryptographic
algorithms.
Books
Text Book(s):
Andrew S. Tanenbaum, Computer Networks, 5th Edition, Pearson-
Prentice Hall, 2011.
Reference Book(s):
1. Behrouz A. Frouzan, Data Communications and Networking,
McGraw-Hill Education, 5th Edition, 2013.
2. William Stallings, Data and Computer Communications,
Pearson-Prentice Hall, 8 th Edition, 2007.
3. James F. Kurore & Keith W. Rose, Computer Networking,
Pearson Education, Third Edition, 2005.
4. Douglas Comer, Computer Networks and Internets with
Internet Applications, 4th Edition, Pearson, 2008.
5. William Stallings, Cryptography and Network Security:
Principles and Practice, Prentice Hall of India, 2008.
Grading
40% Internals Grading scale:
Two Best tests out of O : 90 - 100
Three A+ : 80 - 89
Quizzes A : 70 - 79
Assignments
B+ : 60 - 69
B : 50 - 59
60% End-Semester
C : 40 - 49
Final exam
P : 35 - 39
F : below 35
Grading
NO sharing of Assignments
Originality of answers
Discussion is encouraged
Your Best Strategy
Attend every lectures
Continuity is very important to understand the Course
Computer Network
9 20-03-2023
Introduction
Computer Network
10
Introduction to Computer Networks
Computer Network
1
2
Internet
Three important terms in computer networking is:
• Nodes
• Communication links
• switching Devices
Applications of Network???
Applications of Network
• Resource Sharing
• Hardware (computing resources, disks, printers)
• Software (application software)
• Information Sharing
• Easy accessibility from anywhere (files, databases)
• Search Capability (WWW)
• Communication
• Email
• Message broadcast
• Remote computing
• Distributed processing (GRID Computing)
Types of Network??
Types of Network
LAN
MAN
WAN
PAN
LAN, MAN & WAN
• Network in small geographical Area (Room, Building or a
Campus) is called LAN (Local Area Network)
30
30
Network Topology
• A network topology
describes the layout of the
wire and devices as well as
the paths used by data
transmissions.
Bus Topology
• Commonly referred to as a
linear bus, all the devices
on a bus topology are
connected by one single
cable.
Star & Tree Topology
• The star topology is the most
commonly used architecture in
Ethernet LANs.
• When installed, the star topology
resembles spokes in a bicycle wheel.
• Larger networks use the extended
star topology also called tree
topology.
• When used with network devices that
filter frames or packets, like bridges,
switches, and routers, this topology
significantly reduces the traffic on
the wires by sending packets only to
the wires of the destination host.
Ring Topology
• A frame travels around the ring,
stopping at each node. If a node wants to
transmit data, it adds the data as well as
the destination address to the frame.
• The frame then continues around the
ring until it finds the destination node,
which takes the data out of the frame.
• Single ring – All the devices on the
network share a single cable
• Dual ring – The dual ring topology
allows data to be sent in both
directions.
Mesh Topology
• The mesh topology connects all
devices (nodes) to each other for
redundancy and fault tolerance.
• It is used in WANs to
interconnect LANs and for
mission critical networks like
those used by banks and financial
institutions.
• Implementing the mesh topology
is expensive and difficult.
Network Components
• Physical Media
• Interconnecting Devices
• Computers / devices
• Networking Software
• Applications
Networking Media
• Networking media or
communication media can
be defined simply as the
means by which signals
(data) are sent from one
computer to another (either
by cable or wireless means).
Physical Media
Twisted Pair (TP)
Bit: propagates between two insulated copper wires
transmitter/receiver pairs Category 3: traditional phone
physical link: what lies wires, 10 Mbps Ethernet
between transmitter & receiver Category 5:
100Mbps Ethernet
guided media:
signals propagate in solid media:
copper, fiber, coax
unguided media:
signals propagate freely, e.g.,
radio waves, microwaves
1-39
Physical Media: coax, fiber
Coaxial cable: Fiber optic cable:
❑ glass fiber carrying light pulses,
two concentric copper each pulse a bit
conductors ❑ high-speed operation:
bidirectional ❖ high-speed point-to-point
baseband: transmission (e.g., 10’s-
single channel on cable 100’s Gps)
legacy Ethernet ❑ low error rate: repeaters spaced
far apart ; immune to
broadband: electromagnetic noise
multiple channels on cable
HFC
1-40
Physical media: radio
signal carried in Radio link types:
electromagnetic spectrum ❑ terrestrial microwave
❖ e.g. up to 45 Mbps channels
no physical “wire”
❑ LAN (e.g., Wifi)
bidirectional ❖ 11Mbps, 54 Mbps
propagation environment ❑ wide-area (e.g., cellular)
1-41
Networking Devices
• HUB, Switches, Routers,
Wireless Access Points,
Modems etc.
Computer Network Components
1-43
Computers / Devices
end systems , hosts, user, end
user, node :
run application programs
e.g. Web, email peer-peer
• client/server model
• client host requests, receives
service from always-on server
• e.g. Web browser/server; client/server
email client/server
• peer-peer model:
• minimal (or no) use of
dedicated servers
• e.g. Skype, online gaming
1-44
Computers: Clients and Servers
• 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.
• Broadcast
Internet
51 20-03-2023
Internet Applications??
52 20-03-2023
Internet Applications
• E-mail
• Web Surfing
• E-Commerce
• News Groups
• Internet Telephony (VoIP)
• Video Conferencing
• File Sharing
• Instant Messaging
• Internet Radio
• Remote Login
• Social Networks
• Television over Internet
Chapter 1: Introduction
1-54 Introduction
What’s a protocol?
• Set of rules to be followed
1-56 Introduction
What’s a protocol?
A human protocol and a computer network protocol:
TCP connection
Hi request
Hi
TCP connection
Got the response
time?
Get http://www.awl.com/kurose-
2:00 ross
time
<file>
1-57
Q: Other human protocols?
Other human protocols
- Traffic Protocol
- Curfew Protocol
- Covid-19 Protocols
How to Solve a Complex Problem?
How to Solve a Complex Problem?
Modular Approach
62
Network Software
Protocol Hierarchies
– a series of layers (levels)
– lower layer provides service to higher layers
– protocol:
• an agreement between the communication parties on how
communication is to proceed
– Peers:
• the corresponding layers on different machines.
– Network architecture: a set of layers and protocols
– Protocol stack:
• a list of protocols used by a certain system, one protocol per
layer
63
Network Software Protocol Hierarchies
Virtual
Communication
→ Peer
Physical
Communication
68
Design Issues for Layers
69
Design Issues for Layers
⚫ Flow control
– feedback from the receiver
– agreed upon transmission rate
⚫ Length of messages
– long messages: disassemble, transmit, and reassmeble
messages
– short messages: gather several small messages
⚫ Multiplexing and Demultiplexing
– when expensive to set up a separate connection
– needed in physical layer
⚫ Routing: split over two or more layers
– High level: London -> France or Germany -> Rome
– Low level: many available circuits 40
Services and Interfaces
Service is defined as a set of primitive operations.
Services are provided by layer to each of layers above
it.
Between each pair of adjacent layers is an interface.
The interface defines which primitive operations and
services the lower layer makes available to the upper
one.
Reference : https://www.geeksforgeeks.org/interfaces-
and-services/
Protocols, Services and Interfaces
• Protocols : Implementation of function
• Services: defines layer’s semantics
• Interfaces: tells the processes above it how to access it.
• When network designers decide how many layers to
include in a network and what each one should do, one
of the most important considerations is defining clean
interfaces between the layers.
• make it simpler to replace the implementation of one
layer with a completely different implementation (e.g.,
all the telephone lines are replaced by satellite channels)
Protocols, Services and
Interfaces
This concept is actually a familiar one and used
throughout computer science, where it is variously
known as information hiding, abstract data types,
data encapsulation, and object-oriented
programming.
The fundamental idea is that a particular piece of
software (or hardware) provides a service to its users
but keeps the details of its internal state and algorithms
hidden from them.
The relationship of Service
Connection-Oriented vs.
Connectionless
Service Primitives
A service is formally specified by a set of primitives (basic operations) available to a
user or other entity to access the service.