

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Communication Networks; Subject: Computer Science; University: University of Illinois - Urbana-Champaign; Term: Spring 2007;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Assigned reading: Peterson and Davie: Chapter 2.5 – 2.9. All problems carry equal weight. For full credit, show all work.
a. Consider a 10 Mbps Ethernet segment with two nodes, A and B. The propagation delay between two nodes is 250 bit times. Suppose node A begins transmitting a frame, and before it finishes, node B begins transmitting a frame. Can A finish transmitting before it detects that B has transmitted? Why or why not? If the answer is yes, then A incorrectly believes that its frame was successfully transmitted without a collision.
Now consider a 100 Mbps 100BT Ethernet. b. In order to have an efficiency of 0.50, what should be the maximum distance between a node and the hub? Assume a frame length of 64 bytes. c. Does this maximum distance also ensure that a transmitting node A will be able to detect whether any other node transmitted while A was transmitting? Why or why not? d. How does your maximum distance compare to the actual 100 Mbps standard of a maximum of 200 m between any two nodes?
This problem is about the Ethernet/IEEE 802.11 access protocol. To be definite, suppose that if a host detects a transmission while it is transmitting a frame, then: (i) if the host has already transmitted the 64 bit preamble, the host stops transmitting the frame and sends a 32 bit jamming sequence; (ii) Else the host finishes transmitting the 64 bit preamble and then sends a 32 bit jamming sequence. For simplicity, assume a collision is detected as soon as an interfering signal first begins to reach a host. Suppose the packets are 512 bits long, which is the minimum length allowed. Hosts A and B are the only active hosts on a 10 Mbps Ethernet and the propagation time between them is 12 μS, or 120 bit durations. Suppose A begins transmitting a frame at time t = 0, and just before the beginning of the frame reaches B, B begins sending a frame, and then almost immediately B detects a collision. a. Does A finish transmitting the frame before it detects that there was a collision? Explain. b. What time does A finish sending a jamming signal? What time does B finish sending a jamming signal? c. What time does A first hear an idle channel again? What time does B first hear an idle channel again? d. Suppose each host next decides to retransmit immediately after hearing the channel idle. After the resulting (second) collision: When does A next hear the channel idle? When does B next hear the channel idle? e. Suppose after the second collision, A decides to wait 512 bit durations to retransmit (if it hears silence after that long) and B decides to retransmit immediately after hearing a silent channel. Is the transmission of host B successful? f. At the time A was planning to send its second retransmission, it senses a carrier present. Suppose at that particular time A decides to wait 3 x 51.2μs more until its next retransmission. What time does host A finish sending its packet?
Consider an error-free 1024-kbps channel used to send 256B data frames in one direction, with very short acknowledgements coming back the other way. Assume a propagation delay of 50 msec. a. What is the maximum throughput for window size of 1, 7, 15, 127 and 255? b. At what minimum window size can the protocol run at the full rate of the channel?
a. Draw a timeline for the sliding window algorithm with SWS = RWS = 7 frames for the following two situations. Use a timeout interval of about 2 x RTT.
Consider three nodes in series. Node A is connected to node B via a 2 Gbps fiber optic link, 500 km in length. Node B is connected to node C via a 50 Mbps link, 10 km in length. The links are full duplex. The rate of transmission errors on the links, the time to switch a packet at node B, and the time to transmit an ACK are all negligible. A large file is to be sent from node A to node C, and there is no other traffic on the links. Packets are 1024 B, including headers. a. Ignoring reliability and packet headers, what is the maximum throughput that can be achieved (in Mbps)? Explain. b. What is the round trip time from A to C? c. What is the roundtrip bandwidth delay product for the path from A to C? (Specify the units you use). d. Suppose an end-to-end sliding window protocol is used with SWS=RWS. What size of SWS is optimal? e. Why wouldn't you want SWS to be many times larger than the value you suggested in part d?
Consider a token ring with a data rate of 50 Mbps, a ring latency of 250 μsec, and 512 bit packets. a. Assuming only one host wants to transmit and the delayed token release scheme is used, what is the maximum effective throughput rate that can be achieved? What is the efficiency? b. Now assume N hosts want to transmit on the token ring and the token holding time (THT) is 200 μsec. What is the token rotation time? What is the maximum effective throughput rate that can be achieved? What is the efficiency? c. Under the assumptions of part b, and using the immediate release scheme, what is the throughput rate that can be achieved?