

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!


Problem 1 (4.2) With pure ALOHA the usable bandwidth is 0.184 56 kbps = 10.3 kbps. Each station requires 10 bps, so N 10300 / 10 1030 stations Problem 2 (4.4) Each terminal makes one request every 200 sec, for a total load of 50 requests/sec. Hence G 50 / 8000 1 / 160_. There are 8000 (=1/(125 x 10-6)) slots per second_ Problem 3 (4.8) (a) The worst case is: all stations want to send and s is the lowest numbered station. Wait time N bit contention period + ( N 1) d bit for transmission of frames. The total is N ( N 1) d bit times. (b) The worst case is: all stations have frames to transmit and s has the lowest virtual station number. Consequently, s will get its turn to transmit after the other N 1 stations have transmitted one frame each, and N contention periods of size log 2 N each. Wait time is thus ( N 1) d N log 2 bits. Problem 4 (4.10) Stations 2, 3, 5, 7, 11, and 13 want to send. Eleven slots are needed, with the contents of each slot being as follows: slot 1: 2, 3, 5, 7, 11, 13 slot 2: 2, 3, 5, 7 slot 3: 2, 3 slot 4: 2 slot 5: 3 slot 6: 5, 7 slot 7: 5 slot 8: 7 slot 9: 11, 13 slot 10: 11 slot 11: 13 Problem 6 (4.12) Radios cannot receive and transmit on the same frequency at the same time, so CSMA/CD cannot be used. If this problem could be solved (e.g., by equipping each station with two radios), there is still the problem of not all stations being within radio range of each other. Only if both of these problems can be solved, is CSMA/CD a candidate. Problem 7 (4.14) Yes. Imagine that they are in a straight line and that each station can reach only its nearest neighbors. Then A can send to B while E is sending to F. Problem 8 (4.16) The Ethernet uses Manchester encoding, which means it has two signal periods per bit sent. The data rate of the standard Ethernet is 10 Mbps, so the baud rate is twice that, or 20 megabaud. Problem 7 (4.17) The signal is a square wave with two values, high (H) and low (L). The pattern is LHLHLHHLHLHLLHHLLHHL.
Problem 8 (4.18) The pattern this time is HLHLHLLHHLLHLHHLHLLH. Problem 7 (4.21) For a 1-km cable, the one-way propagation time is 5 μsec, so 2τ 10 μsec. To make CSMA/CD work, it must be impossible to transmit an entire frame in this interval. At 1 Gbps, all frames shorter than 10,000 bits (1 x 10^9 x 10 x 10-6) can be completely transmitted in under 10 μsec, so the minimum frame is 10,000 bits or 1250 bytes. Problem 8 (4.22) The minimum Ethernet frame is 64 bytes, including both addresses in the Ethernet frame header, the type/length field, and the checksum. Since the header fields occupy 18 bytes and the packet is 60 bytes, the total frame size is 78 bytes, which exceeds the 64-byte minimum. Therefore, no padding is used.
23. The maximum wire length in fast Ethernet is 1/10 as long as in Ethernet. 24. The payload is 1500 bytes, but when the destination address, source address, type/length, and checksum fields are counted too, the total is indeed
Problem 7 (4.24) The payload is 1500 bytes, but when the destination address, source address, type/length, and checksum fields are counted too, the total is indeed 1518.