telecom& computer networking

Roz
assignment1_MMIS653_Fall20181.pdf

Assignment#1 MMIS 653 (Fall 2018)

Total points: 80

Due date: 9/16/2018 11:59PM

Questions: (50 points)

1, (6 points) Suppose there are exactly two packet switches (switch#1 and switch#2)

between a sending host and a receiving host. The transmission rate between the sending

host and switch#1 is R1. The transmissions rate between switch#1 and switch#2 and

between switch#2 and the receiving host are R2 and R3, respectively. Assuming that the

switches use store-and-forward packet switching, what is the total end-to-end delay to

send a packet of length L? (Ignore queuing, propagation delay, and processing delay.)

2, (10 points)

(a) How many milliseconds does it take for a packet of length 1,000 bytes to be delivered from the sending host to the receiving host over a link of distance 1,200

km, propagation speed 2.4x108 m/s, and transmission rate 10Mbps (consider both

transmission delay and propagation delay)?

(b) More generally, how long does it take a packet of length L to be delivered from the sending host to the receiving host over a link of distance d, propagating speed

s, and transmission rate R bps?

(c) How many milliseconds does it take for the first bit of the packet to arrive at the receiving host (start to count the time when the sending host starts to transmit the

first bit of the packet)?

(d) How many milliseconds does it take for the last bit of the packet to be put on the link (start to count the time when the sending host starts to transmit the first bit of

the packet)?

3, (8 points) Suppose Host A wants to send a large file to Host B. The path from Host A

to Host B has three links, of rate R1=500kbps, R2=1.5Mbps, and R3=1Mbps.

(a) Assume no other traffic in the network, what is the throughput for the file transfer? (b) Suppose the file is 5MB (Assume 1MB= 106 bytes). Dividing the file size by the

throughput, roughly how long will it take to transfer the file to Host B?

4, Suppose users share a 2Mbps link. Also suppose each user requires 500kbps when

transmitting, but each user transmits only 10% of the time. (See the discussion of packet

switching versus circuit switching in Section 1.3)

a, (1 points) When circuit switching is used, how many users can be supported?

b, (2 points) For the remainder of this problem, suppose packet switching is used. Find

the probability that a giving user is transmitting.

c, (3 points) Suppose there are 5 users, find the probability that at any given time, all 5

users are transmitting simultaneously. What is the probability that there are 4 or less users

transmitting simultaneously?

5, (4 points) What information is used by a process running on one host to identify a

process running on another host?

6, (8 points) True or false? Why?

a, A user requests a Web page that consists of some text and one image. For this page, the

client will send one request message and receive one response message.

b, Two distinct Web pages (for example, www.nova.edu/resources/current_students.html

and www.nova.edu/resources/faculty_staff.html ) can be sent over the same persistent

connection.

c, With persistent connections between browser and origin server, it is possible for a

single TCP segment to carry two distinct HTTP request messages.

d, The Date: header in the HTTP response message indicates the time and date when the

HTTP response was last modified.

7, (8 points) What is an application-layer message? A transport-layer segment? A

network-layer datagram? A link-layer frame?

Wireshark Lab: HTTP (30 points)

Wireshark Lab - HTTP: Answer question 1-15 in this lab. (2 points each)

For the Wireshark Lab questions, you should show me where you obtained your answers.

The following paragraph is taken from the Lab assignment:

"By looking at the information in the HTTP GET and response messages, answer the

following questions. When answering the following questions, you should print out the

GET and response messages (see the introductory Wireshark lab for an explanation of

how to do this) and indicate where in the message you’ve found the information that

answers the following questions. When you hand in your assignment, annotate the output

so that it’s clear where in the output you’re getting the information for your answer (e.g.,

for our classes, we ask that students markup paper copies with a pen, or annotate

electronic copies with text in a colored font)."