Skip to main content

50K Views of the DTN Blog

The DTN blog recently reached a milestone — it crossed 50,000 page views!

The journey of this blog — and that of mine with the ONE simulator — started in 2011. Back in those days, old-timers would recall, there were not much resources available on the ONE simulator. After spending some time with it, I was finally able to gain some understanding about its functionality and work flow. I realized that a short how-to document might benefit others.

What started as a humble effort to provide a quick tutorial on the ONE simulator soon became a popular resource in the community over the years. I'm thankful to all the users of the ONE mailing list who continuously kept me motivated to enrich this blog.

I took this opportunity to prepare an infographic on the usage of the DTN blog based on the statistics provided by Blogger. It has not been possible to include all statistics in the infographic. A few interesting observations are noted below.
  • Undoubtedly, the ONE tutorial is the most popular entry in this blog.
  • Among the different search keywords, the phrase "one simulator" has the highest frequency.
  • Strangely, 68% traffic comes from Windows machines! Frankly, I was not expecting that. Linux and Macintosh are at a tie with each driving 11% traffic.

Hope that in the coming years I could add more useful content to this blog. Keep reading!

Finally, thanks to all of you, once again, for your motivation and support that helps the DTN blog stay alive.

View the above inforgraphic in details.


  1. Simply awesome.

  2. Hi, Barun. Congratulations on your blog. That is very helpful for whose want to fast start up about DTN.
    I have a question: Do you have a code example about profileCast_CSI?


    1. Thanks for your comment! However, I have not worked with profile cast.

  3. Hi, I m new to ONE simulator, I m using ONE with Eclipse.. when I start compiling main class of simulator named "", following errors are shown:

    Can't start: error in configuration file(s)
    Can't find setting 'Scenario.nrofHostGroups'

    I checked the default_setting.txt file, where Scenario.nrofHostGroups is assigned a value 6 that is the value of total no. of groups... what should I do? can you please suggest me a solution


Post a Comment

Popular posts from this blog

Text Highlighting in Latex

While preparing a manuscript with Latex, it is often useful to highlight the changes made in the current revision with a different color. This can be achieved using the\textcolorcommand provided by Latex. For example,\textcolor{red}{Hello World}would display the string "Hello World" in red color.

However, the final/published copy of the manuscript does not contain any highlighted text. Therefore, if a large volume of changes were made, it becomes tiresome at the end to find and remove all the individual portions of highlighted text.

This can be circumvented by defining a utility command to switch highlighting on and off as desired. In the following, we define a new Latex command, highlighttext, for this purpose. The command takes only a single argument—the text to be highlighted.


% For highlighting changes in this version with red color
  \newcommand{\highlighttext}[1] {\textcolor{red}{#1}}
  % Remove all text highlighting
  % Useful to generate the final version…

The ONE KB has a new home

The ONE Knowledge Base is now hosted at

If you are unaware, the ONE KB allows you to search the old email archives of the simulator's community. Therefore, if you have any question related to simulation, you may query the existing database at the above link. Chances are good that your question might already have been answered previously. If not, you can still post an email to the community's mailing list.

Have you tried the ONE KB already? How was your experience? Was it helpful? Let me know in the comments!

Specifying Source and Destination of Messages

One of the frequently asked questions in the community is how to specify which particular nodes would act as source(s) and destination(s) of the messages created in the ONE simulator. The simulator, in fact, provides a pair of settings (shown below in bold face) aimed for this particular purpose.

Let us consider that there are $n + 1$ nodes in an OMN.  Further, let the nodes with addresses from $x$ to $y$, both inclusive, would create messages. The nodes in the range $w$ to $z$, both inclusive, would be the destinations of those messages, where $0 \le x \le y \le n$, and $0 \le w \le z \le n$. Then, the corresponding simulation scenario can be configured as follows.

## Message creation parameters # How many event generators Events.nrof = 1 # Class of the first event generator Events1.class = MessageEventGenerator # (Following settings are specific for the MessageEventGenerator class) # Creation interval in seconds (one new message every 25 to 35 seconds) Events1.interval = 25,35 # Me…