OpenWrt Forum Archive

Topic: Routing problems with aodv-uu.

The content of this topic has been archived on 2 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi everybody.

I'm setting up a meshed wireless network for my thesis project, and I am having some problems getting AODV-UU to work correctly.

I'm using WRT54GL routers, running OpenWRT R6, and aodv-uu. Identical setup on all routers. I can start aodv-uu, and the routing table is updated with the IP's of the wireless interfaces on neighbouring nodes. This is my setup:


  Wired         Router             Wireless           Router        Wired

192.168.2.1 - [R2] - 10.0.0.2 ------- 10.0.0.3 - [R3] - 192.168.3.1

After starting aodv, R2 knows that 10.0.0.3 is directly connected, but R2 does not know that it can reach 192.168.3.1/24 through 10.0.0.3. R3 does not tell R2 which networks it has direct access to. How can I get the routers to share this information?  I have cleared all rules from iptables, set policy ACCEPT on all chains, and activated forwarding, which should be all that is needed, but nothing happens. I have even tried explicitly forwarding all traffic between the wired and wireless interface, that did not help either.

I would be thankful for any help.


My iptables:

root@Two:~# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
root@Two:~# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination


root@Two:~# cat /proc/sys/net/ipv4/ip_forward
1

You could check the arp cache. ARP might have problems with bridged interfaces.

joek0100, have you gotten this working yet? We are running the latest version of AODV-UU (0.9.5) in a class I'm in and running into the same issues. If you got this working I'd love to talk with you.

I just wanted to post an update. In a class that I'm in we were able to successfully ping each end node if they were neighbors. As soon as we moved those two nodes too far apart to see each other and placed a third node in between the center node could see the others but was not passing route information.

Working: A <--> B
Not Working: A <--> C <--> B

That was all done using the example command they give in the readme file of "aodvd -l -r 3". I got a reply back from someone suggesting trying to run the "-o" switch. When we did that in class last night it worked. The command we used on all three systems was "aodvd -l -r 3 -o".

joek0100, I never heard back from you so I don't know if you're still trying to get this to work but try the "-o" switch.

Good luck everyone,

Ben

Are patches for aodv 0.9.5 avaliable ?

The discussion might have continued from here.