sol-Bonus - Question 1(5 5 5 = 15 points Consider sending a...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Question 1 (5 + 5 + 5 = 15 points) Consider sending a large file of F bits from Host A to Host B. There are two links (and one router) between A and B, and the links are uncongested (that is, no queuing delays). Host A segments the file into segments of S bits each and adds 40 bits of header to each segments, forming frames of L = 40 + S bits. Each Link has a transmission rate of N bps. There is no propagation delay. Router R always processes a frame of size L after it receives it for L/2N seconds. Host A --------------- R --------------- Host B (i) When does the first frame arrive at Host B after Host A starts sending the frame at time T? T + L/N + L/2N + L/N = T + L/2N + 2L/N (ii) Assume that the router R can send, receive and process simultaneously and A sends frames continuously (one after another), when will the second frame arrive at Host B? T + L/N + L/N + L/2N + L/N = T + L/2N + 3L/N (iii) When will the file transfer be completed? If F is divisible by S then T + L/2N + ((F/S) + 1) L/N Else if F is not divisible by S then T + L/2N + (( F/S ) + 2) L/N Question 2 (10+10 = 20 points) Consider the following message sent by A to B (a) A → B: E K [M] (b) A → B: E KUb [M]
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/04/2011 for the course CIS 3360 taught by Professor Guha during the Fall '06 term at University of Central Florida.

Page1 / 3

sol-Bonus - Question 1(5 5 5 = 15 points Consider sending a...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online