How to communicate between two routing protocols(e.g. AODV, OLSR) by using a gateway of two MANET?

70 views
Skip to first unread message

fancl

unread,
Apr 16, 2019, 7:43:29 PM4/16/19
to ns-3-users
I've done the assignment of protocols to node by following this forum. 

But client in AODV subnet can not communicate with server in OLSR subnet now. This is my source code.

 How can I make them communicate with each other?


aodv_olsr.cc

jared...@gmail.com

unread,
Apr 17, 2019, 11:25:07 AM4/17/19
to ns-3-users
VP,

It's hard for me to understand exactly what you have set up in your code, but it appears that you have two subnets 10.1.1.x and 10.1.2.x.  I know in OLSR there's a setting to mark a node as being a gateway b/w subnets olsr::RoutingProtocol::AddHostNetworkAssociation.  There may be an equivalent in AODV, but I haven't used that one.  The network association sets up a route through that host to the other network.

Hope that gives you a path forward.
Good luck,
Jared.
Reply all
Reply to author
Forward
0 new messages