My Project | Low Rate Wireless Personal Area Networks in NS2

My Final Year Project... Thought of Sharing with others..!

Recent Posts

Useful Links

Internet Marketing
LinkAlizer makes it easy and fast for you to to find link exchange partners and increase traffic.
Free Website Directory


The simulation process is carried out systematically as shown,
· Running Ns2
· Path setting for NS2
· Opening Terminal window
· Running Star.tcl an d Peer.tcl
· NAM Analysis
Steps to Simulate our project
Ø Firstly the Terminal window in fedora is opened
Ø The path for the NS is loaded
Ø Run the command ns star.tcl or peer.tcl

Fig. 4.2 Simulation terminal for star


The output terminal window appears as shown. In the terminal window the nodes synchronization is stated.
The output Nam appears after the project is executed.
The NAM window shows the animation of the entire process that takes the simulation to complete.

Fig. 4.3 NAM snapshot of Star topology


The peer-to-peer topology is simulated by typing the command
$ ns peer.tcl
The following window shows the simulation in terminal window
Fig. 4.4 simulation terminal for peer-to-peer topology


The following Output Nam will be automatically created and shown as







Fig. 4.5 NAM snapshot of peer-to-topology

Ø The trace files will be generated for both the files,
Ø Star.tr and peer.tr can be viewed for more analysis
Ø The trace files will give a complete scenario of what is been simulated for every micro seconds.

0 comments

Post a Comment