Promiscuous Mode in AODV (in omnet)

122 views
Skip to first unread message

Mahsa Shafiei

unread,
Aug 20, 2015, 6:20:23 AM8/20/15
to OMNeT++ Users
Hi

I'm working on Manet and I'm using inet and aodv routing.
I want to each node overhear other nodes in their wireless range. how can i define promiscuous mode in aodv?? please someone explain it to me. 

please help me. i get confused
thank you

Alfonso Ariza Quintana

unread,
Sep 1, 2015, 3:50:01 AM9/1/15
to omn...@googlegroups.com

If you are working with the AODV-UU, there is a method in the Base class (ManetRoutingBase) that allows to receive promiscuously the information, you need to overload the method in the AODV class and include your code in the method.

--
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 http://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

Mahsa Shafiei

unread,
Sep 1, 2015, 7:34:26 AM9/1/15
to OMNeT++ Users, aari...@hotmail.com
thanks Alfonso
I just wrote 

**.mac.promiscuous=true

 in omnet.ini file but there isnt any effect on my result, so I understood that I should write some codes in aodvRouting.cc file in "receiveChangeNotification" part. but I dont know how? 

could you please help me?!
thank you

Alfonso Ariza Quintana

unread,
Sep 1, 2015, 9:51:32 AM9/1/15
to omn...@googlegroups.com

You can see in the class ManetRoutingBase how the notification is captured.

adhi rizal

unread,
Sep 19, 2015, 7:52:47 PM9/19/15
to OMNeT++ Users
hi, can you help me ?
i am implement wireless ad hoc with AODV routing.

my question is, can i get number or count HELLO messages that sent by sender and received by receiver ?
in result folder, how can i find them ?

some parameter AODV i used in omnetpp.ini file is like this

**.routingProtocol = "AODVUU"
**.hello_jittering = false
**.optimized_hellos = false #tetap mengirim hello paket walaupun tidak ada active routes
*.*MN*.manetrouting.broadcastDelay = 1s
**.manetrouting.EqualDelay = true
**.expanding_ring_search = true
**.local_repair = true
**.rreq_gratuitous = false
**.rt_log_interval = 0
**.unidir_hack = 0
**.internet_gw_mode = 0
**.receive_n_hellos = 10
**.ratelimit = 2
**.llfeedback = false# //1000
**.wait_on_reboot = 0
**.active_timeout = 3000ms
**.internet_gw_address = "0.0.0.0"
Message has been deleted

Mahsa Shafiei

unread,
Nov 2, 2015, 8:49:54 AM11/2/15
to OMNeT++ Users
how can i see the result for promiscuous mode when i run the simulation?
i just added some codes in aodvRouting.cc file,
 but i dont know what changes will be appear? and where should i find them?!

please help me

Alfonso Ariza Quintana

unread,
Nov 3, 2015, 3:41:05 AM11/3/15
to omn...@googlegroups.com

Are you speaking about Link layer feedback? If yes, the PDR, in high mobility networks, should improve. The promiscuous mode, that is present in DSR, it doesn’t have a lot of sense in AODV.

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Mahsa Shafiei


Enviado el: lunes, 02 de noviembre de 2015 14:50
Para: OMNeT++ Users <omn...@googlegroups.com>

--

Reply all
Reply to author
Forward
0 new messages