What this book covers
Chapter 1, Getting Started with Network Simulator-3 (ns-3), looks at how, before starting to use ns-3 for simulations, it is very important to learn how to use ns-3 as a simulation tool for development, testing, and evaluation activities. This chapter mainly discusses ns-3 and its supporting tools’ installation for implementation and executing simulations. To make the aforementioned activities simple, ns-3 users must learn about the installation of ns-3, supporting animation tools to quickly visualize simulations, and how to write ns-3 simulation programs easily using an editor. Although the ns-3 documentation provides these details, it is difficult to follow for beginners and takes many hours to complete these activities. We explain these activities in simple steps to complete them quickly.
Chapter 2, Monitoring, Debugging, Tracing, and Evaluating Network Topologies in ns-3, discusses how to use ns-3 logging features to display simulation details such as nodes and their configuration details, protocol behavior, and events at various levels for informative simulations. Besides this, to understand simulation errors, exceptions, and abrupt events, ns-3 debugging and tracing features are discussed in detail. Finally, it is very important to evaluate test scenario performance in terms of throughput, delay, jitter, and packet loss metrics. In this regard, to help you, this chapter discusses how to use ns-3 FlowMonitor or evaluate test scenarios.
Chapter 3, ns-3 Key Building Blocks for Simulations, discusses how to set up and evaluate network topologies using ns-3 key building blocks. It discusses all the important ns-3 key building blocks, such as Nodes
, NodeContainers
, NeDevices
, InternetStack
, and a variety of channels for connecting Nodes. It also discusses how to install TCP or UDP network applications and evaluate their performance. Finally, it discusses the step-by-step procedure for setting up and evaluating simple wired or wireless LANs.
Chapter 4, Setting Up and Evaluating CSMA/P2P LANs, Wi-Fi LANs, and the Internet, discusses two basic LAN technologies: CSMA and P2P supported in ns-3. It mainly discusses how to set up a variety of LANs using CSMA or P2P using important network nodes, such as bridges and routers. It also discusses how to install and configure routers to connect two LANs on the internet. Finally, it introduces step-by-step procedures for how to set up Wi-Fi LANs and heterogeneous LANs.
Chapter 5, Exploring Basic Wi-Fi Technologies, and Setting Up and Evaluating Wireless Ad Hoc Networks, introduces the basics of Wi-Fi Nodes and protocols to set up Wi-Fi LANs and ad hoc networks using ns-3. It describes how to deploy and conduct wireless network test scenarios using placement and mobility models. In order to understand important features of Wi-Fi, it discusses Wi-Fi Nodes’ operating modes, rate control algorithms, and QoS support in ns-3. Finally, it introduces wireless ad hoc networks and discusses how to set up ad hoc networks and configure a variety of routing algorithms in ns-3.
Chapter 6, Researching Advanced Wi-Fi Technologies-802.11n, ac,and ax in ns-3, introduces various Wi-Fi technologies (802.11a/b/g/n/ac/ax) supported in ns-3. It mainly discusses how to configure and use advanced Wi-Fi features in simulations using ns-3. It discusses how to configure frame aggregation, channel bonding, OFDM, and MIMO advanced features in Wi-Fi test scenarios using ns-3. It also discusses how to set up Wi-Fi 6 networks and evaluate resource management and spectrum reuse techniques using ns-3 simulations.
Chapter 7, Getting Started with LTE Network Simulations Using ns-3, introduces 4G network (LTE) simulations using ns-3. It discusses how to set up and configure LTE base stations and user equipment. Mainly, it discusses a variety of LTE network nodes, their data plane and control plane protocols, and algorithms supported in ns-3. Finally, it discusses how to set up and configure an LTE radio access network and its core network for setting up test scenarios.
Chapter 8, Researching LTE Network Radio Resource Management and Mobility Management Using ns-3, introduces important research aspects, such as radio resource management and mobility management in LTE networks using ns-3. It mainly focuses on how to set up an LTE network and evaluate radio resource scheduling algorithms supported in ns-3. It also discusses how to set up and conduct LTE network mobility scenarios, and evaluates LTE-supported handover algorithms in ns-3.
Chapter 9, Researching LTE Advanced Networks: LTE HetNets and Interference Management Using ns-3, discusses how to set up LTE advanced networks, such as heterogeneous networks, using a variety of base stations supported in ns-3. It mainly discusses how to deploy LTE HetNets by doing site surveys using the heatmaps feature of ns-3. Finally, it discusses how to configure and evaluate various LTE interference management algorithms supported in ns-3.