Configuring and installing a variety of ad hoc network routing algorithms in ns-3
In the previous section, we discussed how to set up a realistic ad hoc network and test it using the default routing algorithms. In wireless ad hoc networks, the network topology frequently changes. Hence, it is necessary to configure suitable ad hoc routing algorithms for message exchanges between ad hoc Wi-Fi nodes. In the literature, ad hoc routing algorithms are also known as MANET routing algorithms. ns-3 supports the following set of ad hoc routing algorithms to use in ad hoc Wi-Fi network simulations:
- Proactive routing protocols: Proactive routing algorithms maintain the routes for every node in the network. Equally, they maintain routing tables with periodic updates. If the network topology changes, broadcast messages are sent to update the routes. Usually, these protocols are suitable for small networks with minimal topology changes. Having routes for every node available at all nodes...