Advanced Network Simulations Simplified by Dr Anil Kumar Rangisetti

Advanced Network Simulations Simplified by Dr Anil Kumar Rangisetti

Author:Dr Anil Kumar Rangisetti
Language: eng
Format: epub
Publisher: Packt Publishing Pvt Ltd
Published: 2023-03-13T00:00:00+00:00


Testing our wireless ad hoc network setup under realistic propagation losses

In order to simulate a real-time wireless environment, let’s configure ns-3’s LogDistancePropagation loss model and observe the network performance results using ns-3’s ConstantRate, Arf, and Minstrel rate control algorithms:

./ns3 run scratch/pkt-adhoc -- "ns3::ConstantRateWifiManager" Average throughput at Sink-1: 0.075136 Mbit/s Average throughput at Sink-2: 0 Mbit/s /ns3 run scratch/pkt-adhoc -- "ns3::ArfWifiManager" Average throughput at Sink-1: 0.075136 Mbit/s Average throughput at Sink-2: 0 Mbit/s ./ns3 run scratch/pkt-adhoc -- "ns3::MinstrelWifiManager" Average throughput at Sink-1: 0.075136 Mbit/s Average throughput at Sink-2: 0 Mbit/s

When simulating an ad hoc network using the LogDistancePropagtionLoss model, changing the rate control algorithm alone is not helping. Let’s check whether enabling RTS/CTS helps improve the network performance:

./ns3 run scratch/pkt-adhoc -- "ns3::MinstrelWifiManager" Average throughput at Sink-1: 0.075136 Mbit/s Average throughput at Sink-2: 0 Mbit/s

Oh! There is still no improvement in the throughput at the sinks. Let’s inspect what is happening at Sink-2 using NetAnim.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.