Find a partner

Assignment Help Basic Computer Science
Reference no: EM131106874

Simulation

To relieve some programming burden, project 5 is a group project that two students can form a group to do and submit one report. In your submitted report, please specify who is your partner. Of course, you can do this project alone if you want to or have hard time to find a partner.

1883_1.png


You are required to create the above topology and specified links (don't consider the buffer capacity requirement). Both of the TCP and UDP sources should start transmitting at time 0.01 second, and stop at time 4.0 seconds. Configure the UDP source to be a CBR source, sending packets of size 1000 bytes, at a rate of 0.2Mbps. Configure the UDP sink to be a NULL sink. TCP source is a FTP source. Then add loss model to the link between two routers (see Page 41 in our ns2 lecture notes). Use the following to define the error model:
set loss_module [new ErrorModel]
$loss_module set rate_ 0.02
$loss_module unit pkt
$loss_module ranvar [new RandomVariable/Uniform]
$loss_module drop-target [new Agent/Null]

To make it consistent among all students, make sure that the TCP source node has node ID 0, UDP source node is ID 1, Router 1 is ID 2, Router 2 is ID 3, TCP sink node is ID 4 and UDP sink node is ID 5.

Run the simulation, and then based on the output trace file (give the file name as "out.tr"), you need to answer:
1). How many packets are generated by TCP source and UDP source, respectively? How many ACK packets are generated by the TCP sink?
2). On the link between two routers: How many TCP data packets being dropped? How many TCP ACK packets being dropped? How many UDP packets being dropped?
3). What is the average throughput on the link between two routers during the 4 seconds simulation time for the TCP data traffic and the UDP traffic, respectively? The throughput is defined as the bytes received by the router #2 divided by the time interval.

Submission: Please submit your report document (a word file or PDF file), your simulation tcl code, and your output trace file "out.tr", and your analysis code if you program one. If you use "grep" or other Unix commands for data processing, please give the commands you have used in your report.


Attachment:- Lecture notes and examples.zip

Reference no: EM131106874

Questions Cloud

Create t- account for each account used with the beginning : Create T- account for each account used with the beginning balance provided. Post each transaction from Question 1 to the appropriate T account and determine the ending balance as of April 30.
How can a teacher become more sensitive to the students : Is it possible for a teacher to ensure all of the ethnic and cultural needs of the different students in the classroom are met? Explain. How can a teacher become more sensitive to the students and their needs?
Sketch this exponential probability distribution : 1. The time between arrivals of vehicles at a particular intersection follows an exponential probability distribution with a mean of 12 seconds.
Determine the range for the rate of return : Determine the range for the rate of return for each of the two cameras. Determine the expected value of return for each camera. Purchase of which camera is riskier?Why?
Find a partner : To relieve some programming burden, project 5 is a group project that two students can form a group to do and submit one report. In your submitted report, please specify who is your partner. Of course, you can do this project alone if you want to or ..
Develop an in-depth schedule for your initial project : This assignment consists of four parts. Please label each part of the assignment Part 1, Part 2, Part 3, and Part 4 in the document, and insert a page break after each part. Please submit as one document.Note:
Describing how the website relates and supports : Write a 500 - word summary describing how the website relates and supports the 21st Century security challenges that GAO has identified for Homeland Security.
Regression and inferential statistics : An airline has an advertisement that states: "...our passengers always receive their bags within 20 minutes after the plane arrives at the gate." Discuss the hypothesis that they might have used and write another one that could show this to be inc..
Determine the range of the rates of return : a. Determine the range of the rates of return for each of the two projects.b. Which project is less risky? Why?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How will the software impact the production environment

Evaluate and select a security tool for recommendation that you learned about in the iLabs modules or the EC-Council text books.

  Explain the specific function of each of the components

The steps of how customer order information is collected and moved to the internal database. By "steps," give the machines the data visits and the function of the machine.

  How would you find the approximate value ofm

You are told nothing else aboutf, but you may ask for the value off(x) for any values ofx you choose. How would you find the approximate value ofm? How accurately could you findmif you could choose only 10 values ofx for which to evaluatef(x)?

  Construct a diagram using rationale to map the arguments

An article from the press that cover any of the given topics, for example there have been many articles in the media recently about government surveillance.

  Assume that you are serving in the role of director of data

imagine that you are serving in the role of director of data center operations for your company which is currently

  Prove that a disjoint union

Prove that a disjoint union of any finite set and any countably infinite set is countably infinite.

  Write a program that generates a random integer

Write a program that generates a random integer in the (inclusive) range [0-9] (i.e. the set {0,1,2,3,4,5,6,7,8,9}) and ask the user to guess what the number is .

  The insertion sort algorithm is employed

In some cases the insertion sort algorithm is employed with this algorithm as the list size grows smaller, explain why the bubble sort may not be the better choice

  Analyze the use of gestures in ipads

Analyze the use of gestures in iPads. Address how users feel about gestures. Evaluate how users feel about the user input when it comes to filling out complicated forms on the iPad.

  What is the d in the quadratic formula

What is the "D" in the quadratic formula? How can the "D" in the formula let you know what type of answer you will get when you solve the equation? What are the types of possible answers?

  How are they weatherstripped

Do these windows make sense to you in terms of today's energy efficiency requirements and your own feelings about the room? How would you change them?

  Which of the following deals with transitive dependencies

Which of the following deals with transitive dependencies in normalization?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd