Switching 1
Switching 1
SWITCHING
Switched Network
2
Taxonomy of Switched Networks
3
Circuit-Switched Networks
A circuit-switched network consists of a set of switches
connected by physical links. A connection between two
stations is a dedicated path made of one or more links.
However, each connection uses only one dedicated
channel on each link. Each link is normally divided into
n channels by using FDM or TDM.
5
A trivial circuit-switched network
6
Note
7
Points to be emphasized
8
Delay in Circuit-Switched Network
9
Note
10
Datagram Networks
In data communications, we need to send messages
from one end system to another. If the message is
going to pass through a packet-switched network, it
needs to be divided into packets of fixed or variable
size. The size of the packet is determined by the
network and the governing protocol.
12
A datagram network with four
switches (routers)
13
Routing table in a datagram network
14
Datagram network
Note
15
Datagram network
Note
16
Delay in a datagram network
17
Note
18
A Heterogeneous Network made of
4 WANs and 2 LANs
19
Virtual-Circuit Networks
A virtual-circuit network is a cross between a
circuit-switched network and a datagram
network. It has some characteristics of both.
20
• As in a circuit-switched network, there are setup and
teardown phases in addition to the data transfer
phase.
• Resources can be allocated during the setup phase,
as in a circuit switched network, or on demand, as in a
datagram network.
• As in a datagram network, data are packetized and
each packet carries an address in the header.
However, the address in the header has local
jurisdiction.
• As in a circuit-switched network, all packets follow the
same path established during the connection.
• virtual-circuit network is normally implemented in the
data link layer, while a circuit-switched network is
implemented in the physical layer and a datagram
network in the network layer. But this may change in
the future.
21
Virtual-Circuit Identifier
22
Switch and tables in a virtual-circuit network
23
Setup request in a virtual-circuit network
24
Setup acknowledgment in a virtual-circuit network
25
Source-to-destination data transfer in a virtual-circuit
network
26
Note
27
Delay in a virtual-circuit network
28
Note
29
8-4 STRUCTURE OF A SWITCH
30
Crossbar Switch with 3 inputs and
4 outputs
• Crossbar switch connects n inputs and m
outputs in a grid using microswitches
(transistors) in each Crosspoints.
31
Multistage switch
32
Note
33
Design a three-stage, 200 × 200 switch (N = 200) with
k = 4 and n = 20.
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).
34