SlideShare una empresa de Scribd logo
1 de 41
Networking Fundamentals
SWITCHING
8.1
8.2
Switched network
8.3
Types of switched networks
8.4
CIRCUIT-SWITCHED NETWORKSCIRCUIT-SWITCHED NETWORKS
A circuit-switched network consists of a set of switchesA circuit-switched network consists of a set of switches
connected by physical links. A connection between twoconnected by physical links. A connection between two
stations is a dedicated path made of one or more links.stations is a dedicated path made of one or more links.
However, each connection uses only one dedicatedHowever, each connection uses only one dedicated
channel on each link. Each link is normally dividedchannel on each link. Each link is normally divided
into n channels by using FDM or TDM.into n channels by using FDM or TDM.
8.5
A trivial circuit-switched network
8.6
In circuit switching, the resources need
to be reserved during the setup phase;
the resources remain dedicated for the
entire duration of data transfer until the
teardown phase.
Note
8.7
As a trivial example, let us use a circuit-switched network
to connect eight telephones in a small area.
Communication is through 4-kHz voice channels. We
assume that each link uses FDM to connect a maximum
of two voice channels. The bandwidth of each link is then
8 kHz. Figure shows the situation. Telephone 1 is
connected to telephone 7; 2 to 5; 3 to 8; and 4 to 6. Of
course the situation may change when new connections
are made. The switch controls the connections.
Example
8.8
Circuit-switched network used in Example
8.9
Delay in a circuit-switched network
8.10
Switching at the physical layer in the
traditional telephone network uses
the circuit-switching approach.
Note
8.11
DATAGRAM NETWORKSDATAGRAM NETWORKS
In data communications, we need to send messagesIn data communications, we need to send messages
from one end system to another. If the message isfrom one end system to another. If the message is
going to pass through a packet-switched network, itgoing to pass through a packet-switched network, it
needs to be divided into packets of fixed or variableneeds to be divided into packets of fixed or variable
size. The size of the packet is determined by thesize. The size of the packet is determined by the
network and the governing protocol.network and the governing protocol.
8.12
In a packet-switched network, there
is no resource reservation;
resources are allocated on demand.
Note
8.13
A datagram network with five switches (routers)
Packets may also be lost/dropped due to lack of resources
8.14
In a packet-switched (connectionless)network ,
there are no setup or teardown phases. Each
packet is treated the same regardless of its
source or destination.
Note
8.15
Routing table in a datagram network
8.16
A switch (router) in a datagram network
uses a routing table that is based on the
destination address. The routing tables
are updated dynamically or statically.
Note
8.18
Delay in a datagram network
8.19
Switching in the Internet is done by
using the datagram approach to packet
switching at the network layer.
Note
Comparison of circuit switched and
packet-switched networks
8.21
VIRTUAL-CIRCUIT NETWORKSVIRTUAL-CIRCUIT NETWORKS
A virtual-circuit network is a cross between a circuit-A virtual-circuit network is a cross between a circuit-
switched network and a datagram network. It hasswitched network and a datagram network. It has
some characteristics of both.some characteristics of both.
8.22
One
8.23
Virtual-circuit network
8.24
8.25
Virtual-circuit identifier
8.26
8.27
Switch and switching tables in a virtual-circuit network
8.28
Setup request frame from source to destination in a virtual-circuit network
B assigns a VCI if
ready to receive
frames from A
8.29
A special Setup acknowledgment frame completes the table entries
8.30
Source-to-destination data transfer in a virtual-circuit network
8.31
• In virtual-circuit switching, all packets belonging
to the same source and destination travel the
same path; but the packets may arrive at the
destination with different delays due to:
— Varying packet queue lengths in the
network nodes
— Varying load from other users sharing the
same network resources
8.32
Delay in a virtual-circuit network
8.33
Switching at the data link layer in a
switched WAN is normally
implemented by using
virtual-circuit techniques.
Note
8.34
STRUCTURE OF A SWITCHSTRUCTURE OF A SWITCH
We use switches in circuit-switched and packet-We use switches in circuit-switched and packet-
switched networks. We will see the structures of theswitched networks. We will see the structures of the
switches used in packet-switched networks.switches used in packet-switched networks.
8.35
Packet switch components
8.36
Input port
8.37
Output port
8.38
8.39
Crossbar switch with three inputs and four outputs
ni xmo Crosspoints.
Impractical & Inefficient
8.40
A banyan switch – more realistic
For in=out =n,log2 nstages with n/2
microswitches at each stage. Routing based on
output port represented as binary string
8.41
Examples of routing in a banyan switch
b. Try Input 5 to Output 2
8.42
Examples of routing in a banyan switch

Más contenido relacionado

La actualidad más candente

10 Circuit Packet
10 Circuit Packet10 Circuit Packet
10 Circuit PacketWaqas !!!!
 
