0
votes

I was following the INET Wireless Tutorial, but when I reached step 10, which is configuring Aodv routing protocol, it doesn't work.

I also followed this guide on manet routing protocols successfully: the three routing protocols worked. But in the step 10 of the Wireless Tutorial it doesn't work.

In the simulation, it starts ok and the first route is created, allowing the transmission of packets

enter image description here

But when hostR1 gets out of the transmission range of hostA and hostB, the new route through hostR2 and hostR3 doesn't set up.

enter image description here

I was typing the code, but then I copied and pasted it just to make sure it was right, but it still doesn't work. The code is here: omnet.ini, WirelessA.ned, WirelessB.ned

The part where it configures Aodv is this

[Config Wireless10]
description = Configuring ad-hoc routing (AODV)
extends = Wireless09

*.configurator.addStaticRoutes = false

*.host*.typename = "AodvRouter"

*.hostB.wlan[0].radio.displayCommunicationRange = true

*.visualizer.dataLinkVisualizer.packetFilter = "AODV*"

Can anyone tell me if I'm doing something wrong?

1

1 Answers

0
votes

I would suggest to compare your omnetpp.ini to the file in the tutorial sources to see any differences. Seeing the effect I suspect that the MAC layer acknowledgement is not turned on (check Config Wireless06 & 07), which means that the routing protocol cannot detect a when a link broke, which means it will not create new routes either.