SlideShare a Scribd company logo
1 of 20
SNS COLLEGE OF ENGINEERING
Kurumbapalayam(Po), Coimbatore – 641 107
Accredited by NAAC-UGC with ‘A’ Grade
Approved by AICTE, Recognized by UGC & Affiliated to Anna University, Chennai
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Department of Information Technology
Course Name : CS8591 Computer Networks
III Year / V Sem
Unit 1: Introduction and Physical Layer
Topic 9: Switching II - Packet Switch
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Introduction
➢Connected via many routers
➢Data broken into packets
➢Packet - IP Address and Sequence information
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Introduction
➢Packet travel any path in the network to reach destination
➢Find the fast channel
➢They don't need to arrive in sequence
➢Reassemble at the destination
➢Internet - Packet Switching
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Packet Switching
⮚ Transferring the data to a network in
form of packets.
⮚ The data is broken into small pieces of
fixed or variable length, called Packet.
⮚ Size determined by the network or the
governing protocol.
⮚ Ex: if one of the network's routers fails,
packets can be automatically re-routed
to avoid that device.
Packet Switching
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Packet Switching and its Types
⮚ Principle, Store and Forward
⮚ There is no resource allocation for a packet
⮚ No reserve bandwidth
⮚ No scheduled processing time
⮚ Resource are allocated on demand, FCFS
⮚Other packet being processed, packet wait, delay
➢Types
○ Connectionless (datagram switching)
○ Connection-oriented (virtual circuit switching)
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Datagram Switching
➢Each packet, called a datagram
➢Separate entity
➢Each packet is routed independently through the network
➢Packey may arrive out of order
➢Packey may go missing
➢Datagram switching - network layer
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Datagram Switching
A datagram network with four switches (routers)
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Datagram Networks
⮚ It is a connectionless service
⮚ No call setup or teardown phases
⮚ No connection state information in routers
⮚ Packets forward using destination address
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Routing Table
Routing Table in Datagram
networks
⮚ Routing table dynamic and updated periodically.
⮚ Destination addresses and corresponding forwarding
output ports are recorded in the tables
⮚Destination Address, remain same
⮚Switch receive the packet, destination address examined
⮚Routing table, identify the corresponding output port
⮚Better efficiency, resource allocated only when packet is
transferred .
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Efficiency and Delay
⮚ Efficiency
○ Better than circuit switching
○ Resource allocated only when packet is transferred
○ Traffic, change the path
⮚Delay
○ High delay than in virtual circuit network
○ No setup and teardown phases
○ Delay is not uniform, packet not travel in same switch
SNSCE / IT/ Sem V / S Rijutha / AP / IT
⮚Virtual circuit switching is a hybrid technology combining features of both circuit switching
and packet switching
⮚Provide connection-oriented service
⮚Setup, Teardown and data transfer phase
⮚Resource allocated, setup phase, circuit switch network, follow same path
⮚Resource allocated on demand, datagram network
⮚Virtual circuit network, data link layer
Virtual Circuit Networks
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Virtual Circuit Networks
⮚ Network has switches that allow data from source to destination
Virtual CircuitNetwork
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Virtual Circuit Networks
⮚Two Addressing
○ Global
○ Local (VCI)
➢ Global Addressing
○ Network address
○ Used as a common address by all the users of the network
○ A source or a destination needs to have a global address
➢ Local Addressing
○ Virtual circuit Identifier - VCI
○ Used for data transfer
○ A address used by frame between two nodes
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Virtual Circuit Identifier
⮚ Used for data transfer
⮚ Frame arrive switch, it has VCI
⮚Frame leaves, it has different VCI
⮚Delay, for setup and teardown respectively are 1
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Switch and Table
⮚ Frame arrive at port 1, VCI of 14
⮚Frame leaves from port3, VCI to 22
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Source to Destination Data
Transfer
⮚Frame from source A reaches destination B.]
⮚VCI change during the trip.
⮚Each switch changes the VCI and route the frame
⮚ Data transfer phrase is active until source sends all its frame
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Setup Request and Acknowledgement
⮚Setup request in a virtual circuit network
⮚Setup request frame is sent from the source to the
destination
⮚ Special frame called the acknowledgment frame
⮚ Completes the entries in the switching tables
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Virtual Circuit vs Datagram
SNSCE / IT/ Sem V / S Rijutha / AP / IT
Puzzle
1. Most packet switches use this principle ____________?
a) Stop and wait b) Store and forward c) Store and wait d) Stop and
forward
2. In _________ systems, resources are allocated on demand.
a) packet switching b) circuit switching c) line switching d) frequency
switching
3. A switch in the datagram network uses __________
a) Destination address b) Sender address c) Routing table d) Header
THANK YOU !
SNSCE / IT/ Sem V / S Rijutha / AP / IT
SNSCE / IT/ Sem V / S Rijutha / AP / IT

