SlideShare a Scribd company logo
1 of 62
CS – 8591
COMPUTER NETWORKS
7.1
Unit - I
INTRODUCTION AND PHYSICAL
LAYER
Ms. Angayarkanni S A
Assistant Professor, IT, RMKEC
Day – 5
Switching
INTRODUCTION
CIRCUIT-SWITCHED NETWORK
PACKET-SWITCHING
STRUCTURE OF A SWITCH
Why we need switch?
• Among Multiple devices
• How to make one-one communication
• Mesh topology
• Star topology
• Bus topology
Impractical for
larger n/w
No of devices & distance
b/w devices increase
beyond capability
8.4
INTRODUCTION
• Network connections rely on switches.
• Switches are devices capable of creating
temporary connections between two or more
devices linked to the switch
• Switches operate at the
•Physical layer
•Data link layer
•Network layer
8.5
Figure 1: Switched network
A,B,C, - Nodes I,II,III - Switches
8.6
Figure 2: Taxonomy of switched networks
Switching and TCP/IP layers
8.8
Three Methods of Switching
•Circuit switched network operates at the Physical
layer
•Virtual-circuit network operates at the Data-Link
layer (or Network layer)
•Datagram network operates at the Network layer
8.9
CIRCUIT-SWITCHED NETWORKS
A circuit-switched network consists of a set of
switches connected by physical links.
8.10
8-2 CIRCUIT-SWITCHED NETWORKS
A circuit-switched network consists of a set of
switches connected by physical links.
Circuit-switches operate at the physical layer.
8.11
8-2 CIRCUIT-SWITCHED NETWORKS
A circuit-switched network creates a dedicated
path to complete a link between the sender and
receiver.
8.12
A trivial circuit-switched network
8.13
Circuit-switched network used (Telephone network)
8.14
Circuit-switched network used in Example 8.2
8.15
8.2.1 Three Phases
The actual communication in a circuit-switched
network requires three phases:
•connection setup (handshake),
•data transfer, and
•connection teardown.
8.16
8.2.2 Efficiency
It can be argued that circuit-switched networks are
not as efficient as the other two types of networks
because
resources are allocated during the entire duration
of the connection.
8.17
8.2.2 Efficiency
These resources are unavailable to other connections.
In a telephone network, people normally terminate the
communication when they have finished their
conversation.
8.18
8.2.3 Delay
During data transfer the data are not delayed at each
switch; the resources are allocated for the duration of
the connection.
8.19
Delay in a circuit-switched network
Data transfer
8.20
PACKET SWITCHING
A packet-switched network divides the data into
packets of fixed or variable size.
The size of the packet is determined by the
network and the governing protocol.
8.21
PACKET SWITCHING
Packet switched networks are classified as
a) Datagram Networks
b) Virtual circuit Networks
8.22
Datagram Networks
In a datagram network, each packet is treated
independently of all others.
Known as a connectionless network.
A datagram network operates at the
Network layer.
Even if a packet is part of a multipacket transmission,
the network treats packets as though they existed
alone. Packets in this approach are referred to as
datagrams.
8.23
A Datagram network with four 3-level switches (routers)
4 3 2 1
1
4
3
2
1
1
2
3
4
432 1
8.24
Datagram Networks
The packets have a destination address in the header.
The destination address for each datagram is used at a
router to forward the message towards its final
destination.
A circuit switched network does not require a
header or destination address for the data transfer
stage, because …..
the link is dedicated!
8.25
8.3.1 Datagram Networks
The packets have a destination address in the header.
The packet header contains a sequence number in
the header so it can be ordered at the destination.
8.26
Routing table in a datagram network
8.27
Delays in a datagram network
8.28
Data transfer
Delays in a circuit switched network
8.29
Virtual-Circuit Networks
A virtual-circuit network is a cross between a circuit-
switched network and a datagram network.
The virtual-circuit shares characteristics of both.
The virtual-circuit network operates at the data-link
layer (or network layer).
The packets for a virtual circuit network are known as
frames.
8.30
Virtual-circuit network
8.31
Virtual-Circuit Networks
A virtual-circuit network uses a series of special
temporary addresses known as virtual circuit
identifiers (VCI).
The VCI at each switch, is used to advance the frame
towards its final destination.
8.32
Virtual-circuit identifier
• VCI, unlike a global address, is a small number
that has only switch scope;
• it is used by a frame between two switches.
• When a frame arrives at a switch, it has a VCI;
when it leaves, it has a different VCI.
8.33
Virtual-Circuit Networks
The switch has a table with 4 columns:
a) Inputs half
•Input Port Number
•Input VCI
b) Outputs half
•Output Port Number
•Output VCI
8.34
: Switch and table for a virtual-circuit network
8.35
Source-to-destination data transfer in a circuit-switch
network
8.36
Virtual Circuit Networks
The VCN behaves like a circuit switched net because
there is a setup phase to establish the VCI entries in
the switch table.
There is also a data transfer phase and teardown
phase.
8.37
Setup request in a virtual-circuit network
All nodes have a VCI
8.38
: Setup acknowledgment in a virtual-circuit network
8.39
Delay in a virtual-circuit network
One time delay for setup
One time delay for teardown
8.40
STRUCTURE OF A SWITCH
The common categories of switch are:
1. Space division
2. Time division
8.41
8-4 STRUCTURE OF A SWITCH
1. Space division
•Crossbar switch
•Multistage crossbar switch
8.42
8-4 STRUCTURE OF A SWITCH
Crossbar switch has n inputs m outputs and i
A crossbar switch connects n inputs to m outputs
in a grid, using electronic microswitches
(transistors) at each crosspoint
The major limitation of this
design is the number of crosspoints required.
8.43
Figure 8.17: Crossbar switch with three inputs and four outputs
8.44
Figure 8.18: Multistage switch
Design a three-stage, 200 × 200 switch (N = 200) with k =
4 and n = 20. Compute the number of crosspoints.
Example 8.3
8.45
Design a three-stage, 200 × 200 switch (N = 200) with k =
4 and n = 20. Compute the number of crosspoints.
Solution
In the first stage we have N/n or 10 crossbars, each of size
20 × 4. In the second stage, we have 4 crossbars, each of
size 10 × 10. In the third stage, we have 10 crossbars,
each of size 4 × 20. The total number of crosspoints is
2kN + k(N/n)2, or 2000
crosspoints. This is 5 percent of the number of crosspoints
in a single-stage switch (200 × 200 = 40,000).
Example 8.3
8.46
3 Stage Switch Blocking Factor
• Bf3 = (N/n)*k / N = k/n
Redesign the previous three-stage, 200 × 200 switch,
using the Clos criteria with a minimum number of
crosspoints.
Example 8.4
8.48
Clos criteria
 n = sqrt(N/2)
 k >= 2n – 1
