Professional Documents
Culture Documents
Switching
8.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Figure 8.1 Switched network
A switched network consists of a series of interlinked nodes,
called switches.
Switches are devices capable of creating temporary
connections between two or more devices linked to the
switch.
In a switched network, some of these nodes are connected to
the end systems (computers or telephones, for example)
8.2
Figure 8.2 Taxonomy of switched networks
8.3
Switching and TCP/IP Layers
At the physical layer, we can have only circuit
switching. There are no packets exchanged at the
physical layer.
At the data-link layer, we can have packet switching.
Packet switching at the data-link layer is normally
done using a virtual-circuit approach.
At the network layer, we can have packet switching.
In this case, either a virtual-circuit approach or a
datagram approach can be used. Currently the
Internet uses a datagram approach.
At the application layer, we can have only message
switching. The communication at the application layer
occurs by exchanging messages
7.4
8-1 CIRCUIT-SWITCHED NETWORKS
Three Phases
Efficiency
Delay
Circuit-Switched Technology in Telephone Networks
8.5
Note
8.6
Figure 8.3 A trivial circuit-switched network
8.7
Note
8.8
Three Phases
Setup Phase
Data-Transfer Phase
Teardown Phase
8.9
Efficiency
8.10
Note
8.11
Delay
8.13
8-2 PACKET SWITCHING
Routing Table
Efficiency
Delay
Datagram Networks in the Internet
8.14
Note
8.15
Datagram Networks
8.16
Figure 8.7 A datagram network with four switches (routers)
8.17
Routing Table
8.18
Figure 8.8 Routing table in a datagram network
8.19
Note
8.20
Efficiency
8.21
Delay
8.22
Figure 8.9 Delay in a datagram network
8.23
Note
8.24
8-3 VIRTUAL-CIRCUIT NETWORKS
8.26
Figure 8.10 Virtual-circuit network
8.27
Addressing
In a virtual-circuit network, two types of addressing are involved:
global and local (virtual-circuit identifier).
Global Addressing
A source or a destination needs a global address. A global address in
virtual-circuit networks is used only to create a virtual-circuit
identifier.
Virtual-Circuit Identifier
The identifier is used for data transfer is called the virtual-circuit
identifier (VCI).
8.28
Figure 8.11 Virtual-circuit identifier
8.29
Three Phases
8.30
Setup Phase
8.31
Figure 8.14 Setup request in a virtual-circuit network
8.32
Figure 8.15 Setup acknowledgment in a virtual-circuit network
8.33
Data-Transfer Phase
8.34
Data-Transfer Phase
8.35
Figure 8.13 Source-to-destination data transfer in a virtual-circuit network
8.36
Teardown Phase
8.37
Efficiency
8.38
Figure 8.16 Delay in a virtual-circuit network
8.39
Note
8.40