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...
Its all about Network Simulations (NS2, NS3), Internet of Things, Sensor Networks, Programming, Embedded Systems, Cyber Physical Systems, etc