Redesign the previous three-stage, 200 × 200 switch,
using the Clos criteria with a minimum number of
crosspoints.
Solution
We let n = (200/2)1/2, or n = 10. We calculate k = 2n – 1 =
19. In the first stage, we have 200/10, or 20, crossbars,
each with 10 × 19 crosspoints. In the second stage, we
have 19 crossbars, each with 20 × 20 crosspoints. In the
third stage, we have 20 crossbars each with 19 × 10
crosspoints. The total number of crosspoints is 2(20(10 ×
19)) + 19(20 × 20) = 15200.
Example 8.4
8.50
8.51
Figure 8.19: Time-slot interchange
8.52
Figure 8.20: Time-space-time switch
Structure of Packet Switches
1. Input ports
2. Output ports
3. Switching fabric
4. Routing processor
8.54
Figure 8.21: Packet switch components
Banyan Switch
• n = 2k ports
• log2(n) stages
• n/2 binary switches at each stage
• number of binary switches = n/2*log2(n)
• number of crosspoints = 2*n*log2(n)
8.56
Figure 8.24: A banyan switch
8.57
Figure 8.25: Example of routing in a banyan switch (Part b)
8.58
Figure 8.25: Example of routing in a banyan switch (Part b)
• A local telephone network is an example of a
_______ network.
a) Packet switched
b) Circuit switched
c) Bit switched
d) Line switched
• A local telephone network is an example of a
_______ network.
a) Packet switched
b) Circuit switched
c) Bit switched
d) Line switched
• In _________ systems, resources are allocated
on demand.
a) packet switching
b) circuit switching
c) line switching
d) frequency switching
• In _________ systems, resources are allocated
on demand.
a) packet switching
b) circuit switching
c) line switching
d) frequency switching

