Circuit-Switched Networks Datagram Networks Virtual-Circuit Networks
Circuit-Switched Networks Datagram Networks Virtual-Circuit Networks
2.
3.
Circuit-Switched Networks
Datagram Networks
Virtual-Circuit Networks
R. R. Malekar
R. R. Malekar
Switching
Switching
Note
Switched network: Series of interlinked nodes, called switches.
Switches are devices capable of creating temporary
connections between two or more devices linked to the switch.
R. R. Malekar
Switching
Switches
End Device: a, b,
c, so on
R. R. Malekar
Switching
R. R. Malekar
Switching
R. R. Malekar
Switching
R. R. Malekar
Switching
R. R. Malekar
Switching
R. R. Malekar
Switching
R. R. Malekar
Switching
10
A trivial
circuit-switched
network
Switching
11
Three Phases
A. The setup phase: means creating dedicated channels between
the switches.
Example : when system A needs to connect to system M:
1. A sends a setup request that includes the address of system
M, to switch I. Switch I finds a channel between itself and
switch IV. Switch I then sends the request to switch IV,
which finds a dedicated channel between itself and switch
III. Switch III informs system M of system A's intention at
this time.
2. An acknowledgment from system M needs to be sent in the
opposite direction to system A.
3. After system A receives this acknowledgment the connection
established.
R. R. Malekar
Switching
12
R. R. Malekar
Switching
13
Note
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.
R. R. Malekar
Switching
14
circuit-switched network
B. Data Transfer Phase:
After the establishment of the dedicated
circuit (channels), the two parties can transfer
data.
C. Teardown Phase:
When one of the parties needs to disconnect,
a signal is sent to each switch to release the
resources.
R. R. Malekar
Switching
15
Example 1
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. 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.
R. R. Malekar
Switching
16
Switching
17
Note
Switching at the physical layer in the traditional telephone
network uses the circuit-switching approach. .
R. R. Malekar
Switching
18
R. R. Malekar
Switching
19
R. R. Malekar
Switching
20
Example 2
As another example, consider a circuit-switched
network that connects computers in two remote offices
of a private company. The offices are connected
using a T-l line leased from a communication service
provider. There are two 4 X 8 (4 inputs and 8 outputs)
switches in this network. For each switch, four output
ports are folded into the input ports to allow
communication between computers in the same office.
Four other output ports allow communication between
the two offices.
R. R. Malekar
Switching
21
R. R. Malekar
Switching
22
Switching
23
R. R. Malekar
Switching
24
Three phases
Setup phase, data transfer phase, teardown phase
R. R. Malekar
Switching
25
R. R. Malekar
Switching
26
Note
In a packet-switched network, there is no resource
reservation;
Resources are allocated on demand.
Switching
27
Datagram Networks
1.
2.
3.
4.
R. R. Malekar
Switching
28
R. R. Malekar
Switching
829
Switching
Out of order
Different delays
30
R. R. Malekar
Switching
31
Datagram Networks
Switching
32
R. R. Malekar
Switching
33
R. R. Malekar
Switching
34
This address remains the same during the entire journey of the
packet.
R. R. Malekar
Switching
35
R. R. Malekar
Switching
36
Note
Delay in a Datagram Network
Datagram network may have greater delay.
Delay is not uniform.
R. R. Malekar
Switching
37
Switching
38
Note
R. R. Malekar
Switching
39
R. R. Malekar
Switching
40
Switching
841
Global Addressing
R. R. Malekar
Switching
42
R. R. Malekar
Switching
43
R. R. Malekar
Switching
44
R. R. Malekar
Switching
45
Virtual-circuit network
Setup Phase:
In the setup phase, a switch creates an entry for a virtual
circuit.
Two steps are required:
1. the setup request
2. the acknowledgment
Teardown Phase:
In this phase, source A, after sending all frames to B, sends a
special frame called a teardown request.
Destination B responds with a teardown confirmation frame.
All switches delete the corresponding entry from their tables.
R. R. Malekar
Switching
46
Switching
47
Note
R. R. Malekar
Switching
48
R. R. Malekar
Switching
49
Teardown Phase
R. R. Malekar
Switching
850
Note
R. R. Malekar
Switching
51
Switching
52
R. R. Malekar
Switching
53
Switching
54