

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!


Thursday, February 23, 2006
Time: 90 Minutes Closed Book and Notes – No aids allowed
Question 1 (25 points)
a) Even though CSM/CD performs carrier sensing, data sent is still vulnerable to collisions. Why is that? How long is a packet vulnerable for? b) Explain the reasoning behind: i) The use of a random backoff in CSMA/CD. ii) The use of variable backoff times based on the truncated binary exponential algorithm. c) Explain what will happen in Ethernet if one of the cards on a hubbed network experiences the following problem (consider each problem separately): i) The card is “chattering” that is it is constantly sending data on the network. ii) The card has lost is capability to carrier sense but continues to be able to do collision detection.
Question 2 (20 points)
a) Explain why the socket calls to BIND and LISTEN are required on the server side while they are not required on the client side. b) When would you use sendto and recvfrom instead of send and recv in a sockets program? Why are IP addresses not needed as arguments to send and recv calls?
Question 3 (30 points)
a) A network sniffer (something that can read frames on a network) observes a frame on an Ethernet cable with the structure shown below. What are likely candidates for protocols X, Y and Z? Explain your answer.
b) Do the source and destination IP addresses change while an IP packet traverses the network? Why or Why not?
Protocol X Header
Protocol Y Header
Protocol Z Header
c) Does the Checksum field in an IP header change while an IP packet traverses the network? Why or Why not? d) It is said that the IP header checksum field “protects against errors in the IP header”. What does this mean? Why only the header?
Question 4 (25 points)
a) A number of Autonomous Systems (ASes) are connected as shown below.
The solid lines represent peering connections and the dashed lines represent client/ provider relationships where AS C is a client of AS Y, AS B is a client of AS X and AS A is a client of both AS Y and AS Z. Which of the following paths would be legal to use for networks in AS C to send data to AS A i. AS C AS B AS X AS Z AS A ii. AS C AS A iii. AS C AS Y AS A iv. AS C AS Y AS Z AS A For each illegal path explain where the “violation” occurred.
b) It is said that Longest Prefix Matching is required because of the introduction of classless IP addressing. Explain why this is the case. c) Explain one advantage and one disadvantage that link-state routing would have over distance vector routing.