What should I do to make the AODV protocol broadcast the routing table information of the static route I configured to the neighbor nodes??

54 views
Skip to first unread message

大肆xxbb

unread,
Apr 2, 2023, 11:35:51 AM4/2/23
to ns-3-users
I am a novice; I want a group of nodes using the AODV protocol to communicate with a designated remote host. I not only configured one of the nodes with the AODV protocol, but also made this node point-to-point connection with the remote host, and then configured the static route of the remote host in this node. I want this node to broadcast the routing information of the remote host in its static routing table to other nodes, so that all nodes in the AODV network can communicate with the remote host through the node configured with static routing. But I have a problem now, because each routing protocol of each node in NS3 will have its own routing table, not a node has a routing table containing all routing information. The AODV protocol does not pass the node's static routing table information to other nodes. Please tell me how to solve this problem, or how I should add a routing information to the AODV routing table of the specified node. Thank you.

Tommaso Pecorella

unread,
Apr 3, 2023, 4:34:32 AM4/3/23
to ns-3-users
Hi,

it's not a problem of forwarding static routes, it's problem of how AODV works.

According to RFC 3561, section 7, a node that connects an AODV network to an external network should reply with a prefix (this also enables a node to become the "default" router for the rest of Internet). This is similar to the OLSR's HNA feature.

Unfortunately, this feature doesn't seems to be implemented in the current mode (as usual, contributions are welcome). I might as well give it as a class project in the next semester.

As a workaround you might try to install a manual route in the AODV nodes pointing to the node that bridges the AODV section to the rest of Internet - but I can't guarantee that it will work. Note that you might have to install both StaticRouting and AodvRouting in the nodes, with StaticRouting taking the precedence over AodvRouting. If it works it's a dirty trick, but if it works it works.
Reply all
Reply to author
Forward
0 new messages