Get 1 Year of unlimited Apress for $199
Instant access to all available titles and new releases Apress Access Subscription

Introduction to Network Simulator NS2

By Teerawat Issariyakul , Ekram Hossain

  • eBook Price: $109.00
Buy eBook Buy Print Book

Introduction to Network Simulator NS2 Cover Image

Here is a welcome learning aid for anyone who needs to go beyond the basics in network simulation. It provides all the information required to install NS2, run simple examples, modify existing NS2 modules, and incorporate new modules into the software.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4614-1405-6
  • 536 Pages
  • Publication Date: December 2, 2011
  • Available eBook Formats: PDF

Related Titles

  • Information Systems and Neuroscience
Full Description
Introduction to Network Simulator NS2 is a primer providing materials for NS2 beginners, whether students, professors, or researchers for understanding the architecture of Network Simulator 2 (NS2) and for incorporating simulation modules into NS2. The authors discuss the simulation architecture and the key components of NS2 including simulation-related objects, network objects, packet-related objects, and helper objects. The NS2 modules included within are nodes, links, SimpleLink objects, packets, agents, and applications. Further, the book covers three helper modules: timers, random number generators, and error models. Also included are chapters on summary of debugging, variable and packet tracing, result compilation, and examples for extending NS2. Two appendices provide the details of scripting language Tcl, OTcl and AWK, as well object oriented programming used extensively in NS2.
Table of Contents

Table of Contents

  1. Simulation of Computer Networks.
  2. Introduction to Network Simulator 2 (NS2).
  3. Linkage Between OTcl and C++ in NS2.
  4. Implementation of Discrete
  5. Event Simulation in NS2.
  6. Network Objects: Creation, Configuration and Packet Forwarding.
  7. Nodes as Routers or Computer Hosts.
  8. Link and Buffer Management.
  9. Packets, Packet Headers and Header Format.
  10. Transport Control Protocols Part 1
  11. An Overview and User Datagram Protocol Implementation.
  12. Transport Control Protocols Part 2
  13. Transmission Control Protocol (TCP).
  14. Application: User Demand Indicator.
  15. Wireless Mobile Ad Hoc Networks.
  16. Developing New Modules for NS2.
  17. Post Simulation Processing: Debugging, Tracing and Result Compilation.
  18. Related Helper Classes.
  19. Appendix A: Programming Essentials.
  20. Appendix B: A Review of the Polymorphism Concept in OOP.
  21. Appendix C: BSD Link List and Bit Level Functions.

Please Login to submit errata.

No errata are currently published


    1. PHP Objects, Patterns, and Practice


      View Book

    2. Beginning Android 3D Game Development


      View Book

    3. Troubleshooting Oracle Performance


      View Book

    4. Beginning Amazon Web Services with Node.js


      View Book