Module-1 Chapter-8
Module-1 Chapter-8
3)
Switching
• A network is a set of connected-devices.
• Whenever we have multiple-devices, we have the problem of
how to connect them to make one-to-one communication
possible.
• Switching.
• 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.
• In a switched-network,
• Some nodes are connected to the end-systems
• Some nodes are used only for routing.
Figure 8.2 Taxonomy of switched networks
Switching and TCP/IP Layers
Switching can happen at several layers of the TCP/IP
protocol suite.
1. Switching at Physical Layer:-circuit switching.
2. Switching at Data-Link Layer:- packet switching(virtual
circuit)
3. Switching at Network Layer:- packet switching.(both
currently datagram)
4. Switching at Application Layer:-message switching.
8-3 PACKET SWITCHING NETWORKS
8.13
VIRTUAL-CIRCUIT NETWORKS
8.23
Figure 8.13 Source-to-destination data transfer in a virtual-circuit network
8.24
Setup Phase
• In the setup phase, a switch creates an entry for a virtual
circuit.
• Two steps are required: the setup request and the
acknowledgment.
• Setup Request
• A setup request frame is sent from the source to the
destination.
• Acknowledgment
• A special frame, called the acknowledgment frame,
completes the entries in the switching tables
8.25
Figure 8.14 Setup request in a virtual-circuit network
8.26
a. Source A sends a setup frame to switch 1.
8.29
a. The destination sends an acknowledgment to switch 3.
a. The acknowledgment carries the global source and
destination addresses so the switch knows which entry in
the table is to be completed.
b. The frame also carries VCI 77, chosen by the destination as
the incoming VCI for frames from A.
c. Switch 3 uses this VCI to complete the outgoing VCI
column for this entry. Note that 77 is the incoming VCI for
destination B, but the outgoing VCI for switch 3.
8.31
Teardown Phase
8.32
Efficiency
• resource reservation in a virtual-circuit network can be
made during the setup or can be on demand during the
data-transfer phase.
• first case, the delay for each packet is the same
• second case, each packet may encounter different
delays.
• There is one big advantage in a virtual-circuit network even
if resource allocation is on demand.
• The source can check the availability of the resources,
without actually reserving it.
8.33
Figure 8.16 Delay in a virtual-circuit network
8.34