EECS 325 Computer Networks I  Assignment 1

$35.00

Category: You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

Description

5/5 - (2 votes)

Questions
1. (5pts/4pts) Consider a 100 Mbps link, that is preceded by a router with a queue that
can hold 1000 packets. Suppose the average packet length is 125 bytes and the average
packet arrival rate is 80k pps (packets per second). (Note: 1 byte = 8 bits)
a. (1pt) Calculate the transmission delay for one packet.
b. (2pts/1pt) What is the average number of packets in the queue? (Hint: average queue length =
traffic intensity
1−traffic intensity)
c. (2pts) What is the average amount of waiting time for a packet?
2. (6pts/4pts) Consider two hosts A and B, connected by a direct link of capacity 4 Mbps.
Suppose the propagation delay between the two hosts could be ignored. Host A wants
to send a 10 MB file to Host B. Before sending the file, A divides the file into 1000-byte
chunks and adds an additional 60-byte packet header to each packet.
a. (3pts/2pts) How long does it take for Host B to receive the complete file?
b. (3pts/2pts) Based on question a, what is the ’goodput’ from A to B? (Hint: Goodput can be calculated as the number of payload bits arriving per second. Goodput is
the application level throughput, i.e. the number of useful information bits, delivered
by the network to a certain destination,per unit of time.)
3. (7pts/4pts) Suppose a company uses satellites to provide Internet access. The satellite is located at 750km above Earth (assume this is the direct distance between the
equipment and the satellite). Packets are transmitted from the sender (equipment) to
the receiver (equipment) via the satellite as illustrated by the figure above. Suppose
the average packet size is 1250 bytes and link bandwidth (between the sender/receiver
equipment and the satellite) is 100 Mbps.
a. (2pts/1pt) Calculate the propagation delay for a packet from the sender to receiver, given the propagation speed is 3 × 108 m/s.
1 of 3
EECS 325 Computer Networks I
Spring 2020 Assignment 1
b. (2pts/1pt) If the sender could not send another packet until it receives an acknowledgement message from the receiver, then what would be the average throughput of
this communication channel? (You can also represent this as a fraction of the link
capacity. The length of the acknowledgement packet could be ignored.)
c. (3pts/2pts) Based on question b, how large each packet should be to fully utilize
the link capacity (In other words, the average throughput could reach 100 Mbps)?
4. (13pts) There are two hosts A and B in a packet-switched network, interconnected
by three routers, as illustrated in the figure below. Each link is annotated with link
capacity (above) and propagation delay (below). Each router follows the store-andforward model to process packets, and has a queue that can hold 5 packets for each
direction. If the queue is full and a new packet arrives at the router, the new packet is
dropped. (Note: Once a packet starts being transmitted, it will be removed from the
queue. Thus, there may be 6 packets in the router at any given time point). Suppose
the network is empty and all the routers are idle.
1Mbps
2ms
500Kbps 2Mbps
2ms
A B
20ms
1Mbps
30ms
a. (2pts) If Host A sends a packet of length 1500 bytes to Host B, how long does
it take for this packet to arrive at Host B?
b. (2pts) If Host A sends three 1500 byte packets to Host B, one immediately after the other. How long does it take for the last packet to reach Host B?
c. (3pts) If Host A sends 20 back-to-back 1500 byte packets to Host B, which packets
2 of 3
EECS 325 Computer Networks I
Spring 2020 Assignment 1
will be dropped during the transmission? Assume the packets are numbered from 1 to
20 in order.
d. (6pts) Calculate the worst-case end-to-end delay for (Hint: not all the queues
will be full):
(a) (3pts) For Host A’s 1500 bytes packet to reach Host B
(b) (3pts) For Host B’s 1500 bytes packet to reach Host A
3 of 3