Cascade router redirect with error code -1

nrdwka

Honorable
Jul 26, 2017
42
5
10,535
Hello,
i used this guide to configure my 2 routers to work in the same subnet.
Everything works almost well except some website doesn't work if try to acces them from slave router with error message and a redirect to empty page with d-link logo :
Code:
http://192.168.0.2/redirect.html?status=10&error_code=-1#http://www.up-board.org/
or
Code:
http://192.168.0.2/redirect.html?status=10&error_code=-1#http://www.tomshardware.co.uk
An sometime there is a message:
error_msg.png

This msg change nothing, some website still work, some doesn't work.

click on message redirect to, redirect to the same empty page with d-link logo
:
Code:
http://192.168.0.2/redirect.html?status=10&error_code=-1#http://detectportal.firefox.com/success.txt/

UPD:
Internet cable connected to master router wan port.
DHCP enabled on master router
Slave router connected to master via LAN->LAN
DHCP disabled on slave router. I tested both D-Link mods: dhcp disabled and dhcp relay, result is the same, some website works fine, some websites redirects
Master router IP 192.168.0.1 and slave - 192.168.0.2


2nd router D-Link DIR-825 (fw 2.5.31, last stable doesn't work well and would crash wifi constantly).

Sometime i see

Any ideas?

Kind regards.
 
Solution
That sounds correct for a wireless AP setup.

Make sure the wireless AP isn't using the same ip as the master router. You could have conflicts.
If your webpage for config is the same as the master routers gateway the WAP might not process it correctly.
Even try flushing your mac tables on the master router and any devices having issues. It may have the entry to send frames back to the WAP when it's really for the gateway. Layer 2 doesn't use the ips. When it doesn't know the MAC it blasts over all ports and if it gets a response it records the MAC address. Some of your devices may have the incorrect mac saved.

Unplugging the WAP and then using the gateway on each device may correct the MAC issues as well if you can't rid it off a...

nrdwka

Honorable
Jul 26, 2017
42
5
10,535

No, both router are in the same network (192.168.0.1 for master and 192.168.0.2) and master router have normal ip like 17*.*.*.*
 

nrdwka

Honorable
Jul 26, 2017
42
5
10,535

Internet cable connected to master router wan port.
DHCP enabled on master router
Slave router connected to master via LAN->LAN
DHCP disabled on slave router. I tested both D-Link mods: dhcp disabled and dhcp relay, result is the same, some website works fine, some websites redirects
 
That sounds correct for a wireless AP setup.

Make sure the wireless AP isn't using the same ip as the master router. You could have conflicts.
If your webpage for config is the same as the master routers gateway the WAP might not process it correctly.
Even try flushing your mac tables on the master router and any devices having issues. It may have the entry to send frames back to the WAP when it's really for the gateway. Layer 2 doesn't use the ips. When it doesn't know the MAC it blasts over all ports and if it gets a response it records the MAC address. Some of your devices may have the incorrect mac saved.

Unplugging the WAP and then using the gateway on each device may correct the MAC issues as well if you can't rid it off a specific device, assuming you fixed the ip conflicts. Then plug the WAP back in.
 
Solution