Routing table display

483 views
Skip to first unread message

elif.c...@gmail.com

unread,
Sep 22, 2017, 3:38:08 AM9/22/17
to omn...@googlegroups.com

Hi omnet++ experts,
     Is there any way I can see the routing table of all individual nodes during/after simulation. For eg: wireless example given in tutorial section. or any other example.

Sorry for asking a basic question though. But I could not resist after trying so much to understand the metric thing used.

Thanks in advance,
Amal

Message has been deleted
Message has been deleted
Message has been deleted

elif.c...@gmail.com

unread,
Sep 28, 2017, 6:34:03 AM9/28/17
to OMNeT++ Users

Hi all,
  I tried the visualizer given in the below link
https://inet.omnetpp.org/inet-showcases//visualizer/routingtable/

But it was showing that the routing table is empty even though there is a data transfer between fixhost1[0] and fixhost2[2].
Destination and gateway are shown as "unspec" and metric is 0.
Please refer the attachment.

Can someone tell me why this is empty?
RoutingTable.png
Message has been deleted

elif.c...@gmail.com

unread,
Sep 29, 2017, 11:41:11 AM9/29/17
to OMNeT++ Users
Any help?

Also on finding mac routing table as well.


Alfonso Ariza Quintana

unread,
Sep 29, 2017, 12:31:39 PM9/29/17
to omn...@googlegroups.com

Mac routing tables?

RSTP? It isn’t exactly a routing table

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

Alfonso Ariza Quintana

unread,
Sep 29, 2017, 12:32:46 PM9/29/17
to omn...@googlegroups.com

Are you using a routing protocol?

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de rashad kasim
Enviado el: viernes, 29 de septiembre de 2017 17:05
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] Re: Routing table display

 

Can someone help me on this? :(

--

Message has been deleted

elif.c...@gmail.com

unread,
Oct 2, 2017, 3:50:42 AM10/2/17
to OMNeT++ Users
I am not using any layer 3 protocol. I was using the "reactive" protocol given in mesh, which I think is a layer 2 protocol.
I want to see MAC address of all nodes and what is their metric to next hop at individual nodes.

Thanks!

Alfonso Ariza Quintana

unread,
Oct 2, 2017, 7:21:17 AM10/2/17
to omn...@googlegroups.com

 

These information are not available, or at least is not available if you don’t modify the code.  

 

Enviado desde Correo para Windows 10

elif.c...@gmail.com

unread,
Oct 3, 2017, 5:25:57 AM10/3/17
to OMNeT++ Users
Ok, thanks Alfonso.

Alfonso Ariza Quintana

unread,
Oct 3, 2017, 5:38:33 AM10/3/17
to omn...@googlegroups.com

It is quite easy to display the table if you need it.

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de elif.c...@gmail.com
Enviado el: martes, 03 de octubre de 2017 11:26
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: Re: [Omnetpp-l] Re: Routing table display

 

Ok, thanks Alfonso.

Message has been deleted
Message has been deleted

Alfonso Ariza Quintana

unread,
Oct 4, 2017, 6:11:37 AM10/4/17
to omn...@googlegroups.com

In the case that you want, when the protocol runs in the link layer, the routing table is maintained in the routing protocol module, it doesn’t exist a routing table module that contains the information,

 

You need to create the operator << and the include the watch in the initialize method. This is the modifications for Dymo-uma that is the default reactive protocol for Ieee80211Mesh

https://github.com/aarizaq/inetmanet-3.x/commit/c5e1444f29f36c532c901a1be0fe141edbee0250

 

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de elif.c...@gmail.com
Enviado el: martes, 03 de octubre de 2017 11:59
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: Re: [Omnetpp-l] Re: Routing table display

 

yes, I need it. But I could not find much details.
Now I am reading the manual

Thanks!

serap bakioglu

unread,
Jan 12, 2018, 3:12:41 AM1/12/18
to OMNeT++ Users
Dear Alfonzo;

How can we use visualizer for IPRouting in omnet 4.6 Inet 3.3?

In inet tutorial, it is written that visualizer is for INET 3.6.



29 Eylül 2017 Cuma 19:31:39 UTC+3 tarihinde Alfonso Ariza Quintana yazdı:

Rudolf Hornig

unread,
Jan 15, 2018, 4:54:50 AM1/15/18
to OMNeT++ Users
OMNeT 4.x does NOT have the necessary APIs to draw on module canvas, so you cannot use the INET visualizer modules on OMNeT 4.x

serap bakioglu

unread,
Jan 15, 2018, 5:22:18 AM1/15/18
to omn...@googlegroups.com
Is there anyway to see the routes easily on 4.x. ?

15 Oca 2018 11:55 tarihinde "Rudolf Hornig" <rudolf...@gmail.com> yazdı:
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/6EpQJLqNR9w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.

hasti pashazadeh

unread,
May 28, 2020, 8:27:52 AM5/28/20
to OMNeT++ Users
i used **.configurator.dumpRoutes = true for printing routing table of each node but i can't see it. do you have any idea?
Reply all
Reply to author
Forward
0 new messages