Message switched
Message switchedMessage switched
Message switchedHawkarOsman
 
Switching Techniques
Switching TechniquesSwitching Techniques
Switching Techniquestameemyousaf
 
Packet Switching and X.25 Protocol
Packet Switching and X.25 ProtocolPacket Switching and X.25 Protocol
Packet Switching and X.25 ProtocolMiles Kevin Galario
 
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)Tutun Juhana
 
Circuit and packet_switching
Circuit and packet_switchingCircuit and packet_switching
Circuit and packet_switchinghoanv
 
Topic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingTopic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingDr Rajiv Srivastava
 
WT - Circuit & Packet switching
WT - Circuit & Packet switchingWT - Circuit & Packet switching
WT - Circuit & Packet switchingvinay arora
 
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...Kaushik Panta
 
Lan access control methods
Lan access control methodsLan access control methods
Lan access control methodsbwire sedrick
 
Networking Related
Networking RelatedNetworking Related
Networking RelatedZunAib Ali
 
Switching Techniques Lecture12,wireless
Switching Techniques Lecture12,wirelessSwitching Techniques Lecture12,wireless
Switching Techniques Lecture12,wirelessNavaizImtiaz1
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniquesAmit Kumar
 

La actualidad más candente (20)

Chap 03
Chap 03Chap 03
Chap 03
 
10 Circuit Packet
10 Circuit Packet10 Circuit Packet
10 Circuit Packet
 
Packet switching
Packet switchingPacket switching
Packet switching
 
Message switched
Message switchedMessage switched
Message switched
 
Packet Switching
Packet SwitchingPacket Switching
Packet Switching
 
Topic Packet switching
Topic Packet switchingTopic Packet switching
Topic Packet switching
 
Switching Techniques
Switching TechniquesSwitching Techniques
Switching Techniques
 
Packet Switching
Packet SwitchingPacket Switching
Packet Switching
 
Packet Switching and X.25 Protocol
Packet Switching and X.25 ProtocolPacket Switching and X.25 Protocol
Packet Switching and X.25 Protocol
 
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
 
Circuit and packet_switching
Circuit and packet_switchingCircuit and packet_switching
Circuit and packet_switching
 
Topic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingTopic: Virtual circuit & message switching
Topic: Virtual circuit & message switching
 
WT - Circuit & Packet switching
WT - Circuit & Packet switchingWT - Circuit & Packet switching
WT - Circuit & Packet switching
 
Mobile Ad hoc network
Mobile Ad hoc networkMobile Ad hoc network
Mobile Ad hoc network
 
11 circuit-packet
11 circuit-packet11 circuit-packet
11 circuit-packet
 
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
 
Lan access control methods
Lan access control methodsLan access control methods
Lan access control methods
 
Networking Related
Networking RelatedNetworking Related
Networking Related
 
Switching Techniques Lecture12,wireless
Switching Techniques Lecture12,wirelessSwitching Techniques Lecture12,wireless
Switching Techniques Lecture12,wireless
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
 

Destacado

Switching Techniques
Switching TechniquesSwitching Techniques
Switching TechniquesKamal Acharya
 
Week11
Week11Week11
Week11Hayato
 
Dcn notea unit 1 ppt
Dcn notea unit  1 pptDcn notea unit  1 ppt
Dcn notea unit 1 pptQazi Ahmad
 
WIDE AREA NETWORK
WIDE AREA NETWORKWIDE AREA NETWORK
WIDE AREA NETWORKNur Ana
 
Wide area network (wan)
Wide area network (wan)Wide area network (wan)
Wide area network (wan)Raaz Shrestha
 
Networking Standards And Protocols
Networking Standards And ProtocolsNetworking Standards And Protocols
Networking Standards And ProtocolsSteven Cahill
 
ITFT_Switching techniques in networking
ITFT_Switching techniques in networkingITFT_Switching techniques in networking
ITFT_Switching techniques in networkingSneh Prabha
 
Networking devices
Networking devicesNetworking devices
Networking devicesrupinderj
 
Circuit switching packet switching
Circuit switching  packet  switchingCircuit switching  packet  switching
Circuit switching packet switchingSneha Dalvi
 
Computer networking devices
Computer networking devicesComputer networking devices
Computer networking devicesRajesh Sadhukha
 
Introduction to computer network
Introduction to computer networkIntroduction to computer network
Introduction to computer networkAshita Agrawal
 

Destacado (13)

Switching Techniques
Switching TechniquesSwitching Techniques
Switching Techniques
 
Week11
Week11Week11
Week11
 
Dcn notea unit 1 ppt
Dcn notea unit  1 pptDcn notea unit  1 ppt
Dcn notea unit 1 ppt
 
WIDE AREA NETWORK
WIDE AREA NETWORKWIDE AREA NETWORK
WIDE AREA NETWORK
 
