Skip to main content

Posts

Featured Post

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

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...
Recent posts

Implement a simple DNS query-response application over UDP sockets in NS3 | NS3 Project 15

Aim: To design and simulate a DNS query-response mechanism over UDP sockets using NS3. The client sends QUERY:<domain> packets to a DNS server through a router; the server replies with ANSWER:<domain>:<ip> or NXDOMAIN. The experiment measures throughput, delay, and packet delivery ratio, and visualises packet flow using NetAnim and Gnuplot. Prompt: "Implement a simple DNS query-response application over UDP sockets in NS3. The simulation should include a DNS Client node, a Router, and a DNS Server node connected via point-to-point links. The client should send DNS queries (QUERY:<domain>) and the server should respond with IP addresses (ANSWER:<domain>:<ip>) or NXDOMAIN. Include NetAnim animation output, FlowMonitor statistics, and Gnuplot graph generation for throughput and delay. LLM used: Claude (Anthropic), Gemini Source Code: #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/inte...

Performance Analysis of TCP Reno Congestion Control Under Varying Round-Trip Time Conditions | NS3 Project 14

Performance Analysis of TCP Reno Congestion Control Under Varying Round-Trip Time Conditions: An ns-3 Simulation Study   PROMPT Part 1: You are an expert in ns-3 network simulation and C++. I want you to design and implement a complete ns-3 simulation in C++ to analyze the performance of TCP Reno over a point-to-point link with varying RTT values (10 ms to 200 ms). Requirements: Simulation Setup ●         Create a point-to-point network topology (2 nodes). ●         Configure link parameters such as: ○         Data rate (choose a reasonable default like 5 Mbps or 10 Mbps) ○         Packet size ○         Queue type (DropTail or similar) ●         Use TCP Reno as the transport protocol. ●         Ensure RTT varia...