Topology-tcp and udp sources, Computer Networking

Assignment Help:

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.

 

2026_tcp source.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.


Related Discussions:- Topology-tcp and udp sources

Networking device, what is the best time to use brouter rather than router?...

what is the best time to use brouter rather than router? what are advantages of using brouter over router?

Show the rs232 logic waveform, Q. Show the RS232 Logic Waveform ? RS-2...

Q. Show the RS232 Logic Waveform ? RS-232 Interface Three most important wires for the Serial interface Transmit - Pin 2 Receive - Pin 3 Ground - Pin

Define bandwidth and latency, Define Bandwidth and Latency? Network per...

Define Bandwidth and Latency? Network performance is calculated in Bandwidth (throughput) and Latency (Delay). Bandwidth of a network is given by the number of bits that can be

Topology, what is difference between Star and Mesh topology?

what is difference between Star and Mesh topology?

What is a database server, With a database server, the client gives SQL req...

With a database server, the client gives SQL requests as messages to the database server. The results of every SQL command are returned over the network. The server uses its own pr

State ieee - ethernet, IEEE 802.3-Ethernet Introduction LAN ...

IEEE 802.3-Ethernet Introduction LAN (Local Area Network) - network connecting devices in a limited geographic area usually privately owned and limited to a single o

Lan- wan network module expansion slot, WAN interface card(WIC) slots T...

WAN interface card(WIC) slots Two fixed WIC slots are present in  2600 series router except 2691. It has contained 3 WIC slots. Network Module Expansion Slot( NM) slot

#title.assignment., hii i want to make a assignment from you. please help m...

hii i want to make a assignment from you. please help me.

System - network administrator, The program must be well documented which i...

The program must be well documented which includes meaningful variable and subroutine names ("self documenting code") along with comments in the code. The following block of code w

Write Your Message!

Captcha
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