Hello all! I am experimenting with a OLSR setup at home. Here is what my setup looks like:
Main wireless router - - - (wireless client) - - - EA8500 - - - (olsr) - - - EA8500 - - - (wifi) - - - Laptop
So my first Linksys EA8500 connects wirelessly on 5G ratio to my main wireless router (172.23.233.253/24) as a wireless client, it gets a DHCP address 172.23.233.121 from the main router. It is configured with it's own fixed IP address 172.17.18.19 /24 for the LAN interface (DHCP Server enabled). It's 2.4GHz interface is used for OLSR with ad-hoc mode, it has a fixed IP address of 10.10.10.19/24 there, no DHCP server.
The second Linksys EA8500 router wirelessly connects to the first EA8500 with an ad-hoc OLSR link, it uses 2.4Ghz interface for that, with IP 10.10.10.20/24 fixed address. On it's 5Ghz ratio, it serves as an access point for my laptop. So here LAN (eth0.1) and 5GHz ratio (wlan1) are bridged together, with IP of 172.18.19.20/24 DHCP enabled.
For the OLSR setup, I followed this article here, It's written for Openwrt 15.05, but it plays well with 19.07.8.
If you follow the article step by step, you will see the link between 2 nodes. However, devices connected to the first or second EA8500 can't access the internet, so I have to add a firewall NAT route on 2nd EA8500 like this: for source IP address of 172.18.19.0/24 (any port any outbound zone) to destination IP address of !172.18.19.20/24, do MASQUERADE. On 1st EA8500, I added a similar firewall NAT rule: for source IP address of 10.10.10.1/24 (any port any outbound zone) to destination IP address of !10.10.10.2/24, do MASQUERADE.
With this setup, when I connect to the 2nd EA8500 wirelessly from my laptop, I can access both EA8500's GUIs and the internet, but the OLSR connection always dies (at least I can't access 1st EA8500's GUI or internet) after about 5 to 10 minutes.
I spent days searching everywhere, but failed find any useful information on where the problem could be. Can you expert here please point me the right direction? Thanks a million in advance!!!
I can attach screen captures and logs if needed.