More Related Content

What's hot

Networking devices
Networking devicesNetworking devices
Networking devices
rupinderj
 
Dynamic routing under_sec
Dynamic routing under_secDynamic routing under_sec
Dynamic routing under_sec
subhash85
 

What's hot (20)

Cn lec-08
Cn lec-08Cn lec-08
Cn lec-08
 
Network devices
Network devicesNetwork devices
Network devices
 
Circuit switch network
Circuit switch networkCircuit switch network
Circuit switch network
 
Networking devices
Networking devicesNetworking devices
Networking devices
 
Network Management Devices
Network Management DevicesNetwork Management Devices
Network Management Devices
 
Switching Concepts presentation
Switching Concepts presentationSwitching Concepts presentation
Switching Concepts presentation
 
Bridging in Networking
Bridging in NetworkingBridging in Networking
Bridging in Networking
 
Dynamic routing under_sec
Dynamic routing under_secDynamic routing under_sec
Dynamic routing under_sec
 
Network switching
Network switchingNetwork switching
Network switching
 
Network switch
Network switchNetwork switch
Network switch
 
switching techniques
switching techniques switching techniques
switching techniques
 
Manet
ManetManet
Manet
 
Manet
ManetManet
Manet
 
Switching Techniques Lecture12,wireless
Switching Techniques Lecture12,wirelessSwitching Techniques Lecture12,wireless
Switching Techniques Lecture12,wireless
 
Switch
SwitchSwitch
Switch
 
C C N A Day4
C C N A  Day4C C N A  Day4
C C N A Day4
 
Day 8 1 introducing routing n
Day 8 1 introducing routing nDay 8 1 introducing routing n
Day 8 1 introducing routing n
 
Ieee 488 by imran
Ieee 488 by imranIeee 488 by imran
Ieee 488 by imran
 
IEEE-488 by Foysal
IEEE-488 by FoysalIEEE-488 by Foysal
IEEE-488 by Foysal
 
Frame Relay
Frame RelayFrame Relay
Frame Relay
 

Similar to CN_Lec 9_Packet_Switching

CS8591 Computer Networks - Unit III
CS8591 Computer Networks - Unit IIICS8591 Computer Networks - Unit III
CS8591 Computer Networks - Unit III
pkaviya
 
Circuit and packet_switching
Circuit and packet_switchingCircuit and packet_switching
Circuit and packet_switching
hoanv
 
Ensuring the Adaptive Path for the Routing in 5g Wireless Network
Ensuring the Adaptive Path for the Routing in 5g Wireless NetworkEnsuring the Adaptive Path for the Routing in 5g Wireless Network
Ensuring the Adaptive Path for the Routing in 5g Wireless Network
IJSRED
 

Similar to CN_Lec 9_Packet_Switching (20)

CS8591 Computer Networks - Unit III
CS8591 Computer Networks - Unit IIICS8591 Computer Networks - Unit III
CS8591 Computer Networks - Unit III
 
Computer networks-WAN
Computer networks-WANComputer networks-WAN
Computer networks-WAN
 
CN_Lec 5_OSI
CN_Lec 5_OSICN_Lec 5_OSI
CN_Lec 5_OSI
 
Switching
SwitchingSwitching
Switching
 
Switching
Switching Switching
Switching
 
