Hi, I am a new to NS2 and trying to simulate various routing protocols. I followed many tutorial provided on internet.
I am using the attached code for simulating shortest path, distance vector and link state routing given in one of the tutorials and i need some help in this. Queries: 1) Are the attached code correct to perform link state routing as well. 2) If the above codes are correct than how will i modify the code to change the network load as in the code there is nothing mentioned about the network load. 3) how shall i calculate the average delivery time of the packets for the network using the trace files generated. I know these are very simple queries but since i am new user and trying NS2 1st time so i am getting bit difficulties in finding the answers of these queries. I am using ns2.34 version on red hat. Please help me!!!!! Thanks, Rahul