Solution Manual To Chapter 08
Solution Manual To Chapter 08
Review Questions
2. In a space-division switch, the path from one device to another is spatially separate
from other paths. The inputs and the outputs are connected using a grid of electronic
microswitches. In a time-division switch, the inputs are divided in time using TDM.
A control unit sends the input to the correct output device.
5. The three traditional switching methods are circuit switching, packet switching, and
message switching. The most common today are circuit switching and packet
switching.
6. The address field defines the virtual circuit number (local) addressing.
9. In multistage switching, blocking refers to times when one input cannot be connected
to an output because there is no path available between them—all the possible
intermediate switches are occupied. One solution to blocking is to increase the
number of intermediate switches based on the Clos criteria.
1
10. A packet switch has four components: input ports, output ports, the routing
processor, and the switching fabric. An input port performs the physical and data link
functions of the packet switch. The output port performs the same functions as the
input port, but in the reverse order. The routing processor performs the function of
table lookup in the network layer. The switching fabric is responsible for moving the
packet from the input queue to the output queue.
Exercises
12. When a packet arrives at a router in a datagram network, the only information in the
packet that can help the router in its routing is the destination address of the packet.
The table then is sorted to make the searching faster. Today’s routers use some
sophisticated searching techniques. When a packet arrives at a switch in a virtual-
circuit network, the pair (input port, input VCI) can uniquely determined how the
packet is to be routed; the pair is the only two pieces of information in the packet that
is used for routing. The table in the virtual-circuit switch is sorted based on the this
pair. However, since the number of port numbers is normally much smaller than the
number of virtual circuits assigned to each port, sorting is done in two steps: first
according to the input port number and second according to the input VCI.
13. A datagram or virtual-circuit network handles packetized data. For each packet, the
switch needs to consult its table to find the output port in the case of a datagram
network, and to find the combination of the output port and the virtual circuit
identifier in the case of a virtual-circuit network. In a circuit-switched network, data
are not packetized; no routing information is carried with the data. The whole path is
established during the setup phase.
14. According to Clos, n = (N/2)1/2 = 7.07. We can choose n = 8. The number of crossbars
in the first stage can be 13 (to have similar crossbars). Some of the input lines can be
left unused. We then have k = 2n − 1 = 15. Figure 8.3 shows the configuration.
2
15.
3
17.
Packet 1: 2
Packet 2: 3
Packet 3: 3
Packet 4: 2
18. The switching or routing in a datagram network is based on the final destination
address, which is global. The minimum number of entries is two; one for the final
destination and one for the output port. Here the input port, from which the packet has
arrived is irrelevant. The switching or routing in a virtual-circuit network is based on the
virtual circuit identifier, which has a local jurisdiction. This means that two different
input or output ports may use the same virtual circuit number. Therefore, four pieces of
information are required: input port, input virtual circuit number, output port, and output
virtual circuit number.
25.
Packet 1: 2, 70
Packet 2: 1, 45
Packet 3: 3, 11
Packet 4: 4, 41