










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!











Name …....................................................ID …................................ Section …........Seat No..........
Midterm Examination Answers: Semester 2/ Course Title : ITS413 Internet Technologies and Applications Instructor : Dr Steven Gordon Date/Time : Wednesday 7 January 2009, 13:30-16: Instructions:
Multiple Choice Questions [15 marks] Select the most appropriate answer. Clearly circle (or indicate) your final answer. You must select only one answer. Each question is worth 1.5 marks.
hidden terminals: a) Decrease the RTS Threshold b) Increase the RTS Threshold c) Decrease the data rate d) Increase the data rate e) Decrease CWmin f) Increase CWmin
Short Questions [20 marks] For each question fill in the blank space with an appropriate word, acronym, name or phrase. For each blank space you must give only one answer. However, there may be more than one correct answer. Each question is worth 2 marks.
retransmissions. Retransmissions wasted network bandwidth and reduce throughput. f) For IEEE 802.11 MAC protocol, describe one case (set of conditions) where a collision may still occur. [2 marks] Answer If two stations, that end deference at the same time, choose the same backoff interval, they may transmit at the same time causing a collision. If two stations, both within range of the receiver, but outside of range of each other (and hence cannot sense/hear each other), transmit at the same time, a collision may occur.
Question 2 [11 marks] When a WLAN client loses connectivity with its current AP (e.g. moves out of range), it will attempt to discover new APs and then join one of the selected APs. The time from when connectivity is lost with the old AP until the time when the client has successful joined with a new AP, is called the handover time. Consider the scenario with the client (C) moving from AP1 towards AP2 in Figure 1. The large circles show the transmission ranges of the APs. Assume at the current position, the client has just lost connectivity with AP1. a) Draw a diagram that shows the exchange of frames for the client to actively discover AP and join AP2's network. Label each frame with its name. [3 marks] Answer Figure 1 : WLAN Handover
Probe Request Client AP Probe Response Authentication Request Authentication Response Association Request Association Response
Question 3 [12 marks] a) Consider three WLAN stations, all within transmission range of each other. IEEE 802. DCF is used. Draw a diagram that illustrates the DCF operation under the following conditions: ◦ All times are given in microseconds (μs). ◦ Station A has data with payload 500 Bytes ready to transmit to station B at time 0 ◦ Station C has data with payload 1000 Bytes ready to transmit to station B at time 100 ◦ When choosing random numbers, the stations choose the following values in order: ▪ Station A: 14, 6, 7, ... ▪ Station B: 5, 10 ,3, ... ▪ Station C: 3, 12, 1, ... ◦ The WLAN parameters as in Table 1 are used. Parameter Value Data Rate 20 Mb/s DATA Header 50 Bytes ACK transmission 10 μs RTS transmission 10 μs CTS transmission 10 μs RTS Threshold 1500 Bytes Fragmentation Threshold 1500 Bytes DIFS 35 μs SIFS 10 μs Slot Time 10 μs CWmin 15 CWmax 1023 Table 1 : WLAN Parameters You must clearly label all events/frames in the operation. Start at time 0, and finish when the last DATA frame is acknowledged. Use the following page for the diagram. Your diagram does not have to be to scale, however showing the timing of events will help with answering subsequent parts of this question. [4 marks]
result in a collision at B and no ACKs would be returned to either A or C, resulting in retransmissions by both stations. Another condition is if B chosen a Backoff of 4 (instead of 3) so both stations complete at 175.
Question 4 [18 marks] Figure 2 shows an IP network with a set of routers (R) and hosts (H). The lines show the IP connectivity between the devices. The lower case letters (a, b and c) are labels for the router interfaces. For example, router R5 has three network interfaces: a, b and c (or R5a, R5b and R5c). Each host only has a single network interface. Hosts H1 and H2 are in the same IP subnet as R1a (called subnet W). Router interfaces R1b and R5a are in the same IP subnet as each other (but different from subnet W). Assume any layer 2 network technology (wired or wireless) may be used to provide the IP connectivity between interfaces. The figure does not indicate physical proximity of devices: that is, although hosts H2 and H3 are near each other in the figure, they may not be near each other in the real network. Consider the case when any of the hosts may be mobile and Mobile IP is used. Assume hosts may only attach to router R1, R2, R3 and R4 (that is, the other routers do not support hosts visiting their IP subnet). In your answers you may refer to a device or interface by its name (e.g. H1; R or R5a). Instead of giving a real IP address, indicate the interface (e.g. H1; R5a). a) List the Home Agent(s) with respect to H1. [1 mark] Answer R b) List the Foreign Agent(s) with respect to H1. [1 mark] Answer R2, R3, R Host H1 is corresponding with host H8 (that is, H8 is the correspondent node). Assume that during the communication host H1 moves such that it leaves subnet W and enters subnet Y. Mobile IP is used to maintain the connection during movement. Figure 2 : IP Network R H R5 R R R H R H3 H R H5 H R H7 H R a b a b a b a b b a c b a c a b (^) b a a b W X Y Z
Mobile Host COA H1 R3a Home IP HA MAC Address H1 R1a (not needed in answer) f) Now the registration is complete, indicate the path that packets take for IP packets being sent (indicate the path by listing the complete set of routers, in order, the packets pass via): i. From H8 to H1 [2 marks] Answer H8 → R4 → R7 → R9 → R8 → R5 → R1 → R5 → R8 → R9 → R6 → R3 → H ii. From H1 to H8 [2 marks] Answer H1 → R3 → R6 → R9 → R7 → R4 → H g) Draw the packet received by router R6 for the following cases (the packet must clearly indicate all source/destination IP addresses carried in the packet header): i. From H8 to H1 [2 marks] Answer ii. From H1 to H8 [2 marks] Answer Src=H1 Dst=H8 DATA Src=R1a Dst=R3a Src=H8 Dst=H1 DATA
Question 5 [11 marks] Consider a network consisting of two IEEE 802.11a wireless LAN clients in a BSS, and that BSS is connected to router R1 via a switched 100Mb/s Fast Ethernet LAN. The router R1 has three interfaces in total, one of which is PDH (which connects to router R2) and another is Gigabit Ethernet (there are two servers attached, via a switch, to this interface). The router R2 has two interfaces, the 2nd^ interface uses ATM to connect to router R3. The router R3 has an in-built Bluetooth access point. There is a single mobile phone connected to that Bluetooth access point. a) Draw the network topology, naming all network devices and naming all links. [3 marks] Answer b) How many IP subnets are in the network? [1 mark] Answer 5 IP subnets. R1 has is attached to 3. R2 is attached to one additional subnet, as is R3. c) Draw the protocol stack of the following devices, clearly labelling the protocols/technologies used at each layer (assume hosts run a 5 layer Internet stack; if the question does not indicate a specific protocol, then give the layer name or example protocol): i. One of the wireless LAN clients [2 marks]
Switch Switch AP Client 1 Client 2 Bluetooth Client Server 1 Server 2 Fast Ethernet Gigabit Ethernet R PDH ATM WLAN Bluetooth