Description: 这是NS2网络仿真实例,包含两个tcl脚本文件,内容是模拟多个无线节点运用DSDV路由协议进行传输的情况。对于初学者有很好的示范作用。-This is the NS2 network simulation example, contains two tcl script file, the contents of multiple wireless nodes is simulated using DSDV routing protocol for transmission of the situation. For beginners there is a good example. Platform: |
Size: 5120 |
Author:歼10 |
Hits:
Description: This document (ns Notes and Documentation) provides reference documentation for ns. Although we begin with a simple
simulation script, resources like Marc Greis’s tutorial web pages (originally at his web site, now at http://www.isi.
edu/nsnam/ns/tutorial/) or the slides from one of the ns tutorials are problably better places to begin for the ns
novice.
We first begin by showing a simple simulation script. This script is also available in the sources in ~ns/tcl/ex/simple.tcl.
This script defines a simple topology of four nodes, and two agents, a UDP agent with a CBR traffic generator, and a TCP
agent. The simulation runs for 3s. The output is two trace files, out.tr and out.nam. When the simulation completes at
the end of 3s, it will attempt to run a nam visualisation of the simulation on your screen.
Platform: |
Size: 1866752 |
Author:ganesh |
Hits:
Description: Description:
This network consists of 22 nodes. After creating the nam file and trace file, we set up topography object. Set node_ ($i) [$ns node] is used to create the nodes. Here we set the initial position for the every node by using initial_node_pos. server1 and server2 also created in this program. After that $Val (stop) is used to tell to nodes when the simulation ends. the nodes have Tcp connection. An "udp" agent is attached to node0, and a connection is established to udp "null" agent attached to server1 and node18 and etc.. As default, the maximum size of a packet that "udp" agent can generate is 1KByte. A tcp "null" agent generates and sends ACK packets to the sender (tcp agent) and frees the received packets. The Cbr is set to start at 0.0 sec and stop at 4.1 sec. Here we were using AODV routing protocol. The annotation trace is used to trace the details. Platform: |
Size: 9216 |
Author:Basavaraj |
Hits:
Description: Description:
This network consists of 3 nodes. After creating the nam file and trace file, we set up topography object. Set node_ ($i) [$ns node] is used to create the nodes. Here we set the initial position for the every node by using initial_node_pos. After that $Val (stop) is used to tell to nodes when the simulation ends. the nodes have Tcp connection. A "tcp" agent is attached to Client1, and a connection is established to a tcp "sink" agent attached to node0 and node1. As default, the maximum size of a packet that a "tcp" agent can generate is 1KByte. A tcp "sink" agent generates and sends ACK packets to the sender (tcp agent) and frees the received packets. The ftp is set to start at 10.0 sec and stop at 150.0 sec. Here we were using DSR routing protocol. Platform: |
Size: 7168 |
Author:Basavaraj |
Hits:
Description: A 3 node wireless simulation TCL script that uses AODV. The script also plots congestion windows for TCP packets. Platform: |
Size: 5120 |
Author:rvb |
Hits:
Description: This file having tcl script is used in NS2 platform. This is very useful in network simulation this file is containing tcp script for TFRC. Platform: |
Size: 355328 |
Author:siddu |
Hits:
Description: This file having tcl script is used in NS2 platform. This is very useful in network simulation this file is containing tcl script for TCP Platform: |
Size: 239616 |
Author:siddu |
Hits:
Description: This file having tcl script is used in NS2 platform. This is very useful in network simulation this file is containing tcl script for TCP. Platform: |
Size: 161792 |
Author:siddu |
Hits:
Description: Wireless tcl script for creating 10 nodes and packet tranfers between them using tcp and udp
links. Platform: |
Size: 2048 |
Author: |
Hits: