Skip to content

This repository contains an ns-3 simulation script for a wireless network scenario with multiple mobile nodes and a monitoring node. It has added support for caching mechanisms.

Notifications You must be signed in to change notification settings

Hemantha-krishna/Wireless-Network-Simulation-with-NS3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Wireless Network Simulation with NS-3

This repository contains an NS-3 simulation script for a wireless network scenario with multiple mobile nodes and a monitoring node. It has added support for caching mechanisms.

The simulation demonstrates the following features:

  • Random Walk Mobility Model for nodes
  • Wi-Fi 802.11n network with configurable channel and physical layer settings
  • Point-to-point links between nodes and a monitoring node
  • UDP communication between nodes (client-server model)
  • Packet capture and tracing (PCAP and ASCII)
  • Network animation using NetAnim

The simulation can be used to study wireless network behavior, mobility models, and network monitoring techniques in ns-3.

Usage

  1. Install NS-3 on your system (Version 3.36)
  2. Clone this repository: git clone https://github.com/Hemantha-krishna/Wireless-Network-Simulation-with-NS3
  3. Navigate to the repository directory
  4. Build the simulation script: ./waf --run scratch/wireless-simulation or ./ns3 run scratch/wireless-simulation
  5. PCAP files are created in the scratch folder which can be analyzed using tools like Wireshark
  6. After the simulation is completed, you can view the animation using NetAnim

Feel free to modify the simulation parameters (e.g., number of nodes, mobility area, simulation time) in the main function to explore different scenarios.

About

This repository contains an ns-3 simulation script for a wireless network scenario with multiple mobile nodes and a monitoring node. It has added support for caching mechanisms.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages