ns-3 Key Building Blocks for Simulations
In previous chapters, we practiced using the basic features of ns-3 to quickly write simulations. We also understood the ns-3 simulation program structure, and how to set up simple topologies using important ns-3 classes related to nodes, channels, and protocols. This chapter discusses in detail key building blocks for setting up wired or wireless network topologies and configuring them using interesting network applications. This chapter starts with discussing how to create hosts such as computers, servers, and Wi-Fi Stations (Wi-Fi STAs), and a variety of network-connecting devices, such as switches, routers, and Wi-Fi Access Points (APs). In ns-3, any networking host or interconnecting device can be created using ns-3 nodes. As part of the first section, you will learn how to create and configure a variety of networking hosts or servers and interconnect devices using step-by-step procedures.
The next section of this chapter discusses how...