Learning how to set up and configure various LTE nodes in ns-3
In this section, we will discuss how to set up an LTE network using ns-3-supporting RAN and EPC nodes, interfaces, and protocols. Mainly, we will discuss how to set up various LTE nodes and configure their RAN and EPC features in ns-3.
ns-3 LTE RAN nodes setup and their configuration
Let’s start with creating LTE eNBs and 100 LTE UEs using ns-3 nodes with the following code snippet:
#include "ns3/lte-module.h" NodeContainer eNodeBs; NodeContainer UEs; eNodeBs.Create (3); UEs.Create (100);
Let’s configure LTE eNB and UEs operating UL and DL frequency bands using the following code:
lteHelper->SetEnbDeviceAttribute ("DlEarfcn", UintegerValue (100)); lteHelper->SetEnbDeviceAttribute ("UlEarfcn", UintegerValue (18100));
Let’s see how to configure LTE operating UL and DL bandwidth in terms of RBs using the...