Wide area network (wan)
Wide area network (wan)Wide area network (wan)
Wide area network (wan)
 
Circuit Switching
Circuit SwitchingCircuit Switching
Circuit Switching
 
Networking Standards And Protocols
Networking Standards And ProtocolsNetworking Standards And Protocols
Networking Standards And Protocols
 
ITFT_Switching techniques in networking
ITFT_Switching techniques in networkingITFT_Switching techniques in networking
ITFT_Switching techniques in networking
 
Networking devices
Networking devicesNetworking devices
Networking devices
 
Networking
NetworkingNetworking
Networking
 
Circuit switching packet switching
Circuit switching  packet  switchingCircuit switching  packet  switching
Circuit switching packet switching
 
Computer networking devices
Computer networking devicesComputer networking devices
Computer networking devices
 
Introduction to computer network
Introduction to computer networkIntroduction to computer network
Introduction to computer network
 

Similar a 2b switching in networks (20)

Switching
SwitchingSwitching
Switching
 
Swiching
SwichingSwiching
Swiching
 
Ch08
Ch08Ch08
Ch08
 
Ch08
Ch08Ch08
Ch08
 
VIRTUAL CIRCUIT NETWORKS, atm , frame relay
VIRTUAL CIRCUIT NETWORKS, atm , frame relayVIRTUAL CIRCUIT NETWORKS, atm , frame relay
VIRTUAL CIRCUIT NETWORKS, atm , frame relay
 
Switching
SwitchingSwitching
Switching
 
lecture2829atmframerelay-180429142508 (1).pptx
lecture2829atmframerelay-180429142508 (1).pptxlecture2829atmframerelay-180429142508 (1).pptx
lecture2829atmframerelay-180429142508 (1).pptx
 
Lecture-8 Data Communication ~www.fida.com.bd
Lecture-8 Data Communication ~www.fida.com.bdLecture-8 Data Communication ~www.fida.com.bd
Lecture-8 Data Communication ~www.fida.com.bd
 
Ppt 01 10
Ppt 01 10Ppt 01 10
Ppt 01 10
 
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxvheloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
 
chapter 5.2.pptx
chapter 5.2.pptxchapter 5.2.pptx
chapter 5.2.pptx
 
Ch08
Ch08Ch08
Ch08
 
Ch08
Ch08Ch08
Ch08
 
Chapter 8 switching -computer_network
Chapter 8   switching -computer_networkChapter 8   switching -computer_network
Chapter 8 switching -computer_network
 
08 Switching
08 Switching08 Switching
08 Switching
 
Virtual
VirtualVirtual
Virtual
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Ch08
Ch08Ch08
Ch08
 
Chapter 8: Switching
Chapter 8: SwitchingChapter 8: Switching
Chapter 8: Switching
 
Ch08
Ch08Ch08
Ch08
 

Más de kavish dani

4b internet protocol
4b internet protocol4b internet protocol
4b internet protocolkavish dani
 
4a logical laddressing
4a logical laddressing4a logical laddressing
4a logical laddressingkavish dani
 
4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicasting4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicastingkavish dani
 
1b network models
1b network models1b network models
1b network modelskavish dani
 
3d connecting networks
3d connecting networks3d connecting networks
3d connecting networkskavish dani
 
3b multiple access
3b multiple access3b multiple access
3b multiple accesskavish dani
 
3a data link layer continued
3a data link layer continued3a data link layer continued
3a data link layer continuedkavish dani
 
3a data link layer
3a data link layer 3a data link layer
3a data link layer kavish dani
 
2c wired transmission
2c wired transmission2c wired transmission
2c wired transmissionkavish dani
 
2a transmission media
2a transmission  media2a transmission  media
2a transmission mediakavish dani
 
1a introduction to network fundamentals
1a introduction to network fundamentals1a introduction to network fundamentals
1a introduction to network fundamentalskavish dani
 

Más de kavish dani (14)

4d routing
4d routing4d routing
4d routing
 
4b internet protocol
4b internet protocol4b internet protocol
4b internet protocol
 
4a logical laddressing
4a logical laddressing4a logical laddressing
4a logical laddressing
 
4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicasting4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicasting
 
1b network models
1b network models1b network models
1b network models
 
3d connecting networks
3d connecting networks3d connecting networks
3d connecting networks
 
3c ethernet
3c ethernet3c ethernet
3c ethernet
 
3b multiple access
3b multiple access3b multiple access
3b multiple access
 
3a data link layer continued
3a data link layer continued3a data link layer continued
3a data link layer continued
 
3a data link layer
3a data link layer 3a data link layer
3a data link layer
 
2c wired transmission
2c wired transmission2c wired transmission
2c wired transmission
 
2a transmission media
2a transmission  media2a transmission  media
2a transmission media
 
