Professional Documents
Culture Documents
Review of Network Technologies: Indian Institute of Technology Kharagpur
Review of Network Technologies: Indian Institute of Technology Kharagpur
Review of Network
Technologies
Prof. Indranil Sen Gupta
Dept. of Computer Science & Engg.
I.I.T. Kharagpur, INDIA
1
Networking: Basic Concepts
• Computer Network
¾A communication system for
connecting computers / hosts
• Why?
¾Better connectivity
¾Better communication
¾Better sharing of resources
¾Bring people together
2
LAN and WAN: a Comparison
• LAN • WAN
¾Typical speeds ¾Typical speeds
10 Mbps to 64 Kbps to
10 Gbps 8 Mbps
¾Typical cost ¾Typical cost
1 crore for a 30 lakhs
hundred node (recurring
LAN (one-time cost)
cost)
Circuit Switching
3
Circuit Switching (contd.)
• Drawbacks:
¾Channel capacity gets dedicated during
the entire duration of communication.
Acceptable for voice communication.
Very inefficient for bursty traffic.
¾There is an initial delay.
For connection establishment.
4
Packet Switching
5
Packet Switching (contd.)
Message
H H H
PACKETS
6
Packet Switching (contd.)
• Advantages:
¾Links can be shared; so link utilization
is better.
¾Suitable for computer-generated traffic.
Typically bursty in nature.
¾Buffering and data rate conversion can
be performed easily.
¾Some packets may be given priority
over others, if desired.
B D F
A
C E G H
7
Virtual Circuit Approach
• How it works?
¾Route is established a priori.
¾Packet forwarded from one node to the
next using store-and-forward scheme.
¾Only the virtual circuit number need to
be carried by a packet.
Each intermediate node maintains a
table.
Created during route establishment.
Used for packet forwarding.
¾No dynamic routing decision is taken by
the intermediate nodes.
8
Datagram Approach
• Basic concept:
¾No route is established beforehand.
¾Each packet is transmitted as an
independent entity.
¾Does not maintain any history.
• Analogy:
¾Postal system.
9
Datagram Approach (contd.)
• Advantages:
¾Faster than virtual circuit for smaller
number of packets.
No route establishment and termination.
¾More flexible.
¾Packets between two hosts may follow
different paths.
Can handle congestion/failed link.
Comparative Study
10
Circuit Switching
11
Datagram Packet Switching
• No initial delay.
• The packets are sent out independently.
¾May follow different paths.
¾Follow store-and-forward approach.
12
The 7-layer OSI Model
Application
Presentation
Host-to-host
Session
Transport
Network
Datalink Point-to-point
Physical
Layer Functions
• Physical
¾Transmit raw bit stream over a physical
medium.
• Data Link
¾Reliable transfer of frames over a point-to-
point link (flow control, error control).
• Network
¾Establishing, maintaining and terminating
connections.
¾Routes packets through point-to-point
links.
13
Layer Functions (contd.)
• Transport
¾End-to-end reliable data transfer, with
error recovery and flow control.
• Session
¾Manages sessions.
• Presentation
¾Provides data independence.
• Application
¾Interface point for user applications.
S A B D
14
Internetworking Devices
• Hub
¾Extends the span of a single LAN.
• Bridge / Layer-2 Switch
¾Connects two or more LANs together.
¾Works at data link layer level.
• Router / Layer-3 Switch
¾Connects any combination of LANs and
WANs.
¾Works at network layer level.
Departmental Departmental
Network Network
Backbone
Departmental Departmental
Network Network
15
Connecting a Computer to DN
Backbone
• Requires a
network interface
card (NIC).
• Connection Ethernet Switch
through
switch/hub.
• Typical scenario is Hub Hub
shown.
DN
VSAT Radio
link
Router Leased
line
Institute
Network
Modem Telephone
line
16
QUIZ QUESTIONS ON
LECTURE 2
17
Quiz Questions on Lecture 2
18
Quiz Questions on Lecture 2
19