Today Session on
Wired Cum Wireless Networks using ns2.
You can watch the following lecture before understanding this lecture.
Watch Wireless Networks - https://www.youtube.com/watch?v=ws6kCbhdrWw
Watch Wired Networks -
https://www.youtube.com/watch?v=FS0jnfNCwBA
https://www.youtube.com/watch?v=1_KeTTFsrt0
Number of Wireles snodes is 7
Wired nodes - 2
Accesspoint or Base Stations - 2
Watch the full video for this example
this example is already avaialble in tcl/ex folder.
The same example I have taken but modified to my design...
How to generate Scenario and Traffic generation (connection Pattern)
To generate the connection pattern, here is the steps
Open the terminal and go to the folder
$] cd /home/pradeepkumar/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen
and run this command
$] ns cbrgen.tcl -type tcp -nn 7 -seed 1 -mc 20 -rate 0.001
for 7 nodes, type of traffic is TCP, random seed is 1, maximum connection is 20 and the rate is 1ms or 0.001 and the output is sent to tcpgen.tcl
next is how to generate the scenario... this is very important
Go to the folder in the terminal.
$] cd /home/pradeepkumar/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen/setdest
$] ./setdest -v 2 -n 7 -s 1 -m 5 -M 20 -t 250 -P 1 -p 1 -x 670 -y 670
ALL THE THREE FILES should STAY in the SAME FOLDER
namely
tcpgen.tcl
scene-7
and this file wandw.tcl
How to run this file
$] ns wandw.tcl
To Process the trace file, use the software APP Tool MAster
check my website https://www.nsnam.com for more instructions.
APP Tool Master. Check the Link here
https://www.nsnam.com/2014/11/app-tool-for-analysing-tracefiles-for.html
Thanks for watching this video, subscribe and share.
Download the Source Code from here
https://drive.google.com/drive/folders/1enTRgeIJAJo5w1VphCDrl4hrQUWy1rZy?usp=sharing
T S Pradeep Kumar
Wired Cum Wireless Networks using ns2.
You can watch the following lecture before understanding this lecture.
Watch Wireless Networks - https://www.youtube.com/watch?v=ws6kCbhdrWw
Watch Wired Networks -
https://www.youtube.com/watch?v=FS0jnfNCwBA
https://www.youtube.com/watch?v=1_KeTTFsrt0
Number of Wireles snodes is 7
Wired nodes - 2
Accesspoint or Base Stations - 2
Watch the full video for this example
this example is already avaialble in tcl/ex folder.
The same example I have taken but modified to my design...
How to generate Scenario and Traffic generation (connection Pattern)
To generate the connection pattern, here is the steps
Open the terminal and go to the folder
$] cd /home/pradeepkumar/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen
and run this command
$] ns cbrgen.tcl -type tcp -nn 7 -seed 1 -mc 20 -rate 0.001
for 7 nodes, type of traffic is TCP, random seed is 1, maximum connection is 20 and the rate is 1ms or 0.001 and the output is sent to tcpgen.tcl
next is how to generate the scenario... this is very important
Go to the folder in the terminal.
$] cd /home/pradeepkumar/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen/setdest
$] ./setdest -v 2 -n 7 -s 1 -m 5 -M 20 -t 250 -P 1 -p 1 -x 670 -y 670
ALL THE THREE FILES should STAY in the SAME FOLDER
namely
tcpgen.tcl
scene-7
and this file wandw.tcl
How to run this file
$] ns wandw.tcl
To Process the trace file, use the software APP Tool MAster
check my website https://www.nsnam.com for more instructions.
APP Tool Master. Check the Link here
https://www.nsnam.com/2014/11/app-tool-for-analysing-tracefiles-for.html
Thanks for watching this video, subscribe and share.
Download the Source Code from here
https://drive.google.com/drive/folders/1enTRgeIJAJo5w1VphCDrl4hrQUWy1rZy?usp=sharing
T S Pradeep Kumar
Comments
Post a Comment