






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Instructions:
Due Date: Oct. 30, 2008 (submit in class, at the start of class; OR place your solution in the wall-mounted box outside my office, THN E213, by the same deadline)
Problem 1. (1 point): Let’s say the FCC allocated a total of 40Mhz for a new service and divided this into two 20Mhz bands, one for the upstream direction and the second for the downstream direction. This service is bidirectional, with each communication ses- sion requiring one 20khz channel in each direction. It is an FDMA/FDD system. Assume that 20 channels are set aside in each direction for control messages (which means these channels are unavailable to carry user data). Assume that a service provider was able to purchase the full 40Mhz band for a coverage area of 96 cells to provide this service. The service provider chooses a reuse factor of 4. What is the maximum number of simultaneous communication sessions that can be supported by this ser- vice provider?
Problem 2. (1 point): Consider a video stream, which is created using a resolution of (640 x 480) pixels per frame, 8 bits per pixel, and a frame rate of 20 frames/sec. What is the smallest-rate SONET signal required to carry this video stream?
Problem 3. [2 points]
Consider the packet-based multiplexer shown in Fig. 1. The output link transmission rate is 10Mbps. Assume packets des- tined to this output link arrive as shown in Table 1.
Fill in the departure times of packets under the two scheduling schemes:
a. First-Come First-Served (FCFS)
b. Priority queueing (1: high priority; 2: low priority)
Show steps:
Table 1: Packet arrivals and departures
Packet Priority Length in bytes
Time of arrival (packet has fully arrived at the listed time instant; from this instant, it awaits transmission on the output link)
Time of departure (when emission of the whole packet is complete) under FCFS
Time of departure under Priority queueing
1 1 9000 t = 0.2 sec 2 2 64000 t = 0.202 sec 3 1 9000 t = 0.205 sec
Fig 1 Packet-based multiplexer
Link 1
Link L
Link 2 Output link: 10Mbps
Problem 5. [2 points]
Assume that the switches shown in Fig. 2 are SONET circuit switches. All switches operate at the OC1 crossconnect rate. Switch SW1 consists of multiplexers, demultiplexers, and a 3-stage non-blocking space switch. The space switch consists of 5 input-stage switches, 5 output-stage switches and a minimum number of intermediate-stage switches. Answer the following:
a. What is the size of each input-stage switch (i.e., what is and what is from the class notes)?
b. What is the size of each intermediate stage switch?
c. Draw an unfolded view of switch SW1.
n k
Problem 6. (3 points):
For the network shown in Fig. 3, assume that all links are bidirectional. The number indicated next to each link is the link weight. Assume that the path cost is the sum of the weights of the links on the path.
a. Show the steps of Dijkstra’s shortest path algorithm for the network shown in Fig. 3 to obtain the shortest paths from switch c to all switches? Fill in the table of iterations, showing the set M, the distances, and the routes at each iteration, as described in the lecture notes.
b. Show the routing table computed at switch c.
Answer:
Table 4: Steps of Dijkstra’s shortest path algorithm
Iteration M
0 {c} 3, {c-b}
1 2 3 4
Table 5: Routing table at switch c
Destination address Next-hop
a b d e f
a
b
c
d
e f 1
Fig. 3 An example network
Da Db Dd De Df
Problem 8. (3 points)
Assume that the spanning tree algorithm has converged in the network of Ethernet bridges shown in the figure below. The port states, ‘b’ for “blocked” state and ‘f’ for “forwarding” state, are shown for all bridge ports.
a. Assume that the filtering databases are initially empty at all the bridges. Now if host sends an Ethernet frame to , list the ports on which the bridges receive and forward the Ethernet frame. Fill in the table below:
b. Subsequently (i.e., after the frame transmission of part (a)), if host sends an Ethernet frame to , list the ports on which the bridges receive and forward the Ethernet frame. Fill in the table below [Hint: address learn- ing]:
Table 8: Ports on which Ethernet frame is received or forwarded
Bridge Port(s) on which the frame is received Port(s) on to which the frame is forwarded
photon 2 3 duke utopia catt
Table 9: Ports on which Ethernet frame is received or forwarded
Bridge Port(s) on which the frame is received Port(s) on to which the frame is forwarded
photon duke utopia catt
Bridge photon
LAN B
LAN A
LAN D
Bridge utopia Bridge catt
Bridge duke
(^1 )
1 3
3 2
(^1 ) 3
2
LAN C
LAN E
4 LAN F
f
b
f
f
b
f
f
f f
f
f
b
Fig. 4 Network of Ethernet bridges (switches)
Problem 9. (5 points):
Consider the network shown in Fig. 5. All the subnets in this network are Ethernet LANs with subnet mask /24, except for the subnet 193.41.50.128 whose subnet mask is 255.255.255.192, as shown in Fig. 5. The subnet IDs for the Ethernet hubbed LANs are shown next to each LAN, and the host IDs are shown next to the host and router interfaces. For example, the IP address of host H1’s NIC is 158.67.9.17. The IP addresses of all host and router interfaces can be derived in this manner, except for host H4, whose NIC has been assigned 198.80.94.90 as its IP address, with a subnet mask of /24.
The routing tables in the IP routers and at some of the hosts are shown in the tables below. The /32 rows, corresponding to each router’s and host’s own interfaces, are not shown in the tables below, but assume that these rows are present in the routing tables. Note that the default gateway row is not mandatory. For example, there is no such row in the routing table at IP router, R2.
Table 10: Routing table at IP router R
Destination IP address Subnet mask Flags
“Gateway” - Next hop IP address OR IP address of directly connected interface
Interface
Router R
Router R
Router R
Host H
Host H
Host. H
Host H
198.80.94.
Fig. 5 Network of IP routers, Ethernet hubbed LANs and hosts
Listed in the table below are the MAC addresses for various Ethernet interfaces:
Assume that all ARP caches are empty initially. Answer the following questions:
a. What is the IP address of host H3? (Hint: subnetting)
b. If a process in host H2 initiates an IP datagram to Host H4 (198.80.94.90), how many rows of host H2’s IP rout- ing table will yield a match?
c. Before sending the datagram to host H4, host H2 needs to send an ARP request (query). What IP address is sent in the “Target IP address” field of this ARP request? In other words, what IP address is resolved by host H2 using ARP before it sends the datagram to host H4.
d. If Host H1 sends an IP datagram to host H2, the route taken by the IP datagram is as follows: 158.67.9 subnet, Router R1, 189.90.43 LAN, router R3, 198.80.94 subnet. On each Ethernet LAN through which the datagram passes, provide the destination and source IP addresses, and destination and source MAC addresses carried in the headers by filling in the table below:
Answer:
Table 15: IP and MAC addresses of Ethernet interfaces
IP address of interface
MAC address of interface
158.67.9.1 1:a:b0:c1:4d:3e 189.90.43.3 3:4:5:6:7: 189.90.43.2 1a:2b:3c:4d:5e:6f 189.90.43.1 1a:2a:3a:4a:5a:6a 198.80.94.80 8a:9b:7c:6d:5e:4f 198.80.94.1 11:22:33:44:55: 158.67.9.17 12:9:00:5e:1e:3f
Table 16: IP addresses and MAC addresses
LAN (list subnet ID)
Destination IP address
Source IP address
Destination MAC address
Source MAC address
158.67. 189.90. 198.80.