More Related Content

What's hot

Osi model detail description
Osi model  detail descriptionOsi model  detail description
Osi model detail descriptionBathshebaparimala
 
Computer Networks Module I
Computer Networks Module IComputer Networks Module I
Computer Networks Module IAjit Nayak
 
Introduction to Data Communication
Introduction to Data CommunicationIntroduction to Data Communication
Introduction to Data Communication'Rafid RezA'
 
Ccn(Data communication and networking) edited solution-manual suitable to be ...
Ccn(Data communication and networking) edited solution-manual suitable to be ...Ccn(Data communication and networking) edited solution-manual suitable to be ...
Ccn(Data communication and networking) edited solution-manual suitable to be ...Vishal kakade
 
Chapter03 -- transmission basics and networking media
Chapter03  -- transmission basics and networking mediaChapter03  -- transmission basics and networking media
Chapter03 -- transmission basics and networking mediaRaja Waseem Akhtar
 
Unit 1 introduction to computer networks
Unit 1  introduction to computer networksUnit 1  introduction to computer networks
Unit 1 introduction to computer networkspavan kumar Thatikonda
 
CCNA_Data Communication and Computer Networking
CCNA_Data  Communication and Computer Networking CCNA_Data  Communication and Computer Networking
CCNA_Data Communication and Computer Networking Tariqul Islam Shohag
 
Data communications-concepts
Data communications-conceptsData communications-concepts
Data communications-conceptsWBUTTUTORIALS
 
VLAN -VIRTUAL LAN -COMPUTER NETWORKS
VLAN -VIRTUAL LAN -COMPUTER NETWORKSVLAN -VIRTUAL LAN -COMPUTER NETWORKS
VLAN -VIRTUAL LAN -COMPUTER NETWORKSNITHIN KALLE PALLY
 
Data Communications and Computer Networks
Data Communications and Computer Networks Data Communications and Computer Networks
Data Communications and Computer Networks Jubayer Alam Shoikat
 
Concept of networking
Concept of networkingConcept of networking
Concept of networkingsumit dimri
 
Computer Networks- Introduction and Data Link Layer
Computer Networks- Introduction and Data Link LayerComputer Networks- Introduction and Data Link Layer
Computer Networks- Introduction and Data Link LayerDeepak John
 

What's hot (20)

Osi model detail description
Osi model  detail descriptionOsi model  detail description
Osi model detail description
 
Protocols and its standards
Protocols and its standardsProtocols and its standards
Protocols and its standards
 
OSI model (Tamil)
OSI model (Tamil)OSI model (Tamil)
OSI model (Tamil)
 
Computer Networks Module I
Computer Networks Module IComputer Networks Module I
Computer Networks Module I
 
Networking Basics
Networking BasicsNetworking Basics
Networking Basics
 
Introduction to Data Communication
Introduction to Data CommunicationIntroduction to Data Communication
Introduction to Data Communication
 
Ethernet lan
Ethernet lanEthernet lan
Ethernet lan
 
OSI Model
OSI ModelOSI Model
OSI Model
 
Ccn(Data communication and networking) edited solution-manual suitable to be ...
Ccn(Data communication and networking) edited solution-manual suitable to be ...Ccn(Data communication and networking) edited solution-manual suitable to be ...
Ccn(Data communication and networking) edited solution-manual suitable to be ...
 
