About Fernando Rocha

Highly motivated, versatile, enthusiastic and hard-working person with a genuine eagerness to learn and achieve excellence. Used to work in a competitive and innovation environment developing cutting-edge applications. Loves challenges and to discuss ideas with the team or colleagues to achieve the best solution. Has flair of leaning new tools, new technologies and expanding skills and expertise in different areas. Is an expert on Microsoft .NET technologies, used to developed complex projects and to surpass difficult challenges. Designing and developing software is not only a job, but an exceeding passion, taken by an eagerness to solve problems the best way.

Network Simulator 2.1b9 for Windows

Usually if you want to change the source code of Network Simulator (NS), for instance, to test and develop a new network protocol, you’ll need the full source code of Network Simulator and you’ll need to compile it to incorporate your changes. This is a lot easier to do in Linux rather than with Windows, there’s also more tutorials and support.

However, sometimes you just want to configure a simulation to study how the common protocols behave and to learn how to use the simulator and its tools. This would only require the binary version of the NS and NAM. The problem here is that there’s no good site explaining how to do that completely, and with all the required resources.

The following link has all the required binaries. Unzip the files to “C:\ns-2“, or other path you would like, and add “C:\ns-2\bin” (please check if this is your path) to the Windows PATH (there are many tutorials to do this, for instance, click here to check this one).

Download Network Simulator 2.1b9 Windows Binaries (x86): ns2-2.1b9-x86-full.zip

After doing this, you can use the Network Simulator and Network Animator tools in the console, at any path. For using the Network Simulator you can type “ns <tcl file>“, for NAM you can type “nam <nam file>“.

You can download this ns-simple.tcl file and test it. Running “ns ns-simple.tcl” will write two output files, “out.tr” (trace file) and “out.nam” (nam file). You can run the NAM over the “out.nam” file to watch the exchange of packets. You can also run my tool over the trace file “out.tr” to check some statistics.

I hope this is useful, and have fun! 🙂


Survey for the new trace analyser release!

The new release is in development and it’s very important that you vote which functionalities do you value the most! 🙂

I’m considering developing it in Microsoft .NET C# 4.0, although Java can be executed in more operating systems… after the next release I can consider migrating the application to Java. What do you think? Feel free to add a comment with your opinion.

I will consider the following survey in the development of the new release. Please vote!

NS2 Visual Trace Analyzer 0.2.72 Released

I’m posting the last version of NS2 Visual Trace Analyzer I’ve developed, 0.2.72.
It has many features: plots delay, jitter and throughput  graphics, calculates many statistics per node or per flow and it has a visual interface of the nodes disposition along the simulation.

The visual tool doesn’t show the packets exchange, I’ve not finished this feature, but it shows pretty well the nodes disposition, coverage and movement.

You can download here: NS2 Visual Trace Analyzer 0.2.72
MD5: 4B07436896E5B6A21BB6F28963B5090F
SHA-1: EC27C104CAC244043F90384E3E0282019008681A

User Manual
You can download here: NS2 Visual Trace Analyzer Manual
MD5: 2497745A1B9EB84CC151E41E2873A248
SHA-1: A3AFF9F488539FD8690E73124050182171A765D3

Application Crashes Troubleshooting Manual
Disable nodes movements interpretation: Disable Nodes Movements Manual
MD5: F715E995133398840BF1E1F5F219A6D3
SHA-1: BC8E206D28720D1FFDFCFC1870AC3F4BF5154DAF

Hope you like it!