--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/p_uaFWIYvg4J.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
Hi Konstantinos,Thanks a lot for the help.I have configured like you said and since OLSR randomly updates the routing table based on distance, I got a maximum of only 2 hops to reach the destination. My requirement is to vary the number of hops from 1 to 10 and observe the throughput. I think static routing will be helpful for this. Do you know any examples using static routing?Thanks again for the reply.Regards,
Jagadeesh
On Wed, Apr 18, 2012 at 5:52 AM, Konstantinos wrote:
Hi,
If you want to use OLSR you have to give it some time to converge (build up the routing table). In addition, for a fixed topology, OLSR will always give you the same number of hops (minimum).
I would recommend to have a fixed topology (for example a standard grid or just a line) and change the source node keeping the destination the same (e.g. at one corner of the topology).
Changing the distance as you say might have an impact on the throughput (due to transmission delays etc).
On Tuesday, April 17, 2012 11:36:43 PM UTC+1, Griffinz wrote:Hi ns3-users,
I am trying to simulate a Adhoc network with 7 nodes separated by a fixed distance. I would like to vary the number of hops between sender and receiver
and observe the throughput. I have used OLSR routing protocol but the number of hops is not changing even I increased the distance
between nodes to a larger value.
I have attached my code for reference. I would really appreciate if anybody could help me on this issue.
Thanks,
Jagadeesh
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/p_uaFWIYvg4J.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/h825xEjQMdcJ.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
Jagadeesh
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.