Skip to main content

Posts

Showing posts from January, 2019

Wired Cum Wireless Network Simulation - NS2 Tutorial 22

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

n…

Ns2 and Ns3 Video Tutorials with Free Source Code

This post shows you the way to download, learn and watch source  codes and their working in ns3 and ns2.
Everyday thousands of visitor visits this blog and search for source code and explanation. Since 2011, the blog is delivering information across the globe.

Now this era is on Videos and online tutorials. nsnam is happily created a Video Channel called "Engineering Clinic" in Youtube and deliver video lectures with free source codes for all applications.

Subscribers of this blog are requested to subscribe to the video channel given below

https://www.youtube.com/tspradeepkumar 

Here are some Playlists that are important to the viewers of this blog.

NS2 Tutorials - https://www.youtube.com/watch?v=jRS0-hNk-Gw&list=PLX6MKaDw0naZBi0R-6_IAuYA9Yk_yuyXp

NS3 Tutorials - https://www.youtube.com/watch?v=LPOl81VIDG4&list=PLX6MKaDw0naZILVYjo8_quA4JI8Jz-idL

IoT Tutorials - https://www.youtube.com/watch?v=MRTJdC4ye9A&list=PLX6MKaDw0nab-VNTAfQkFAtl2zSv-N08N

MOODLE Tutorials -