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

  The famous american football coach

The famous American football coach, Vince Lombardi, one of the greatest coaches of all time, is reported to have said to his players when he first began coaching professional football:

  Company called aphrodite it staffing solution

Based on a company called Aphrodite IT staffing solution,

  Explain what type of architecture new payroll application

Explain what type of architecture the new payroll application

  Which version of windows 7 should be purchased

Two computers have recently failed and require replacement. Which version of Windows 7 should be purchased with the new computers?

  Consider the following hypothesis test

Consider the following hypothesis test. H0: μ ≤40 H1: μ >40

  Problem regarding the website migration project

Tony's Chips has recently been sold to a new independent company. The new company has hired you to manage a project that will move the old Website from an externally hosted solution to an internal one.

  Force p to prevent the 30-kg rod ab from sliding

Determine the minimum force P to prevent the 30-kg rod AB from sliding. The contact surface at B is smooth, whereas the coefficient of static friction between the rod and the wall at A is µs = 0.2

  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)

  Competency standards of the relevant occupational category

That such application meets the competency standards of the relevant occupational category - Please state your target where you are applying

  Which parallel formulations perform better

Compare these expressions with the expressions for the other sorting algorithms presented in this chapter. Which parallel formulations perform better than bucket sort, and which perform worse?

  System analysis and design final project

System analysis and design final project.

  Jane''s farm stand sells a variety of vegetables

Jane's farm stand sells a variety of vegetables. Write a program that produces an output file of vegetables sold, sorted by the biggest selling vegetable in terms of money made to the poorest selling.

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