Nodes are configured with specific parameters of a mobile
wireless node. After creating the nam file and trace file, we set up
topography object. set node_ ($i) [$ns node] is used to create the
nodes. Initial location of the nodes is fixed. Specific X, Y coordinates
are assigned to every node. Nodes are given mobility with fixed speed
and fixed destination location. Here we set the initial size for the
every node by using initial_node_pos. AODV routing protocol is used
here. $val(stop) specifies the end time of the simulation. UDP agent is
attached to sender node. LossMonitor agent is attached to receiver node.
Both the agents are connected and CBR traffic is attached to UDP agent.
Now communication set up for nodes are established.
Tips: You can preview the content of files by clicking file names^_^