ccna-day4-switching_1234567890123456.pdf
ccna-day4-switching_1234567890123456.pdfccna-day4-switching_1234567890123456.pdf
ccna-day4-switching_1234567890123456.pdf
 
Unit 3 CND physical layer_switching_pranoti doke
Unit 3  CND physical layer_switching_pranoti dokeUnit 3  CND physical layer_switching_pranoti doke
Unit 3 CND physical layer_switching_pranoti doke
 
Unit 3 cnd physical layer_switching_pranoti doke
Unit 3  cnd physical layer_switching_pranoti dokeUnit 3  cnd physical layer_switching_pranoti doke
Unit 3 cnd physical layer_switching_pranoti doke
 
Data link layer
Data link layerData link layer
Data link layer
 
22 circuits
22 circuits22 circuits
22 circuits
 
Packet Switching
Packet SwitchingPacket Switching
Packet Switching
 
Switching - data communication
Switching - data communicationSwitching - data communication
Switching - data communication
 
Industrial training (switching)
Industrial training (switching)Industrial training (switching)
Industrial training (switching)
 
Switching concepts Data communication and networks
Switching concepts Data communication and networksSwitching concepts Data communication and networks
Switching concepts Data communication and networks
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 
Circuit and packet_switching
Circuit and packet_switchingCircuit and packet_switching
Circuit and packet_switching
 
Unit -1 Circuit Switch and Data gram Switch
Unit -1 Circuit Switch and Data gram SwitchUnit -1 Circuit Switch and Data gram Switch
Unit -1 Circuit Switch and Data gram Switch
 
networking
networkingnetworking
networking
 
Topic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingTopic: Virtual circuit & message switching
Topic: Virtual circuit & message switching
 
Ensuring the Adaptive Path for the Routing in 5g Wireless Network
Ensuring the Adaptive Path for the Routing in 5g Wireless NetworkEnsuring the Adaptive Path for the Routing in 5g Wireless Network
Ensuring the Adaptive Path for the Routing in 5g Wireless Network
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 

