Simulation of Link-State routing (Dijkstra) in a 12-router wired network | NS3 Project 28
Simulate Link-State routing using the OLSR protocol in ns-3 for a 12-router wired network. Requirements: Create a network with 12 nodes connected in a grid/mesh topology. Assign different link costs by varying delay or data rate across links. Generate UDP traffic between a source node and a destination node. Introduce a link failure at 40 seconds and restore the link at 44 seconds. Measure and display the convergence time of the routing protocol. Enable tracing ( pcap /ascii) and optionally include NetAnim visualisation. Additionally: Provide a Mermaid diagram representing the 12-node network topology. Ensure the code is modified from an existing ns-3 OLSR example and is fully functional. The output should include relevant performance metrics such as packet transmission, delay, and convergence behavior. The above prompt is the enhanced and final prompt given to chatgpt after refining it for 2-3 time...