Professional Documents
Culture Documents
( 07CS64 )
08.12.21 16:14 1
You never really learn much
from hearing yourself talk
George Clooney
08.12.21 16:14 2
Real listening is
a willingness to
let the other person
change you
Alan Alda
08.12.21 16:14 3
Let us
together
data
provides set of
services required
data Logical by applications
provides abstraction
for applications, hides
complexity of network
08.12.21 16:14 from application writers 8
Introduction to Computer Networks
Uses of Computer Networks
Business Applications
Home Applications
Mobile Users
Social Issues
08.12.21 16:14 9
Introduction to Computer Networks
Business Applications
A. Collect, extract, correlate information
about the entire enterprise
Share resources - hardware, software,
data, information (employee / customer /
supplier records, inventories, accounts..)
Server : Powerful computer, resource
storage / management
Client : Simple computer or user
(contextual) accessing data
end of tyranny of geography resource sharing
08.12.21 16:14 10
Introduction to Computer Networks
Design Groups
Network Domain
Mgmt Mail File Name
System Server Server Server
DMZ
Firewall
Backbone Switch
Database Ext Database
Server 1 Storage Server 2
Remote Access Server
NETWORK OPS CENTRE
(NOC)
Manufacturing Groups
Modem Modem
OFC
OFC EPABX
dial-up lines
Modem Modem
Planning
Library Store OFC Departments
OFC
PC PC
Hub
OFC WorkGroup Switch
Optical Fibre Cable
UTP Cable
• chat rooms
•08.12.21
resource
16:14
sharing : hardware, files, software12
Introduction to Computer Networks
Business Applications
Client - Server setup
08.12.21 16:14 13
Introduction to Computer Networks
Business Applications
B. Provide communication medium /
method (Ex. e-mail) between employees
C. Videoconferencing
E. Electronic commerce
08.12.21 16:14 14
Introduction to Computer Networks
Home Applications
A. Access to remote information
From www --- arts, business,…, journals,
audio, video, chat, newsgroups,……
B. Peer- to - peer communication
Example - - - e-mail, VoIP
no fixed clients
and servers
08.12.21 16:14 15
Introduction to Computer Networks
Home Applications
C.Entertainment
Video-on-demand, games, music, movies
D.Others
Shopping, financial management,
auctions, e-learning, telemedicine
08.12.21 16:14 16
COMPUTER NETWORKS
End of Class - 1
31.01.2011
08.12.21 16:14 17
Introduction to Computer Networks
Mobile Users
Laptops ; PDAs, PANs ; m-commerce
Personal Area Network
08.12.21 16:14 18
Introduction to Computer Networks
Wireless Networks and Mobile Computing
08.12.21 16:14 19
Introduction to Computer Networks
Social Issues
news groups , bulletin boards with
unacceptable / offensive content
(mis)use of e-mail at workplace
government vs. citizen
use of cookies
anonymous content distribution, spam,
piracy
08.12.21 16:14 20
Introduction to Computer Networks
Network Hardware
Taxonomy of Networks
By Transmission Technology
By Scale
( Taxonomy is the practice and science of classification )
Transmission Technologies
Broadcast links
Point-to-point links
08.12.21 16:14 21
Introduction to Computer Networks
Categorisation of Networks : by Technology
Broadcast Networks : Shared channel
Packets containing an address is
broadcast, ignored by all, but processed
by addressed (intended) recipient
Transmission to a subset of machines in
the total network is called multicasting
P-to-P Networks : between individual pairs
Multiple hops between a pair of machines
thro’ multiple routes; unicasting
08.12.21 16:14 22
Introduction to Computer Networks
Categorisation of Networks : by Scale
______
(Computer + Mouse +
Keyboard + Printer)
08.12.21 16:14 23
Introduction to Computer Networks
Network Hardware
08.12.21 16:14 24
Introduction to Computer Networks
Network Hardware
Local Area Networks resource sharing
information exchange
08.12.21 16:14 25
Introduction to Computer Networks
Network Hardware
Mesh LAN
08.12.21 16:14 26
Introduction to Computer Networks
Network Hardware
Star LAN
08.12.21 16:14 27
Introduction to Computer Networks
Network Hardware
08.12.21 16:14 28
Introduction to Computer Networks
Network Hardware
Metropolitan Area Networks
Cable TV-based MAN
Routing algorithm
08.12.21 16:14 30
Introduction to Computer Networks
Network Hardware
Wireless Networks : System Interconnection
08.12.21 16:14 32
Introduction to Computer Networks
Network Hardware
Bluetooth Vs Wireless LAN
Bluetooth WLAN
range < 30 feet upto 200 feet
lower speed higher speed
components cheaper costlier
lower power consumption higher
less mature more mature
mostly chip mfrs. Proxim,3COM,
Cisco
08.12.21 16:14 33
Introduction to Computer Networks
Network Hardware
Home Networks
Computers (desktop PC, PDA, shared peripherals)
Entertainment (TV, DVD, VCR, camera, stereo, MP3)
08.12.21 16:14 34
Introduction to Computer Networks
Network Hardware
Home Networks : features
• easy installation of network and devices
• fool proof operation
• low price
• sufficient capacity for multimedia support
• longer stability of technology for scalability
• reliability and security
08.12.21 16:14 35
Introduction to Computer Networks
Network Hardware
Latency
propagation time + transmission time +
queuing time + processing time
propagation time = distance ÷ propagation speed
transmission time = message size ÷ bandwidth
queuing time = time needed for each intermediate
or end device to hold / buffer the message before
it can be processed
08.12.21 16:14 36
Introduction to Computer Networks
Network Hardware
Jitter
another performance issue related to delay
is a problem if different packets encounter
different delays
especially relevant when the application
using the data at the receiver site is time-
sensitive ( ex. multimedia)
08.12.21 16:14 37
Introduction to Computer Networks
Network Hardware
Example TB 1.3
08.12.21 16:14 39
Introduction to Computer Networks
Network Hardware
Example TB 1.4
08.12.21 16:14 40
Introduction to Computer Networks
Example TB 1.5
In a network,
using copper & OFC media with speed of
propagation = (2/3) speed of light,
a Client and a Server are separated by
5000 Km ;
the traffic passes thro’ 50 Switches, each
with a switching time of 10 μsec ;
Is the switching time likely to significantly
impact
08.12.21 16:14
the response between the two? 41
Introduction to Computer Networks
Example TB 1.5
08.12.21 16:14 43
Introduction to Computer Networks
Example TB 1.6
08.12.21 16:14 44
COMPUTER NETWORKS
End of Class - 2
31.01.2011
08.12.21 16:14 45
Introduction to Computer Networks
Example
Suppose a 100 Mbps point-to-point link is
being set up between Earth and a new
Lunar colony. The distance from the Moon
to the Earth is approximately 3,85,000 Km
(a) Calculate the RTT for the link.
→→
08.12.21 16:14 46
Introduction to Computer Networks
Example
(b) A camera on the lunar base takes
pictures of the Earth and saves them in
digital format to disk.
Suppose Mission Control on the Earth
wishes to download the most current
picture comprising 12 colour frames each
of size 1024 x 768 pixels, with each pixel
represented by 24 bits.
08.12.21 16:14 47
Introduction to Computer Networks
Example
What is the amount of time that will elapse
between when the request for the data
goes out and the transfer is finished ?
08.12.21 16:14 48
Introduction to Computer Networks
Example
(a) RTT
= (2 x 385 x 106 m) ÷ (3 x 108 m / sec)
= 2.57 sec
08.12.21 16:14 50
Introduction to Computer Networks
Network Architecture
• data transportation
• routing of packets across multiple hops
• transfer of data frame from one physical
interface to another
08.12.21 16:14 52
Introduction to Computer Networks
Network Architecture
08.12.21 16:14 55
Introduction to Computer Networks
Network Architecture
OSI Architecture
APP
TCP /
UDP
NW
08.12.21 16:14 57
Introduction to Computer Networks
Network Software
Software related to networks of today are
highly structured
Structuring techniques :
• Protocol Hierarchies
• Design Issues for the Layers
• Connection-Oriented and
Connectionless Services
• Service Primitives
• Relationship of Services to Protocols
08.12.21 16:14 58
Introduction to Computer Networks
Network Software
Protocol Hierarchies
peers
layer n/n+1 interface (hardware / process)
defines operations
and services
layer n protocol
conversation
←virtual communication →
←← actual communication →→
08.12.21 16:14 61
Introduction to Computer Networks
Network Software
Protocol Hierarchies
Peers : are entities comprising the
corresponding layers on different hosts
Data transfer : each layer passes data and
control information to the layer immediately
below until lowest layer
Actual communication : takes place thro’
physical medium
Network Architecture : is a set of layers
and protocols
08.12.21 16:14 62
Introduction to Computer Networks
Network Software
Protocol Hierarchies
message protocol stack
08.12.21 16:14 63
Introduction to Computer Networks
Network Software
Protocol Hierarchies
message M is produced by an application
process running in layer 5
M is given to layer 4
layer 4 puts a header H4 in front of M
header includes control information (eg.
sequence numbers) to allow layer 4 on the
destination host to deliver the messages
in the right order
header
08.12.21 16:14
can also include sizes, times etc. 64
Introduction to Computer Networks
Network Software
Protocol Hierarchies
M + H4 is passed to layer 3
layer 3 may have to limit the size of
messages and may break up the incoming
messages to smaller units (M1 and M2)
layer 3 decides which outgoing lines to
use and passes packets to layer 2
layer 2 adds header and trailer, sends the
resulting unit to layer 1 for physical
transmission
08.12.21 16:14 65
Introduction to Computer Networks
Example TB 1.18
08.12.21 16:14 66
Introduction to Computer Networks
Example TB 1.18
08.12.21 16:14 67
Introduction to Computer Networks
Example TB 1.19
08.12.21 16:14 68
Introduction to Computer Networks
Example TB 1.19
End of Class - 3
01.02.2011
08.12.21 16:14 70
Introduction to Computer Networks
Example TB 1.20
08.12.21 16:14 73
Introduction to Computer Networks
Network Software
Design issues for Layers
(b) error control - negotiated methods
are required for both sides to agree on
which of the many methods are being used
receiver must also be able to inform the
sender about the messages being received
with or without errors
sequence numbering for identifying and
reassembling at the receiver
what to do with out of order packets ?
08.12.21 16:14 74
Introduction to Computer Networks
Network Software
Design issues for Layers
(c) flow control
how to ensure that a fast sender does not
overwhelm a slow receiver ?
receiver gives a feedback to sender based
on receiver’s current situation or ….
agree upon a transmission rate a priori
08.12.21 16:14 75
Introduction to Computer Networks
Network Software
Design issues for Layers
(d) disassembling, transmitting, reassembling
(fragmentation) (defragmentation)
to handle the situation of - the inability of
all processes to handle arbitrarily long
messages
08.12.21 16:14 76
Introduction to Computer Networks
Network Software
Design issues for Layers
(e) multiplexing / de-multiplexing
use of same connection for multiple
unrelated conversations to …
reduce setting up of inconvenient or
expensive connections
(f) routing
to make use of multiple path between
source
08.12.21 16:14
and destination 77
Introduction to Computer Networks
Network Software
Connection-Oriented / Connectionless Services
Connection-oriented : telephone model
connection : establishment, use, release
acknowledgement, negotiations regarding
maximum message size, encoding, QoS
Ack
08.12.21 16:14 79
Introduction to Computer Networks
Network Software
Service primitives :
a service is formally specified by a set of
primitives - set of operations (system calls)
available to a user process to access a
service
set of operations depends on the service
system calls cause a trap to kernel mode
which hands over control of the machine
to the OS to send the necessary packets
08.12.21 16:14 80
Introduction to Computer Networks
Network Software
Service primitives for implementing a
simple connection-oriented service
(server)
(client)
(server)
(request for data)
(client)
movement of packets
08.12.21 16:14 81
Introduction to Computer Networks
Network Software
Service primitives :
(a) server executes LISTEN, indicates it is
prepared to accept incoming connections
(b) client process executes CONNECT to
establish connection with server;
parameter giving address of server
required
(c) OS sends a packet to the peer asking it
to connect (1); client process is suspended
till there is response
08.12.21 16:14 82
Introduction to Computer Networks
Network Software
Service primitives :
(d) packet received at the server is
processed by the server’s OS, sends back
acknowledgement (2)
(e) arrival of ack releases client; client and
server are both running and have a
connection that has been established
(f) server executes RECEIVE to prepare to
accept the first request
(g) client executes SEND to transmit its
request (3) and RECEIVE to get reply
08.12.21 16:14 83
Introduction to Computer Networks
Network Software
Service primitives :
(h) server uses SEND to return the answer
to the client (4)
(i) client can send additional requests, if any
(j) when client has no more requests, it
can use DISCONNECT to terminate
connection(5)
(k) in response, server also issues
DISCONNECT (6)
08.12.21 16:14 84
Introduction to Computer Networks
Network Software
Services vs Protocols What vs How
08.12.21 16:14 85
Introduction to Computer Networks
Network Software
Services vs Protocols What vs How
End of Class - 4
02.02.2011
08.12.21 16:14 87