Εμφάνιση αναρτήσεων με ετικέτα routing protocols. Εμφάνιση όλων των αναρτήσεων
Εμφάνιση αναρτήσεων με ετικέτα routing protocols. Εμφάνιση όλων των αναρτήσεων

Πέμπτη, Ιανουαρίου 31, 2008

GPSR patch for ns-2.31

Sorry for keep you waiting but obligations come first and unfortunately they never end. You can download the patch through here . Just read the README file and follow the instructions. For comments and anything else click here

It would be very useful if one or a group of students were assigned the project of developing some additions for GPSR like the format and anything useful for the simulations.

I will try to find time and present some scripts I used for collecting statistical data, creating the traffic etc.

Τρίτη, Οκτωβρίου 09, 2007

GPSR code for ns-2

I gave many hours trying to identify what was wrong with their instructions. And after I found crossing informations - even in Chinese - I did a good brain "compilation", many tests, googling and found the solution. It is my obligation to present what I found because as I saw in ns-2 mailing lists many people wanted to simulate GPSR. It is true that they didn't google and wanted to get the solution from the others ready-made. But on the other hand I didn't like the fact that there is nothing concrete.

Read More...

Κυριακή, Σεπτεμβρίου 02, 2007

Disappointed with ns-2

I am writing a survey for some common routing protocols, specifically the AODV, DSDV, DSR, TORA, GPSR, OLSR. For the simulations I chose ns-2 (latest version 2.31) mostly because it can be used in Linux although it is not installed from a deb/rpm file. I made some simulations and I wrote some shell and awk scripts for extracting data for statistics.

Although I have spent much time for scripting , I am not disappointed with this. My disappointment comes from the lack of help from the developers and expert users. I and everybody else who tried to make a simulation using TORA protocol had almost the same problem. But as it is seen in the ns-2 mailing lists when all these people sent an e-mail asking for help nobody answered. Even the sample scenarios for TORA do not work. The problem most people have is this:

...
"$ns node"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $val(nn) } { incr i } { set node_($i) [$ns node] }" (file "10nodes_traffic50_stable.tcl" line 59)

....

I can say that maybe some settings are missing but the same happens with the samples!

The programming language of ns-2 is Tcl and C. Tcl is a little difficult, at least for me, language although I made some modifications to some Tcl programs. If I had more time I would learn Tcl but I don't. I tried to find some older versions of ns-2 like 2.26 but the latest I found is 2.29.

I hope that ns-3 will solve these problems. When I finish my work I will upload all my scripts because they are proven to be very useful.

Σάββατο, Μαΐου 12, 2007

Working with ns-2

I must write a paper with the pros and cons of some popular routing protocols. I have to use a simulator and I decided to use ns-2. I found some many sites which can help me because it is my first time with ns-2.

Read more...