This is an ns-3 module for the simulation of 5G cellular networks operating at mmWaves. A description of this module can be found in this paper.
Make sure that the free5gc and the ueransim containers are running,
To connect to the UERANSIM container use this command, run:
sudo ./ns3 connect 10.100.200.13 #10.100.200.13 is the ip address of the ueransim containerTo run a simulation with custom parameters:
./ns3 run scratch/ue.cpp -h 8.8.8.8 -c 10 -o captured -lpcap -lxlsxwriter # send 10 packets to 8.8.8.8 throught the gNb of ueransim that forwards packets to free5gc and output the trace in files named captured that has many extensions 'xls, json, pcap...'