Back to Browse

NS2 Simulation Experiment Example 3

2.6K views
Mar 31, 2020
34:37

A network consists of 4 nodes (n0-n3) . Here, n0 is the FTP source, and n1 is the TELNET source , n2 is a router and n3 is the common destination node. The duplex links between the nodes is as follows: n0 and n2 has 5 Mbps of bandwidth and 10 ms of delay, n1 and n2 has 10 Mbps of bandwidth and 10 ms of delay, and n2 and n3 has 15 Mbps of bandwidth and 10 ms of delay. A TCP agents are attached to n0 and n1 and connection is established to a sink agent attached to n3. With Telnet connection, packet size is set to 500 Mega bytes with a time interval of 0.001 seconds. The default maximum size of a packet that a TCP agent can generate is 1 kb. Both FTP and TELNET are set to start at 0.3 seconds , and stop at 5 seconds. Write a Tcl script to observe the packet flow for the given network and observe the output in NAM for this network scenario.

Download

1 formats

Video Formats

360pmp453.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

NS2 Simulation Experiment Example 3 | NatokHD