SlideShare a Scribd company logo
1 of 12
Section 2
Packet Switching Definition.
Packet Switching approaches:
-Datagram Approach.
-Virtual-Circuit Approach.
Virtual-Circuit Approach phases:
-Setup.
-Data transfer.
-Teardown.
Routing and Forwarding kind of switching.
A switch creates a connection between an
input port and an output port.
packet switching is used at the network layer
not Circuit switching.
The network-layer protocol treats each
packet independently, each packet having no
relationship to any other packet.
Each packet is routed based on the
information contained in its header(source
and destination addresses).
Routing the packet based only on the
destination address.
The source address may be used to send an
error message to the source if the packet is
discarded.
there is a relationship between all packets
belonging to a message.
Before all datagrams in a message can be sent, a
virtual connection should be set up to define the
path for the datagrams.
only must the packet contain the source and
destination addresses, it must also contain a
flow label that defines the virtual path the
packet should follow.
that the packet carries this label. Although it
looks as though the use of the label may make
the source and destination addresses
unnecessary during the data transfer phase.
Each packet is forwarded based on the label in
the packet.
A router creates an entry for a virtual circuit.
Two packets need to be exchanged between
the sender and the receiver:
-The request packet.
-The acknowledgment packet.
A request packet is sent from the source to
the destination. This auxiliary packet carries
the source and destination addresses.
Acknowledgment Packet A special packet,
completes the entries in the switching
tables.
After all routers have created their
forwarding table for a specific virtual circuit,
then the network-layer packets belonging to
one message can be sent one after another.
All the packets in the message follow the
same sequence of labels, and the packets
arrive in order at the destination.
source A, after sending all packets to B,
sends a special packet called a teardown
packet.
Destination B responds with a confirmation
packet.
All routers delete the corresponding entries
from their tables.

More Related Content

What's hot

QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer NetworksIIIT Manipur
Β 
Routing protocols
Routing protocolsRouting protocols
Routing protocolsSourabh Goyal
Β 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol conceptsRaji Lakshmi
Β 
Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link LayerAbdullaziz Tagawy
Β 
Mobile transport layer - traditional TCP
Mobile transport layer - traditional TCPMobile transport layer - traditional TCP
Mobile transport layer - traditional TCPVishal Tandel
Β 
Framming data link layer
Framming data link layerFramming data link layer
Framming data link layerPREMAL GAJJAR
Β 
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44Jisc
Β 
The medium access sublayer
 The medium  access sublayer The medium  access sublayer
The medium access sublayerLal Bahadur Gehlot
Β 
BASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKSBASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKSKABILESH RAMAR
Β 
Packet switching
Packet switchingPacket switching
Packet switchingasimnawaz54
Β 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithmBushra M
Β 
Data link layer
Data link layer Data link layer
Data link layer Mukesh Chinta
Β 
Computer networks unit iii
Computer networks    unit iiiComputer networks    unit iii
Computer networks unit iiiJAIGANESH SEKAR
Β 
Nxll26 bgp ii
Nxll26 bgp iiNxll26 bgp ii
Nxll26 bgp iiNetwax Lab
Β 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routingphanleson
Β 
IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11Keshav Maheshwari
Β 

What's hot (20)

Tcp
TcpTcp
Tcp
Β 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer Networks
Β 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
Β 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol concepts
Β 
Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link Layer
Β 
Mobile transport layer - traditional TCP
Mobile transport layer - traditional TCPMobile transport layer - traditional TCP
Mobile transport layer - traditional TCP
Β 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
Β 
Framming data link layer
Framming data link layerFramming data link layer
Framming data link layer
Β 
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44
Β 
The medium access sublayer
 The medium  access sublayer The medium  access sublayer
