Skip to main content
  • Book
  • © 2012

Introduction to Network Simulator NS2

  • Provides a guideline on how to set-up, use, and extend NS2 Presents a layered approach to introduce communication networking protocols and their simulation using NS2

  • Includes a large number of examples (e.g., codes) on simulation using NS2

  • Contains supplementary material (e.g., simulation exercises) for classes and laboratories on telecommunications networking

Buy it now

Buying options

eBook USD 89.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (18 chapters)

  1. Front Matter

    Pages i-xxiv
  2. Simulation of Computer Networks

    • Teerawat Issariyakul, Ekram Hossain
    Pages 1-20
  3. Introduction to Network Simulator 2 (NS2)

    • Teerawat Issariyakul, Ekram Hossain
    Pages 21-40
  4. Linkage Between OTcl and C++ in NS2

    • Teerawat Issariyakul, Ekram Hossain
    Pages 41-75
  5. Implementation of Discrete-Event Simulation in NS2

    • Teerawat Issariyakul, Ekram Hossain
    Pages 77-95
  6. Network Objects: Creation, Configuration, and Packet Forwarding

    • Teerawat Issariyakul, Ekram Hossain
    Pages 97-109
  7. Nodes as Routers or Computer Hosts

    • Teerawat Issariyakul, Ekram Hossain
    Pages 111-149
  8. Link and Buffer Management

    • Teerawat Issariyakul, Ekram Hossain
    Pages 151-167
  9. Packets, Packet Headers, and Header Format

    • Teerawat Issariyakul, Ekram Hossain
    Pages 169-208
  10. Transport Control Protocols Part 2: Transmission Control Protocol

    • Teerawat Issariyakul, Ekram Hossain
    Pages 229-272
  11. Application: User Demand Indicator

    • Teerawat Issariyakul, Ekram Hossain
    Pages 273-292
  12. Wireless Mobile Ad Hoc Networks

    • Teerawat Issariyakul, Ekram Hossain
    Pages 293-344
  13. Developing New Modules for NS2

    • Teerawat Issariyakul, Ekram Hossain
    Pages 345-368
  14. Postsimulation Processing: Debugging, Tracing, and Result Compilation

    • Teerawat Issariyakul, Ekram Hossain
    Pages 369-408
  15. Related Helper Classes

    • Teerawat Issariyakul, Ekram Hossain
    Pages 409-453
  16. Programming Essentials

    • Teerawat Issariyakul, Ekram Hossain
    Pages 455-483
  17. A Review of the Polymorphism Concept in OOP

    • Teerawat Issariyakul, Ekram Hossain
    Pages 485-497
  18. BSD Link List and Bit Level Functions

    • Teerawat Issariyakul, Ekram Hossain
    Pages 499-500
  19. Back Matter

    Pages 501-510

About this book

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.

Reviews

From the reviews of the second edition:

“This book on ns-2 can be used as a reference by researchers, as well as by undergraduate and postgraduate students. It will be useful for courses related to computer networks. … It has added exercises at the end of the chapters that are meant to be used for assignments, lab exercises, and exam questions. … I recommend this book for all those who are using ns-2 or plan to use it in the future. It will serve as a useful reference.” (S. V. Nagaraj, ACM Computing Reviews, January, 2013)

“The book is designed to be a primer for the network simulator NS2. … This textbook is written for researchers who need to use NS2 for simulation-based communication network performance evaluation. It can also be used as a reference for laboratory work for a senior undergraduate or graduate course on telecommunication networks.” (IEEE Control Systems Magazine, June, 2012)

Authors and Affiliations

  • TOT Public Company Limited, Bangkok, Thailand

    Teerawat Issariyakul

  • Dept. Electrical & Computer Engineering, University of Manitoba, Winnipeg, Canada

    Ekram Hossain

Bibliographic Information

Buy it now

Buying options

eBook USD 89.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access