Computer Networks: A Systems Approach 5e - Exercises (1.23-A)


Решение в MathCAD

Assume you wish to transfer an n B file along a path composed of the source, destination, 7 point-to-point links, and 5 switches.
Suppose each link has a propagation delay of 2ms and a bandwidth of 4 Mbps, and that the switches support both circuit and packet switching.
Thus, you can either break the file up into 1-KB packets or
set up a circuit through the switches and send the file as one contiguous bitstream.
Suppose that packets have 24 B of packet header information and 1000 B of payload, store-and-forward packet processing at each switch incurs a 1-ms delay after the packet had been completely received, packets may be sent continuously without waiting for acknowledgments,
and circuit setup requires a 1-KB message to make one round trip on the path, incurring a 1-ms delay at each switch after the message has been completely received. Assume switches introduce no delay to data traversing a circuit. You may also assume that filesize is a multiple of 1000 B.
(a) For what filesize n B is the total number of bytes sent across the network less for circuits than for packets?

Вариант А



Ответ размер файла больше 43000 Б. Правда ответ не сходится с ответом в задачнике.
кто решит правильно??

Computer Networks: A Systems Approach 5e - Exercises (1.22)

Ссылка на решение в MathCAD

Suppose that a certain communications protocol involves a per-packet overhead of 50 bytes for headers and framing.We send 1 million bytes of data using this protocol; however, one data byte is corrupted and the entire packet containing it is thus lost. Give the total number of overhead+loss bytes for packet data sizes of 1000, 10,000, and 20,000 bytes. Which size is optimal?


Оптимальный вариант - размер пакета10000 B


Computer Networks: A Systems Approach 5e - Exercises (1.4)

Ссылка на решение в MathCAD

Задачка аналогичная 1.3, но с другими условиями

Calculate the total time required to transfer a 1.5-MB file in the following cases, assuming an RTT of 80ms, a packet size of 1 KB data, and an initial 2×RTT of “handshaking” before data is sent:
(a) The bandwidth is 10 Mbps, and data packets can be sent continuously.
(b) The bandwidth is 10 Mbps, but after we finish sending each data packet we must wait one RTT before sending the next.
(c) The link allows infinitely fast transmit, but limits bandwidth such that only 20 packets can be sent per RTT.
(d) Zero transmit time as in (c), but during the first RTT we can send one packet, during the second RTT we can send two packets, during the third we can send four (23−1), etc. (A justification for such an exponential increase will be given in Chapter 6.)



Computer Networks: A Systems Approach 5e - Exercises (1.3)

Ссылка на решение в MathCAD

Calculate the total time required to transfer a 1000-KB file in the following cases, assuming an RTT of 50 ms, a packet size of 1 KB data, and an initial 2×RTT of “handshaking” before data is sent:
(a) The bandwidth is 1.5 Mbps, and data packets can be sent continuously.
(b) The bandwidth is 1.5 Mbps, but after we finish sending each data packet we must wait one RTT before sending the next.
(c) The bandwidth is “infinite,” meaning that we take transmit time to be zero, and up to 20 packets can be sent per RTT.
(d) The bandwidth is infinite, and during the first RTT we can send one packet (21−1), during the second RTT we can send two packets (22−1), during the third we can send four (23−1), and so on. (A justification for such an exponential increase will be given in Chapter 6.)

Вариант (а) - представлено решение для двух BW








Вариант (b) - представлено решение для двух BW

Вариант (c, d)


Итак, подведем краткий итог:
1. Получил сертификат курса "Computer Networks" ценой неимоверный усилий и лишений: 06.01.2014 - 18.04.2014

2. Понял что информация по Компьютерным сетям в разы объемнее того, что дается на CCNA, поэтому сижу читаю книги по Сетям и решаю задачи (раздел блога Computer Networks и Computer Networks - Exercises)