Posts

Featured Post

5G Network Simulation in NS3 using mmWave | NS3 Tutorial 2024

Image
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: 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 bridg...

How to Install Network Simulator 3 (NS-3.46) on Fedora Linux

Image
While most network simulation tutorials focus on Ubuntu or Linux Mint, Fedora is a powerful, cutting-edge distribution that is excellent for research and engineering. In this guide, we’ll walk through the complete process of installing Network Simulator 3 (specifically version 3.46.1) on Fedora. Prerequisites & System Updates Before starting the installation, ensure your system is fully up to date. Fedora uses the DNF (or YUM ) package manager. Open your terminal and run: sudo dnf update Note:  If this is your first time updating, it might download a significant amount of data (around 1GB–4GB), so ensure you have a stable connection. (Follow step-by-step instructions from here.) Step 1: Install Development Tools To compile NS-3 from source, you need a suite of development libraries. Start by installing the GNOME Software Development Kit via the Fedora Software Center or terminal. After that, install the NS-3 dependencies using the command provided in the video description. ...

Install Ubuntu 24.04 on Windows 11 in Under 5 Minutes with WSL2

Image
Are you eager to dive into the world of Linux but hesitant about partitioning your hard drive or dealing with complex installations? Good news! You can get a full fledged Ubuntu 24.04 (or almost any other Linux distribution) environment running on your Windows 11 machine in just a few minutes, thanks to the power of WSL (Windows Subsystem for Linux). This method is perfect for beginners just starting their Linux journey. It provides a seamless way to experiment with commands, learn the file system, and develop in a Linux environment without any risk to your existing Windows setup. If you're an experienced user who needs a dedicated system, a separate partition might still be your preferred route, but for everyone else, WSL is a game-changer! Here's how incredibly easy it is: Tools You'll Need: WSL (Windows Subsystem for Linux): This is the magic behind running Linux on Windows. Linux OS Distro: We'll be using Ubuntu 24.04, but you can pick almost any other distributio...

ns-3 Tutorial: Simulating P2P & CSMA Networks with NetAnim, Wireshark, and FlowMonitor

Image
Welcome back! Today, we are going to explore a hybrid network topology in ns-3.44 . We will be simulating a network that consists of two Point-to-Point (P2P) nodes and three CSMA (Carrier Sense Multiple Access) nodes (representing a LAN). Beyond just running the simulation, we are going to experiment with five essential modules to visualize and analyze our network performance: NetAnim (Network Animation) AsciiTraceHelper (TraceMetrics-1.4.0) Gnuplot (Graphing data) Packet Capture (Wireshark & .pcap files) Flow Monitor (Performance statistics) Let's get started! Check the full video here: Prerequisites & Setup We will be using the standard example file second.cc . First, we need to copy this file from the examples directory to our scratch directory so we can modify it without ruining the original. Open your terminal and run: Bash cd ns-allinone-3.44/ns-3.44 cp examples/tutorial/second.cc scratch/ Now, let's verify that the basic simulation works: Bash ./ns3 run s...