Populate a routing table for all the nodes?

44 views
Skip to first unread message

pp

unread,
Oct 10, 2018, 5:03:54 AM10/10/18
to ns-3-users
Hello,

How can I populate a routing table for all the nodes?

shiren ahmed

unread,
Oct 10, 2018, 5:30:23 AM10/10/18
to ns-3-...@googlegroups.com
 review ns3 tutorial (building Bus topology ).
by this is command:
Ipv4GlobalRoutingHelper::PopulateRoutingTables ();

On Wed, Oct 10, 2018 at 12:03 PM pp <polumur...@gmail.com> wrote:
Hello,

How can I populate a routing table for all the nodes?

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

pdbarnes

unread,
Oct 10, 2018, 7:23:19 PM10/10/18
to ns-3-users
Depends on the type of routing you use. Please read the manual chapter on routing, and study the examples.

In addition, normally every Node has a different routing table, since they sit at different places in the topology. So “routing table for all nodes” doesn’t really make sense, except in some special (GodRouting, NixVector) or simple (only ad hoc WiFi nodes) cases.

Peter

Polumuru Pushpa

unread,
Oct 10, 2018, 7:37:36 PM10/10/18
to ns-3-...@googlegroups.com
I am talking about HWMP protocol and both proactive and reactive so I am not sure how I can print the routing table. I am looking at hwmp_rtable.cc. I dont know if thats the right place.




Polumuru Pushpa

unread,
Oct 10, 2018, 7:45:02 PM10/10/18
to ns-3-...@googlegroups.com
Thank you so much.Thats what I was looking for.
Reply all
Reply to author
Forward
0 new messages