CN_Lec 9_Packet_Switching

  • 1. SNS COLLEGE OF ENGINEERING Kurumbapalayam(Po), Coimbatore – 641 107 Accredited by NAAC-UGC with ‘A’ Grade Approved by AICTE, Recognized by UGC & Affiliated to Anna University, Chennai SNSCE / IT/ Sem V / S Rijutha / AP / IT Department of Information Technology Course Name : CS8591 Computer Networks III Year / V Sem Unit 1: Introduction and Physical Layer Topic 9: Switching II - Packet Switch
  • 2. SNSCE / IT/ Sem V / S Rijutha / AP / IT Introduction ➢Connected via many routers ➢Data broken into packets ➢Packet - IP Address and Sequence information
  • 3. SNSCE / IT/ Sem V / S Rijutha / AP / IT Introduction ➢Packet travel any path in the network to reach destination ➢Find the fast channel ➢They don't need to arrive in sequence ➢Reassemble at the destination ➢Internet - Packet Switching
  • 4. SNSCE / IT/ Sem V / S Rijutha / AP / IT Packet Switching ⮚ Transferring the data to a network in form of packets. ⮚ The data is broken into small pieces of fixed or variable length, called Packet. ⮚ Size determined by the network or the governing protocol. ⮚ Ex: if one of the network's routers fails, packets can be automatically re-routed to avoid that device. Packet Switching
  • 5. SNSCE / IT/ Sem V / S Rijutha / AP / IT Packet Switching and its Types ⮚ Principle, Store and Forward ⮚ There is no resource allocation for a packet ⮚ No reserve bandwidth ⮚ No scheduled processing time ⮚ Resource are allocated on demand, FCFS ⮚Other packet being processed, packet wait, delay ➢Types ○ Connectionless (datagram switching) ○ Connection-oriented (virtual circuit switching)
  • 6. SNSCE / IT/ Sem V / S Rijutha / AP / IT Datagram Switching ➢Each packet, called a datagram ➢Separate entity ➢Each packet is routed independently through the network ➢Packey may arrive out of order ➢Packey may go missing ➢Datagram switching - network layer
  • 7. SNSCE / IT/ Sem V / S Rijutha / AP / IT Datagram Switching A datagram network with four switches (routers)
  • 8. SNSCE / IT/ Sem V / S Rijutha / AP / IT Datagram Networks ⮚ It is a connectionless service ⮚ No call setup or teardown phases ⮚ No connection state information in routers ⮚ Packets forward using destination address
  • 9. SNSCE / IT/ Sem V / S Rijutha / AP / IT Routing Table Routing Table in Datagram networks ⮚ Routing table dynamic and updated periodically. ⮚ Destination addresses and corresponding forwarding output ports are recorded in the tables ⮚Destination Address, remain same ⮚Switch receive the packet, destination address examined ⮚Routing table, identify the corresponding output port ⮚Better efficiency, resource allocated only when packet is transferred .
  • 10. SNSCE / IT/ Sem V / S Rijutha / AP / IT Efficiency and Delay ⮚ Efficiency ○ Better than circuit switching ○ Resource allocated only when packet is transferred ○ Traffic, change the path ⮚Delay ○ High delay than in virtual circuit network ○ No setup and teardown phases ○ Delay is not uniform, packet not travel in same switch
  • 11. SNSCE / IT/ Sem V / S Rijutha / AP / IT ⮚Virtual circuit switching is a hybrid technology combining features of both circuit switching and packet switching ⮚Provide connection-oriented service ⮚Setup, Teardown and data transfer phase ⮚Resource allocated, setup phase, circuit switch network, follow same path ⮚Resource allocated on demand, datagram network ⮚Virtual circuit network, data link layer Virtual Circuit Networks
  • 12. SNSCE / IT/ Sem V / S Rijutha / AP / IT Virtual Circuit Networks ⮚ Network has switches that allow data from source to destination Virtual CircuitNetwork
  • 13. SNSCE / IT/ Sem V / S Rijutha / AP / IT Virtual Circuit Networks ⮚Two Addressing ○ Global ○ Local (VCI) ➢ Global Addressing ○ Network address ○ Used as a common address by all the users of the network ○ A source or a destination needs to have a global address ➢ Local Addressing ○ Virtual circuit Identifier - VCI ○ Used for data transfer ○ A address used by frame between two nodes
  • 14. SNSCE / IT/ Sem V / S Rijutha / AP / IT Virtual Circuit Identifier ⮚ Used for data transfer ⮚ Frame arrive switch, it has VCI ⮚Frame leaves, it has different VCI ⮚Delay, for setup and teardown respectively are 1
  • 15. SNSCE / IT/ Sem V / S Rijutha / AP / IT Switch and Table ⮚ Frame arrive at port 1, VCI of 14 ⮚Frame leaves from port3, VCI to 22
  • 16. SNSCE / IT/ Sem V / S Rijutha / AP / IT Source to Destination Data Transfer ⮚Frame from source A reaches destination B.] ⮚VCI change during the trip. ⮚Each switch changes the VCI and route the frame ⮚ Data transfer phrase is active until source sends all its frame
  • 17. SNSCE / IT/ Sem V / S Rijutha / AP / IT Setup Request and Acknowledgement ⮚Setup request in a virtual circuit network ⮚Setup request frame is sent from the source to the destination ⮚ Special frame called the acknowledgment frame ⮚ Completes the entries in the switching tables
  • 18. SNSCE / IT/ Sem V / S Rijutha / AP / IT Virtual Circuit vs Datagram
  • 19. SNSCE / IT/ Sem V / S Rijutha / AP / IT Puzzle 1. Most packet switches use this principle ____________? a) Stop and wait b) Store and forward c) Store and wait d) Stop and forward 2. In _________ systems, resources are allocated on demand. a) packet switching b) circuit switching c) line switching d) frequency switching 3. A switch in the datagram network uses __________ a) Destination address b) Sender address c) Routing table d) Header
  • 20. THANK YOU ! SNSCE / IT/ Sem V / S Rijutha / AP / IT SNSCE / IT/ Sem V / S Rijutha / AP / IT