SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Message switched
Message switchedMessage switched
Message switched
HawkarOsman
 
Switching Techniques
Switching TechniquesSwitching Techniques
Switching Techniques
tameemyousaf
 
Packet Switching and X.25 Protocol
Packet Switching and X.25 ProtocolPacket Switching and X.25 Protocol
Packet Switching and X.25 Protocol
Miles Kevin Galario
 
Circuit and packet_switching
Circuit and packet_switchingCircuit and packet_switching
Circuit and packet_switching
hoanv
 
WT - Circuit & Packet switching
WT - Circuit & Packet switchingWT - Circuit & Packet switching
WT - Circuit & Packet switching
vinay arora
 
Lan access control methods
Lan access control methodsLan access control methods
Lan access control methods
bwire sedrick
 
Networking Related
Networking RelatedNetworking Related
Networking Related
ZunAib Ali
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
Amit Kumar
 

Tendances (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
 

En vedette

Week11
Week11Week11
Week11
Hayato
 
WIDE AREA NETWORK
WIDE AREA NETWORKWIDE AREA NETWORK
WIDE AREA NETWORK
Nur Ana
 
Networking Standards And Protocols
Networking Standards And ProtocolsNetworking Standards And Protocols
Networking Standards And Protocols
Steven Cahill
 
Networking devices
Networking devicesNetworking devices
Networking devices
rupinderj
 

En vedette (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
 

Similaire à 2b switching in networks

lecture2829atmframerelay-180429142508 (1).pptx
lecture2829atmframerelay-180429142508 (1).pptxlecture2829atmframerelay-180429142508 (1).pptx
lecture2829atmframerelay-180429142508 (1).pptx
AMITKUMAR938671
 
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxvheloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
JOHN35307
 
chapter 5.2.pptx
chapter 5.2.pptxchapter 5.2.pptx
chapter 5.2.pptx
MelkamtseganewTigabi1
 

Similaire à 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
 

Plus 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
 

Dernier

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
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
 

Dernier (20)

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.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
 
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
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
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
 
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
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
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.
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).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
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
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
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 

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