Problem with Static Routing
Hey There, I think there is a bug with static routing. I have another router cascaded with the TPLINK AX20, when i setup static routing to the second router everything sims to work just fine but after some time short time (20-30 seconds) long running connections like SSH or WebSockets are dropped.
Here is my setup
1. Internet router,
wan connected to internet
local ip 192.168.0.1
lan 192.168.0.0/24
2. Tp link Wireless router AX20
wan connected to Router 1 (via LAN cable) and wan ip address 192.168.0.2
local ip 192.168.1.1, gateway 192.168.0.1, dns 192.168.0.1
lan 192.168.1.0/24 (all wireless devices connected to this network)
3. IOT wireless router
wan connected to Router 2 (via LAN cable) and wan ip address 192.168.1.2
local ip 192.168.2.1, gateway 192.168.1.1, dns 192.168.1.1
lan 192.168.2.0/24 (all iot devices connected to this network)
I have setup a static routing from Router #2 (TPLINK Archer AX20) to Router #3 like this:
network: 192.168.2.0
subnet 255.255.255.0
gatewah: 192.168.1.2
interface: LAN
The routing table on the archer AX20 looks like this:
#1 | 0.0.0.0 |
0.0.0.0 |
192.168.0.1 |
WAN |
#2 | 192.168.2.0 |
255.255.255.0 |
192.168.1.2 |
LAN |
#3 | 192.168.1.0 |
255.255.255.0 |
0.0.0.0 |
LAN |
#4 | 192.168.1.2 |
255.255.255.255 |
0.0.0.0 |
LAN |
#5 | 192.168.0.0 |
255.255.255.0 |
0.0.0.0 |
WAN |
Routes #1, #3 and #5 where automatically created by the initial setup of the router
Routes #2 and #4 were generated when i created the static route.
All devices connected to Router#2 have no problem accessing internet
All devices connected to Router#3 have no problem accessing internet
All devices from Router #3 have no problem accessing devices on Router #2
Devices from Router #2 (TPLINK Archer AX20) can make a connection to devices on Router #3 but after some time the connections dropout. This is especially noticable on long runing connections like Websockets, SSH and so on.
Tried to change the cable between Router#2 and Router#3 and that does not fix the problem.
Tried to substitute the Archer AX20 with another older b/g/n router and everything works fine. So it looks like the Archer AX20 has a problem with static routing not working as expected.
Also to point out that when i tested with another router, the Route #4 was not automatically generated, i doubt that this route is the issue but it worked and the routing table looked like this:
#1 | 0.0.0.0 |
0.0.0.0 |
192.168.0.1 |
WAN |
#2 | 192.168.2.0 |
255.255.255.0 |
192.168.1.2 |
LAN |
#3 | 192.168.1.0 |
255.255.255.0 |
0.0.0.0 |
LAN |
#4 | 192.168.0.0 |
255.255.255.0 |
0.0.0.0 |
WAN |