The medium access sublayer
Β 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
Β 
BASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKSBASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKS
Β 
Packet switching
Packet switchingPacket switching
Packet switching
Β 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
Β 
WLAN
WLANWLAN
WLAN
Β 
Data link layer
Data link layer Data link layer
Data link layer
Β 
Computer networks unit iii
Computer networks    unit iiiComputer networks    unit iii
Computer networks unit iii
Β 
Nxll26 bgp ii
Nxll26 bgp iiNxll26 bgp ii
Nxll26 bgp ii
Β 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
Β 
IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11
Β 

Viewers also liked

Ch 18 intro to network layer - section 5
Ch 18   intro to network layer - section 5Ch 18   intro to network layer - section 5
Ch 18 intro to network layer - section 5Hossam El-Deen Osama
Β 
Ch 19 Network-layer protocols - section 2
Ch 19   Network-layer protocols - section 2Ch 19   Network-layer protocols - section 2
Ch 19 Network-layer protocols - section 2Hossam El-Deen Osama
Β 
Ch 19 Network-layer protocols Section 1
Ch 19  Network-layer protocols Section 1Ch 19  Network-layer protocols Section 1
Ch 19 Network-layer protocols Section 1Hossam El-Deen Osama
Β 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptxNaveen Dubey
Β 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithmfarimoin
Β 
Network Layer Part 4
Network Layer Part 4Network Layer Part 4
Network Layer Part 4Tutun Juhana
Β 
2008118090324 hk
2008118090324 hk2008118090324 hk
2008118090324 hkVivek Singh
Β 
Congestion control
Congestion controlCongestion control
Congestion controlAbhay Pai
Β 
IPV4 Frame Format
IPV4 Frame FormatIPV4 Frame Format
IPV4 Frame FormatAditya Rawat
Β 
Routing table and routing algorithms
Routing table and routing algorithmsRouting table and routing algorithms
Routing table and routing algorithmslavanyapathy
Β 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPFarpit
Β 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocolAung Thu Rha Hein
Β 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layerNitesh Singh
Β 
Leaky bucket algorithm
Leaky bucket algorithmLeaky bucket algorithm
Leaky bucket algorithmUmesh Gupta
Β 
Routing algorithm network layer
Routing algorithm  network layerRouting algorithm  network layer
Routing algorithm network layersambhenilesh
Β 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6rahul kundu
Β 
Code generation
Code generationCode generation
Code generationAparna Nayak
Β 

Viewers also liked (20)

Ch 18 intro to network layer - section 5
Ch 18   intro to network layer - section 5Ch 18   intro to network layer - section 5
Ch 18 intro to network layer - section 5
Β 
Ch 19 Network-layer protocols - section 2
Ch 19   Network-layer protocols - section 2Ch 19   Network-layer protocols - section 2
Ch 19 Network-layer protocols - section 2
Β 
Ch 19 Network-layer protocols Section 1
Ch 19  Network-layer protocols Section 1Ch 19  Network-layer protocols Section 1
Ch 19 Network-layer protocols Section 1
Β 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptx
Β 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
Β 
Network Layer Part 4
Network Layer Part 4Network Layer Part 4
Network Layer Part 4
Β 
2008118090324 hk
2008118090324 hk2008118090324 hk
2008118090324 hk
Β 
Congestion control
Congestion controlCongestion control
Congestion control
Β 
Ch 21
Ch 21Ch 21
Ch 21
Β 
Network Layer
Network LayerNetwork Layer
Network Layer
Β 
IPV4 Frame Format
IPV4 Frame FormatIPV4 Frame Format
IPV4 Frame Format
Β 
Routing table and routing algorithms
Routing table and routing algorithmsRouting table and routing algorithms
Routing table and routing algorithms
Β 
Network Layer
Network LayerNetwork Layer
Network Layer
Β 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPF
Β 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
Β 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layer
Β 
Leaky bucket algorithm
Leaky bucket algorithmLeaky bucket algorithm
Leaky bucket algorithm
Β 
Routing algorithm network layer
Routing algorithm  network layerRouting algorithm  network layer
Routing algorithm network layer
Β 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
Β 
Code generation
Code generationCode generation
Code generation
Β 