Chapter03 -- transmission basics and networking media
Chapter03  -- transmission basics and networking mediaChapter03  -- transmission basics and networking media
Chapter03 -- transmission basics and networking media
 
Networking ppt
Networking ppt Networking ppt
Networking ppt
 
Unit 1 introduction to computer networks
Unit 1  introduction to computer networksUnit 1  introduction to computer networks
Unit 1 introduction to computer networks
 
CCNA_Data Communication and Computer Networking
CCNA_Data  Communication and Computer Networking CCNA_Data  Communication and Computer Networking
CCNA_Data Communication and Computer Networking
 
VLAN on packet Tracer
VLAN on packet TracerVLAN on packet Tracer
VLAN on packet Tracer
 
Data communications-concepts
Data communications-conceptsData communications-concepts
Data communications-concepts
 
VLAN -VIRTUAL LAN -COMPUTER NETWORKS
VLAN -VIRTUAL LAN -COMPUTER NETWORKSVLAN -VIRTUAL LAN -COMPUTER NETWORKS
VLAN -VIRTUAL LAN -COMPUTER NETWORKS
 
Data Communications and Computer Networks
Data Communications and Computer Networks Data Communications and Computer Networks
Data Communications and Computer Networks
 
Concept of networking
Concept of networkingConcept of networking
Concept of networking
 
Computer Networks- Introduction and Data Link Layer
Computer Networks- Introduction and Data Link LayerComputer Networks- Introduction and Data Link Layer
Computer Networks- Introduction and Data Link Layer
 
Computer Network - Unit 1
Computer Network - Unit 1Computer Network - Unit 1
Computer Network - Unit 1
 

Similar to Unit_I - 5 (20)

Chapter 8: Switching
Chapter 8: SwitchingChapter 8: Switching
Chapter 8: Switching
 
Ch8 Switching.pdf
Ch8 Switching.pdfCh8 Switching.pdf
Ch8 Switching.pdf
 
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
 
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
 
Ppt 01 10
Ppt 01 10Ppt 01 10
Ppt 01 10
 
Network switching
Network switchingNetwork switching
Network switching
 
Ch08
Ch08Ch08
Ch08
 
Ch08
Ch08Ch08
Ch08
 
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxvheloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
heloo mzdnvnjbszdjgfjkhadsgvbxczvznxbvmcxv
 
Data Communication and Computer Networks
Data Communication and Computer NetworksData Communication and Computer Networks
Data Communication and Computer Networks
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Ch08
Ch08Ch08
Ch08
 
Swiching
SwichingSwiching
Swiching
 
08-Switching.ppt
08-Switching.ppt08-Switching.ppt
08-Switching.ppt
 
lecture2829atmframerelay-180429142508 (1).pptx
lecture2829atmframerelay-180429142508 (1).pptxlecture2829atmframerelay-180429142508 (1).pptx
lecture2829atmframerelay-180429142508 (1).pptx
 
Chapter10 switching
Chapter10 switchingChapter10 switching
Chapter10 switching
 
Dynamic interconnection networks
Dynamic interconnection networksDynamic interconnection networks
Dynamic interconnection networks
 

Recently uploaded

Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Recently uploaded (20)

Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