1a introduction to network fundamentals
1a introduction to network fundamentals1a introduction to network fundamentals
1a introduction to network fundamentals
 
5 forces model
5 forces model5 forces model
5 forces model
 

Último

Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 

Último (20)

Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 

2b switching in networks

  • 4. 8.4 CIRCUIT-SWITCHED NETWORKSCIRCUIT-SWITCHED NETWORKS A circuit-switched network consists of a set of switchesA circuit-switched network consists of a set of switches connected by physical links. A connection between twoconnected by physical links. A connection between two stations is a dedicated path made of one or more links.stations is a dedicated path made of one or more links. However, each connection uses only one dedicatedHowever, each connection uses only one dedicated channel on each link. Each link is normally dividedchannel on each link. Each link is normally divided into n channels by using FDM or TDM.into n channels by using FDM or TDM.
  • 6. 8.6 In circuit switching, the resources need to be reserved during the setup phase; the resources remain dedicated for the entire duration of data transfer until the teardown phase. Note
  • 7. 8.7 As a trivial example, let us use a circuit-switched network to connect eight telephones in a small area. Communication is through 4-kHz voice channels. We assume that each link uses FDM to connect a maximum of two voice channels. The bandwidth of each link is then 8 kHz. Figure shows the situation. Telephone 1 is connected to telephone 7; 2 to 5; 3 to 8; and 4 to 6. Of course the situation may change when new connections are made. The switch controls the connections. Example
  • 9. 8.9 Delay in a circuit-switched network
  • 10. 8.10 Switching at the physical layer in the traditional telephone network uses the circuit-switching approach. Note
  • 11. 8.11 DATAGRAM NETWORKSDATAGRAM NETWORKS In data communications, we need to send messagesIn data communications, we need to send messages from one end system to another. If the message isfrom one end system to another. If the message is going to pass through a packet-switched network, itgoing to pass through a packet-switched network, it needs to be divided into packets of fixed or variableneeds to be divided into packets of fixed or variable size. The size of the packet is determined by thesize. The size of the packet is determined by the network and the governing protocol.network and the governing protocol.
  • 12. 8.12 In a packet-switched network, there is no resource reservation; resources are allocated on demand. Note
  • 13. 8.13 A datagram network with five switches (routers) Packets may also be lost/dropped due to lack of resources
  • 14. 8.14 In a packet-switched (connectionless)network , there are no setup or teardown phases. Each packet is treated the same regardless of its source or destination. Note
  • 15. 8.15 Routing table in a datagram network
  • 16. 8.16 A switch (router) in a datagram network uses a routing table that is based on the destination address. The routing tables are updated dynamically or statically. Note
  • 17. 8.18 Delay in a datagram network
  • 18. 8.19 Switching in the Internet is done by using the datagram approach to packet switching at the network layer. Note
  • 19. Comparison of circuit switched and packet-switched networks
  • 20. 8.21 VIRTUAL-CIRCUIT NETWORKSVIRTUAL-CIRCUIT NETWORKS A virtual-circuit network is a cross between a circuit-A virtual-circuit network is a cross between a circuit- switched network and a datagram network. It hasswitched network and a datagram network. It has some characteristics of both.some characteristics of both.
  • 23. 8.24
  • 25. 8.26
  • 26. 8.27 Switch and switching tables in a virtual-circuit network
  • 27. 8.28 Setup request frame from source to destination in a virtual-circuit network B assigns a VCI if ready to receive frames from A
  • 28. 8.29 A special Setup acknowledgment frame completes the table entries
  • 29. 8.30 Source-to-destination data transfer in a virtual-circuit network
  • 30. 8.31 • In virtual-circuit switching, all packets belonging to the same source and destination travel the same path; but the packets may arrive at the destination with different delays due to: — Varying packet queue lengths in the network nodes — Varying load from other users sharing the same network resources
  • 31. 8.32 Delay in a virtual-circuit network
  • 32. 8.33 Switching at the data link layer in a switched WAN is normally implemented by using virtual-circuit techniques. Note
  • 33. 8.34 STRUCTURE OF A SWITCHSTRUCTURE OF A SWITCH We use switches in circuit-switched and packet-We use switches in circuit-switched and packet- switched networks. We will see the structures of theswitched networks. We will see the structures of the switches used in packet-switched networks.switches used in packet-switched networks.
  • 37. 8.38
  • 38. 8.39 Crossbar switch with three inputs and four outputs ni xmo Crosspoints. Impractical & Inefficient
  • 39. 8.40 A banyan switch – more realistic For in=out =n,log2 nstages with n/2 microswitches at each stage. Routing based on output port represented as binary string
  • 40. 8.41 Examples of routing in a banyan switch b. Try Input 5 to Output 2
  • 41. 8.42 Examples of routing in a banyan switch