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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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