Unit_I - 5

  • 1. CS – 8591 COMPUTER NETWORKS 7.1 Unit - I INTRODUCTION AND PHYSICAL LAYER Ms. Angayarkanni S A Assistant Professor, IT, RMKEC
  • 2. Day – 5 Switching INTRODUCTION CIRCUIT-SWITCHED NETWORK PACKET-SWITCHING STRUCTURE OF A SWITCH
  • 3. Why we need switch? • Among Multiple devices • How to make one-one communication • Mesh topology • Star topology • Bus topology Impractical for larger n/w No of devices & distance b/w devices increase beyond capability
  • 4. 8.4 INTRODUCTION • Network connections rely on switches. • Switches are devices capable of creating temporary connections between two or more devices linked to the switch • Switches operate at the •Physical layer •Data link layer •Network layer
  • 5. 8.5 Figure 1: Switched network A,B,C, - Nodes I,II,III - Switches
  • 6. 8.6 Figure 2: Taxonomy of switched networks
  • 8. 8.8 Three Methods of Switching •Circuit switched network operates at the Physical layer •Virtual-circuit network operates at the Data-Link layer (or Network layer) •Datagram network operates at the Network layer
  • 9. 8.9 CIRCUIT-SWITCHED NETWORKS A circuit-switched network consists of a set of switches connected by physical links.
  • 10. 8.10 8-2 CIRCUIT-SWITCHED NETWORKS A circuit-switched network consists of a set of switches connected by physical links. Circuit-switches operate at the physical layer.
  • 11. 8.11 8-2 CIRCUIT-SWITCHED NETWORKS A circuit-switched network creates a dedicated path to complete a link between the sender and receiver.
  • 13. 8.13 Circuit-switched network used (Telephone network)
  • 15. 8.15 8.2.1 Three Phases The actual communication in a circuit-switched network requires three phases: •connection setup (handshake), •data transfer, and •connection teardown.
  • 16. 8.16 8.2.2 Efficiency It can be argued that circuit-switched networks are not as efficient as the other two types of networks because resources are allocated during the entire duration of the connection.
  • 17. 8.17 8.2.2 Efficiency These resources are unavailable to other connections. In a telephone network, people normally terminate the communication when they have finished their conversation.
  • 18. 8.18 8.2.3 Delay During data transfer the data are not delayed at each switch; the resources are allocated for the duration of the connection.
  • 19. 8.19 Delay in a circuit-switched network Data transfer
  • 20. 8.20 PACKET SWITCHING A packet-switched network divides the data into packets of fixed or variable size. The size of the packet is determined by the network and the governing protocol.
  • 21. 8.21 PACKET SWITCHING Packet switched networks are classified as a) Datagram Networks b) Virtual circuit Networks
  • 22. 8.22 Datagram Networks In a datagram network, each packet is treated independently of all others. Known as a connectionless network. A datagram network operates at the Network layer. Even if a packet is part of a multipacket transmission, the network treats packets as though they existed alone. Packets in this approach are referred to as datagrams.
  • 23. 8.23 A Datagram network with four 3-level switches (routers) 4 3 2 1 1 4 3 2 1 1 2 3 4 432 1
  • 24. 8.24 Datagram Networks The packets have a destination address in the header. The destination address for each datagram is used at a router to forward the message towards its final destination. A circuit switched network does not require a header or destination address for the data transfer stage, because ….. the link is dedicated!
  • 25. 8.25 8.3.1 Datagram Networks The packets have a destination address in the header. The packet header contains a sequence number in the header so it can be ordered at the destination.
  • 26. 8.26 Routing table in a datagram network
  • 27. 8.27 Delays in a datagram network
  • 28. 8.28 Data transfer Delays in a circuit switched network
  • 29. 8.29 Virtual-Circuit Networks A virtual-circuit network is a cross between a circuit- switched network and a datagram network. The virtual-circuit shares characteristics of both. The virtual-circuit network operates at the data-link layer (or network layer). The packets for a virtual circuit network are known as frames.
  • 31. 8.31 Virtual-Circuit Networks A virtual-circuit network uses a series of special temporary addresses known as virtual circuit identifiers (VCI). The VCI at each switch, is used to advance the frame towards its final destination.
  • 32. 8.32 Virtual-circuit identifier • VCI, unlike a global address, is a small number that has only switch scope; • it is used by a frame between two switches. • When a frame arrives at a switch, it has a VCI; when it leaves, it has a different VCI.
  • 33. 8.33 Virtual-Circuit Networks The switch has a table with 4 columns: a) Inputs half •Input Port Number •Input VCI b) Outputs half •Output Port Number •Output VCI
  • 34. 8.34 : Switch and table for a virtual-circuit network
  • 35. 8.35 Source-to-destination data transfer in a circuit-switch network
  • 36. 8.36 Virtual Circuit Networks The VCN behaves like a circuit switched net because there is a setup phase to establish the VCI entries in the switch table. There is also a data transfer phase and teardown phase.
  • 37. 8.37 Setup request in a virtual-circuit network All nodes have a VCI
  • 38. 8.38 : Setup acknowledgment in a virtual-circuit network
  • 39. 8.39 Delay in a virtual-circuit network One time delay for setup One time delay for teardown
  • 40. 8.40 STRUCTURE OF A SWITCH The common categories of switch are: 1. Space division 2. Time division
  • 41. 8.41 8-4 STRUCTURE OF A SWITCH 1. Space division •Crossbar switch •Multistage crossbar switch
  • 42. 8.42 8-4 STRUCTURE OF A SWITCH Crossbar switch has n inputs m outputs and i A crossbar switch connects n inputs to m outputs in a grid, using electronic microswitches (transistors) at each crosspoint The major limitation of this design is the number of crosspoints required.
  • 43. 8.43 Figure 8.17: Crossbar switch with three inputs and four outputs
  • 45. Design a three-stage, 200 × 200 switch (N = 200) with k = 4 and n = 20. Compute the number of crosspoints. Example 8.3 8.45
  • 46. Design a three-stage, 200 × 200 switch (N = 200) with k = 4 and n = 20. Compute the number of crosspoints. Solution In the first stage we have N/n or 10 crossbars, each of size 20 × 4. In the second stage, we have 4 crossbars, each of size 10 × 10. In the third stage, we have 10 crossbars, each of size 4 × 20. The total number of crosspoints is 2kN + k(N/n)2, or 2000 crosspoints. This is 5 percent of the number of crosspoints in a single-stage switch (200 × 200 = 40,000). Example 8.3 8.46
  • 47. 3 Stage Switch Blocking Factor • Bf3 = (N/n)*k / N = k/n
  • 48. Redesign the previous three-stage, 200 × 200 switch, using the Clos criteria with a minimum number of crosspoints. Example 8.4 8.48
  • 49. Clos criteria  n = sqrt(N/2)  k >= 2n – 1
  • 50. Redesign the previous three-stage, 200 × 200 switch, using the Clos criteria with a minimum number of crosspoints. Solution We let n = (200/2)1/2, or n = 10. We calculate k = 2n – 1 = 19. In the first stage, we have 200/10, or 20, crossbars, each with 10 × 19 crosspoints. In the second stage, we have 19 crossbars, each with 20 × 20 crosspoints. In the third stage, we have 20 crossbars each with 19 × 10 crosspoints. The total number of crosspoints is 2(20(10 × 19)) + 19(20 × 20) = 15200. Example 8.4 8.50
  • 53. Structure of Packet Switches 1. Input ports 2. Output ports 3. Switching fabric 4. Routing processor
  • 54. 8.54 Figure 8.21: Packet switch components
  • 55. Banyan Switch • n = 2k ports • log2(n) stages • n/2 binary switches at each stage • number of binary switches = n/2*log2(n) • number of crosspoints = 2*n*log2(n)
  • 56. 8.56 Figure 8.24: A banyan switch
  • 57. 8.57 Figure 8.25: Example of routing in a banyan switch (Part b)
  • 58. 8.58 Figure 8.25: Example of routing in a banyan switch (Part b)
  • 59. • A local telephone network is an example of a _______ network. a) Packet switched b) Circuit switched c) Bit switched d) Line switched
  • 60. • A local telephone network is an example of a _______ network. a) Packet switched b) Circuit switched c) Bit switched d) Line switched
  • 61. • In _________ systems, resources are allocated on demand. a) packet switching b) circuit switching c) line switching d) frequency switching
  • 62. • In _________ systems, resources are allocated on demand. a) packet switching b) circuit switching c) line switching d) frequency switching