The document describes an NS2 code for simulating distance vector routing protocol. It defines nodes, links between nodes, and agents for TCP, FTP, UDP and CBR applications to generate and receive traffic. It also attaches routing protocol as distance vector and runs the simulation for 5 seconds.
The document describes an NS2 code for simulating distance vector routing protocol. It defines nodes, links between nodes, and agents for TCP, FTP, UDP and CBR applications to generate and receive traffic. It also attaches routing protocol as distance vector and runs the simulation for 5 seconds.