subject
Engineering, 15.11.2019 05:31 amy20021

Anetwork engineer needs to make a decision as of where to do error handling, in the data link layer at frame level or in the tcp layer at packet level. in most of the error handling protocols, when there is an error, it has to re-transmit the frame or the packet respectively. in general there are multiple frames in a packet and it costs more to re-transmit a packet than a frame. on the other hand, the overhead cost for initiating error checking is higher for multiple frames than the cost of a single packet, since there is more than one frame within a packet. given a physical link with certain quality measurement, p < 1, as the probability of error for a frame, by common sense concerns, in what case you would like to do error handling at the data link layer or at the tcp layer? (you need to justify your decision in best (case where almost p=0) and worst case (where almost p=1) scenarios with respect to the quality of physical layer. 2. given the following error handling protocol configuration and specification as a case#1 study example: p = 0.1 error rate of a frame (probability of frame error) cf = 10¢ cost of transmitting a frame (without error checking) ef = 1.2¢ cost of error checking for a frame at data layer. packet size 10 frames/packet cp = 100¢ cost of transmitting a packet (without error checking) ep = 10¢ cost of error checking for a packet at tcp layer. to simplify the problem, we assume (1) each frame can fail with probability of frame error, p, independently from each other. (2) all frame have the same probability of frame error, p. answer the question below using quantitative analysis with supporting data (must show your processes how you derive these data). a. what is the average cost of sending a packet if it does error checking at the data link layer? b. what is the average cost of sending a packet if it does error checking at the tcp layer? c. in this case, where do you think the error checking should be done? 3. re-examine the case#2 with the following data, p = 0.001 error rate of a frame (probability of frame error) cf = 10¢ cost of transmitting a frame (without error checking) ef = 1.2¢ cost of error checking for a frame at data layer. packet size 10 frames/packet cp = 100¢ cost of transmitting a packet (without error checking) ep = 10¢ cost of error checking for a packet at tcp layer. answer the same question below with supporting data (mush show your processes how you derive these data). a. what is the average cost of sending a packet if it does error checking at the data link layer? b. what is the average cost of sending a packet if it does error checking at the network layer? c. in this case, where do you think the error checking should be done? problem b write a computer program to simulate the cases in problem a.2 and a.3 (using the same data set in a.2 and a.3). your program should simulate sending 100 packets and produce the following simulation data for problem a.2 and program a.3. 1. the average cost of sending a packet if error handling is done at data layer. 2. the average cost of sending a packet if error handling is done at tcp layer. you should compare you simulation results with your answers for both problem a.2 and problem a.3 and try to explain the differences if there are any. does your simulation data support your decisions made previously in part a? hits: • you can use any program language as you wish. • you can use a random number generator to generate a random number x in [0, 1] to simulate the outcome of sending a frame (failure or success). if x < = p (the probability of frame error) then it is a failure, otherwise it is a success. • to get the average cost of sending a packet for error handling at data layer, you need to track the average cost of sending a frame then multiply it by 10. then you need to get the average cost of sending a packet over 100 packets. • to get the average cost of sending a packet for error handling at the tcp layer, you need to track the average number of send/resend a packet (remember if one or more fame failed, the packet failed and the packet needs to be resent). data sets for the project project deliverables • simulation program design and program source code. • simulation data set. • project report (a ms word document) shows you analysis about problem a and supporting data, simulation data analysis in problem b, and comparison analysis about the results you get for problem a and problem b. you can use tables and charts to show your analysis results.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 08:10
Which of the following is an easy way to remember the modified “x” tire rotation? a. nondrive wheels straight, cross the drive wheels b. drive wheels straight, cross the nondrive wheels c. drive wheels crossed, nondrive wheels straight d. drive wheels crossed, nondrive wheels crossed
Answers: 1
question
Engineering, 04.07.2019 18:10
Carbon dioxide gas expands isotherm a turbine from 1 mpa, 500 k at 200 kpa. assuming the ideal gas model and neglecting the kinetic and potential energies, determine the change in entropy, heat transfer and work for each kilogram of co2.
Answers: 2
question
Engineering, 04.07.2019 18:10
Manometers are good examples of measuring instruments, nowadays they are not as common as before. a)-capacitive probe gauges b)-gravitational gauges deformation ) gauges d)-digital gauges
Answers: 1
question
Engineering, 04.07.2019 18:20
Steam enters a converging nozzle at 3.0 mpa and 500°c with a at 1.8 mpa. for a nozzle exit area of 32 cm2, determine the exit velocity, mass flow rate, and exit mach number if the nozzle: negligible velocity, and it exits (a) is isentropic (b) has an efficiency of 94 percent
Answers: 2
You know the right answer?
Anetwork engineer needs to make a decision as of where to do error handling, in the data link layer...
Questions
question
Mathematics, 07.01.2021 08:40
question
Mathematics, 07.01.2021 08:40
question
French, 07.01.2021 08:40
question
Mathematics, 07.01.2021 08:40
question
Mathematics, 07.01.2021 08:40
Questions on the website: 13722362