|
From: Nguyen P. H. An <an....@gm...> - 2014-01-13 02:47:09
|
Hi all, I am working on AODV-UU and meet a problem with the gateway. I set up my topology like this: Router (10.0.0.1) --- eth0 (10.0.0.16) | GW | wlan0 (192.168.30.2) -- wlan0 (192.168.30.1) | MANET With AODV, I am able to ping from the MANET to the GW successfully. And in the GW, I can ping back to the MANET, and the internet (8.8.8.8). However, when I ping 10.0.0.16 from MANET, it can only send 1 package of ICMP, and the stuck right there. On the aodv terminal windows, it says that the route to 10.0.0.16 is down and then delete the route. The same problem occurs when I try to ping to 8.8.8.8 from my MANET (192.168.30.1) On the GW, I did /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE and on the MANET, i did route add default dev wlan0 Is there any one met the same problem with me? Do you have any suggestions to solve this problem? Thank you. I am looking forward to your help. -- Regards, Nguyen Pham Hong An (Mr.) Skype: an.nguyenphamhong Email: an....@gm... Phone number: 0937 736 718 |