Similar to Ch 18 intro to network layer - section 2

Module_3_Part_3.pptx
Module_3_Part_3.pptxModule_3_Part_3.pptx
Module_3_Part_3.pptxKPDDRAVIDIAN
Β 
Computer networks-WAN
Computer networks-WANComputer networks-WAN
Computer networks-WANCrystal Rose
Β 
CN Unit 2 PPT.pptx
CN Unit 2 PPT.pptxCN Unit 2 PPT.pptx
CN Unit 2 PPT.pptxifetananth06
Β 
switching techniques
switching techniques switching techniques
switching techniques ziaulhaq96
Β 
CS8591 Computer Networks - Unit III
CS8591 Computer Networks - Unit IIICS8591 Computer Networks - Unit III
CS8591 Computer Networks - Unit IIIpkaviya
Β 
Network layer (Unit 3) part1.pdf
Network  layer (Unit 3) part1.pdfNetwork  layer (Unit 3) part1.pdf
Network layer (Unit 3) part1.pdfBharatiPatelPhDStude
Β 
Ip protocol tedting
Ip protocol tedtingIp protocol tedting
Ip protocol tedtingH K
Β 
Network Layer design Issues.pptx
Network Layer design Issues.pptxNetwork Layer design Issues.pptx
Network Layer design Issues.pptxAcad
Β 
MK-PPT Chapter of networking chapter 33.ppt
MK-PPT Chapter of networking chapter 33.pptMK-PPT Chapter of networking chapter 33.ppt
MK-PPT Chapter of networking chapter 33.pptPawanBharadwaj2
Β 
Computer Networks
Computer NetworksComputer Networks
Computer NetworksSnow Queenzz
Β 
ex11-routing-performance.pdf
ex11-routing-performance.pdfex11-routing-performance.pdf
ex11-routing-performance.pdfJayaprasanna4
Β 
Computer networks network layer,routing
Computer networks network layer,routingComputer networks network layer,routing
Computer networks network layer,routingDeepak John
Β 
Mit6 02 f12_chap18
Mit6 02 f12_chap18Mit6 02 f12_chap18
Mit6 02 f12_chap18Wogayehu Atilaw
Β 
Computer Communication Networks-Network Layer
Computer Communication Networks-Network LayerComputer Communication Networks-Network Layer
Computer Communication Networks-Network LayerKrishna Nanda
Β 

Similar to Ch 18 intro to network layer - section 2 (20)

Module_3_Part_3.pptx
Module_3_Part_3.pptxModule_3_Part_3.pptx
Module_3_Part_3.pptx
Β 
Computer networks-WAN
Computer networks-WANComputer networks-WAN
Computer networks-WAN
Β 
Circuit switching
Circuit switchingCircuit switching
Circuit switching
Β 
Switching
SwitchingSwitching
Switching
Β 
CN Unit 2 PPT.pptx
CN Unit 2 PPT.pptxCN Unit 2 PPT.pptx
CN Unit 2 PPT.pptx
Β 
switching techniques
switching techniques switching techniques
switching techniques
Β 
CS8591 Computer Networks - Unit III
CS8591 Computer Networks - Unit IIICS8591 Computer Networks - Unit III
CS8591 Computer Networks - Unit III
Β 
Packet switching
Packet switchingPacket switching
Packet switching
Β 
Network layer (Unit 3) part1.pdf
Network  layer (Unit 3) part1.pdfNetwork  layer (Unit 3) part1.pdf
Network layer (Unit 3) part1.pdf
Β 
Unit 4 - Network Layer
Unit 4 - Network LayerUnit 4 - Network Layer
Unit 4 - Network Layer
Β 
Ip protocol tedting
Ip protocol tedtingIp protocol tedting
Ip protocol tedting
Β 
8 Packet Switching
8 Packet Switching8 Packet Switching
8 Packet Switching
Β 
Network Layer design Issues.pptx
Network Layer design Issues.pptxNetwork Layer design Issues.pptx
Network Layer design Issues.pptx
Β 
MK-PPT Chapter of networking chapter 33.ppt
MK-PPT Chapter of networking chapter 33.pptMK-PPT Chapter of networking chapter 33.ppt
MK-PPT Chapter of networking chapter 33.ppt
Β 
Computer Networks
Computer NetworksComputer Networks
Computer Networks
Β 
ex11-routing-performance.pdf
ex11-routing-performance.pdfex11-routing-performance.pdf
ex11-routing-performance.pdf
Β 
Computer networks network layer,routing
Computer networks network layer,routingComputer networks network layer,routing
Computer networks network layer,routing
Β 
Topic Packet switching
Topic Packet switchingTopic Packet switching
Topic Packet switching
Β 
Mit6 02 f12_chap18
Mit6 02 f12_chap18Mit6 02 f12_chap18
Mit6 02 f12_chap18
Β 
Computer Communication Networks-Network Layer
Computer Communication Networks-Network LayerComputer Communication Networks-Network Layer
Computer Communication Networks-Network Layer
Β 

