I have a network built with 3 Asus RT-AC68U routers:
USB LTE modem (192.168.1.1)
|
router 1, NAT, DHCP (192.168.0.1)
|
router 2, AP (192.168.0.2)
|
router 3, AP (192.168.0.3)
This setup works, but has only one poor WAN connection.
Physically each router is placed on a different floor. Router 1 is placed at the highest floor just below the roof and its USB modem is connected to an external LTE antenna. All routers are connected by an ethernet cable.
Soon I'll be getting another connection (fiber) which is going to be my main connection. However, I'd like to keep my roof LTE connection as the backup connection, so if the fiber goes down, all stuff in my network should failover to the USB modem.
Unfortunately the fiber is going to come from the (under)ground level to my house and it would be a very tricky thing to connect it directly to the router 1 on the top floor. I have no direct ethernet cable from the ground floor (router 3) to the third floor and placing such a cable will be a lot of work. I know such cable would make it trivial to use the Dual-WAN feature of my routers. The other way round is also not possible, because the antenna cables can't be so long to reach to the ground floor.
Instead, is it possible to have physical setup like this:
\/
||
USB LTE modem (192.168.1.1)
|
router 1, NAT (192.168.0.1)
|
router 2, AP (192.168.0.2)
|
|LAN
router 3, NAT, DHCP (192.168.0.3)
|WAN
|
fiber modem (192.168.2.1)
My idea is to set up:
- a static route on routers 1 and 2 to route all traffic to 192.168.0.3
- a conditional static route on router 3 to route all traffic to the other gateway 192.168.1.1 if the WAN connection on router 3 fails (not sure though if that wouldn't create a loop...)
Would it work? Or is the idea totally wrong? If achieving that with static routing would work, is it possible to automatically add/remove/change static routes on Asus WRT (or maybe Merlin?) depending on the state of WAN connection?
Initially I tried to use the Dual WAN feature for that, because it has WAN status detection and can fallback to another LAN port, but I had to give up - somehow setting up a LAN port as the secondary WAN makes it no longer work as a standard LAN port and after doing this I could no longer access local addresses from router 3 (funny, Internet connection did work). :(