Professional Documents
Culture Documents
S RAI
VARUN SAHANI
04216412811
M.Tech (ECE) 3rd
Sem
Project Goal
The aim of this project is to analyze the packet flow in
LITERATURE REVIEW
As in [1] the study of TCP in NS-2 in which they
LITERATURE REVIEW
The Study of [2] concludes that UDP transmission
SIMULATION
SOFTWARE
USED
NS2
Network Simulator Version 2, also known as NS-2 . NS-2
How to Connect 2
nodes
in
NS2
set n0 [$ns node]
set n1 [$ns node]
A new node object is created with the command '$ns node'. The
above code creates two nodes and assigns them to the handles
'n0' and 'n1'.
The next line connects the two nodes.
How to Connect 2
nodes
NS2
Now we savein
the file and start the script and it will be
started automatically and we see an output that resembles
the picture below.
References
[1] Johanna Antila, TCP Performance Simulations Using