5G Network Simulation in NS3 Using mmWave
This post shows the installation of ns3mmwave in Ubuntu 24.04 and simulates 5G networks in ns3.
Installation of #5g networks in ns3 namely mmWave for #ns3
#TSP #pradeepkumar #pradeepkumarts
Prerequisites:
Prerequisites:
1. Ubuntu OS (I used Ubuntu 24.04)
2. mmWave software from github
To know the complete process, follow the video given below
Open a new Terminal and try these commands
$ sudo apt update
$ sudo apt install g++ python3 cmake ninja-build git gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3 tcpdump wireshark libsqlite3-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools openmpi-bin openmpi-common openmpi-doc libopenmpi-dev doxygen graphviz imagemagick python3-sphinx dia imagemagick texlive dvipng latexmk texlive-extra-utils texlive-latex-extra texlive-font-utils libeigen3-dev gsl-bin libgsl-dev libgslcblas0 libxml2 libxml2-dev libgtk-3-dev lxc-utils lxc-templates vtun uml-utilities ebtables bridge-utils libxml2 libxml2-dev libboost-all-dev ccache build-essential autoconf automake libxmu-dev sqlite3 build-essential autoconf automake libxmu-dev
Download the complete package of ns3-mmwave from GitHub and install it
The website to download:
https://github.com/nyuwireless-unipd/ns3-mmwave/tree/new-handover
or use the following method
$ git clone https://github.com/nyuwireless-unipd/ns3-mmwave.git
After downloaded, the zip files are to be unzipped to the home folder
and open a terminal now
$ cd ns3-mmwave
$ ./ns3 configure --enable-examples --enable-tests
$ ./ns3 build
This process will take a long time to complete.
There are many errors I encountered. To correct those errors, open those files and include the following line at the include
For example /home/pradeepkumar/ns3-mmwave/src/mmwave/model/mmwave-net-device.h
in the above file, include the following line
#include <map>
and then save it and rerun the compilation process.
To run a file:
Let me run a file.... from the ~ns3-mmwave/src/mmwave/examples/mmwave-simple-epc.cc
move the above file to the scratch folder/
To run the file, open a terminal
$ cd ns3-mmwave/
$ ./ns3 run scratch/mmwave-simple-epc.cc
and this file will create some files namely .pcap files and some performance metrics files.
Keep checking my channel for more details. Thanks for watching....
Join My Channel for more working example videos:
Join this channel to get access to the perks:
https://www.youtube.com/channel/UCSckTbBIf39jf2dIbruS32A/join
My other Channel - https://www.youtube.com/tspradeepkumar1
My Tech Blog - https://www.nsnam.com/
My Personal webiste - https://www.pradeepkumar.org
______________________________
Follow me on,
Instagram - https://www.instagram.com/tspradeepkumar
Facebook - https://www.facebook.com/tspradeep
Twitter - https://twitter.com/tspradeepkumar
________________________________
Comments
Post a Comment