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

  Focus on paramtized queries and stored procedure

The testing phase will include creating a simple page of login as password with simple code and show that the sql injections occurs (show codes and snapshots where necessary)

  Proposal on the best way to dispose of the computers

Your company is replacing all 500 of its computers with newer machines, and your supervisor has put you in charge of removing the outdated computers.

  Develop a scenario and define a problem

Develop a scenario and define a problem in which the concepts discussed in the chapter (outsourcing ) can be used to solve the problem. Present: the scenario, the problem, and proposed solution. Be creative as much as possible, and use diagrams, char..

  How the technology creates or contributes to the problem

Choose one ethical issue arising from the use of ICT that has been reported in the press in the last one year, and discuss it in depth. Show why or how the technology creates or contributes to the problem.

  The mode of a list of values is the score

For this project you will write a program to compute the arithmetic mean (average), median, and mode for the values read in from TopicFin.txt. The program results will be written to TopicFout.txt.

  Give a 3nf decomposition of r based on the canonical cover

Give a 3NF decomposition of r based on the canonical cover.

  Decision regarding which computer to purchase

Decide what factors are significant in your decision as to which computer to purchase and write them. After you choose the system you would like to buy, recognize which terms refer to hardware and which refer to software.

  Several policies or events that affect the performance

Several policies or events that affect the performance of the economy

  Maturity of one year

A company has issued floating-rate notes with a maturity of one year, an interest rate of LIBOR plus 125 basis points, and total face value of $50 million.The company now believes that interest rates will rise and wishes to protect itself by enter..

  Design a 3-bit counter, which can count either up or down

Design a 3-bit counter, which can count either up or down. The input has a clock, and a signal U. When U = 1, the counter counts up; when U = 0, the counter counts down. For example, assume the current counter Q(t) = 011. If U(t) = 0, then Q(t+1) = 0..

  A user deliberately or accidently interrupts a print job

In some instances, a user deliberately or accidently interrupts a print job

  Display each student''s weighted average score and grade

Repeat Step 18 to calculate each student's quiz percentage in column C based on values in the Quizzes worksheet, and to calculate each student's exam percentage in column D based on values in the Exam worksheet.

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