文件名称:Tcl-script-for-implementing-AODV-routing-protocol
介绍说明--下载内容均来自于网络,请自行研究使用
Descr iption:
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.
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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Tcl script for implementing AODV routing protocol in wireless network.doc