Recently uploaded

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
Β 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
Β 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
Β 
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 POSCeline George
Β 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
Β 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
Β 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
Β 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
Β 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
Β 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
Β 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
Β 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
Β 
Call Girls in Uttam Nagar (delhi) call me [πŸ”9953056974πŸ”] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [πŸ”9953056974πŸ”] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [πŸ”9953056974πŸ”] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [πŸ”9953056974πŸ”] escort service 24X79953056974 Low Rate Call Girls In Saket, Delhi NCR
Β 
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.pptxDr. Sarita Anand
Β 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
Β 
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 17Celine George
Β 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
Β 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
Β 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
Β 

Recently uploaded (20)

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
Β 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Β 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
Β 
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
Β 
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
Β 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
Β 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
Β 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
Β 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
Β 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
Β 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Β 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
Β 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
Β 
Call Girls in Uttam Nagar (delhi) call me [πŸ”9953056974πŸ”] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [πŸ”9953056974πŸ”] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [πŸ”9953056974πŸ”] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [πŸ”9953056974πŸ”] escort service 24X7
Β 
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
Β 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
Β 
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
Β 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Β 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
Β 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
Β 

Ch 18 intro to network layer - section 2

  • 2. Packet Switching Definition. Packet Switching approaches: -Datagram Approach. -Virtual-Circuit Approach. Virtual-Circuit Approach phases: -Setup. -Data transfer. -Teardown.
  • 3. Routing and Forwarding kind of switching. A switch creates a connection between an input port and an output port. packet switching is used at the network layer not Circuit switching.
  • 4. The network-layer protocol treats each packet independently, each packet having no relationship to any other packet. Each packet is routed based on the information contained in its header(source and destination addresses). Routing the packet based only on the destination address. The source address may be used to send an error message to the source if the packet is discarded.
  • 5.
  • 6. there is a relationship between all packets belonging to a message. Before all datagrams in a message can be sent, a virtual connection should be set up to define the path for the datagrams. only must the packet contain the source and destination addresses, it must also contain a flow label that defines the virtual path the packet should follow. that the packet carries this label. Although it looks as though the use of the label may make the source and destination addresses unnecessary during the data transfer phase. Each packet is forwarded based on the label in the packet.
  • 7. A router creates an entry for a virtual circuit. Two packets need to be exchanged between the sender and the receiver: -The request packet. -The acknowledgment packet.
  • 8. A request packet is sent from the source to the destination. This auxiliary packet carries the source and destination addresses.
  • 9. Acknowledgment Packet A special packet, completes the entries in the switching tables.
  • 10. After all routers have created their forwarding table for a specific virtual circuit, then the network-layer packets belonging to one message can be sent one after another. All the packets in the message follow the same sequence of labels, and the packets arrive in order at the destination.
  • 11.
  • 12. source A, after sending all packets to B, sends a special packet called a teardown packet. Destination B responds with a confirmation packet. All routers delete the corresponding entries from their tables.