Simulation of Computer Networks.- Introduction to Network Simulator 2 (NS2).- Linkage Between OTcl and C++ in NS2.- Implementation of Discrete-Event Simulation in NS2.- Network Objects: Creation, Configuration and Packet Forwarding.- Nodes as Routers or Computer Hosts.- Link and Buffer Management.- Packets, Packet Headers and Header Format.- Transport Control Protocols Part 1 - An Overview and User Datagram Protocol Implementation.- Transport Control Protocols Part 2 - Transmission Control Protocol (TCP).- Application: User Demand Indicator.- Wireless Mobile Ad Hoc Networks.- Developing New Modules for NS2.- Post Simulation Processing: Debugging, Tracing and Result Compilation.- Related Helper Classes.- Appendix A: Programming Essentials.- Appendix B: A Review of the Polymorphism Concept in OOP.- Appendix C: BSD Link List and Bit Level Functions.
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.
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