Setting up a variety of network nodes using ns-3 nodes and containers
ns-3 supports a wide range of wired and wireless network simulations. In order to simplify setting up wired or wireless topologies, ns-3 offers a simplified procedure to set up any topology using the simple NodeContainer
, NetDeviceContainer
, and a variety of communication channels. ns-3 allows users to create a large number of nodes on servers with abundant computation and memory resources. In this section, we will start with learning how to set up the following networking nodes:
- A variety of wired networking hosts such as computers and servers
- A variety of wired interconnecting devices such as switches and routers
- A variety of wireless stations such as laptops and mobile phones
- A variety of wireless base stations such as Wi-Fi APs and cellular base stations
ns-3 wired networking hosts
In ns-3 simulation, computers, hosts, or servers can be created using the ns-3 Node
(Figure 3.1) or...