I have two routers:
- A DrayTek (wired) router, which has two internet connections. Its LAN IP is 192.168.1.2 (/24).
- A D-LINK (wireless) router retransmiting internet connection from the DrayTek,
with this configuration:
- WAN IP 192.168.1.22 (so it can talk to the DrayTek router over wired connection)
- WAN Gateway 192.168.1.2 ← router with internet (DrayTek)
- LAN IP 192.168.0.1 (/24)
The wireless clients use 192.168.0.1 (the D-LINK router) as their gateway. I can access the setup page of the D-LINK router at the 192.168.0.1 address (by wireless), but I want to know if it is possible somehow to enter it by wired.
My PC is connected to the DrayTek router with cable (it doesn't have any wireless card, and it is too far from D-LINK anyways). I need to connect to the D-LINK router from this PC.
- (wired) 192.168.1.150 ← the Internet can be reached through the DrayTek, but the PC can't access the D-LINK by its 192.168.1.22 IP address.
- (wired) 192.168.0.150 ← just to try, but definitely not working, because there is no way to reach wireless network of the D-LINK.
I tried to redirect a public port in the DrayTek to the D-LINK (192.168.1.22:80) and it doesn't work.
I notice that the LAN cable is connected to the internet port of the D-LINK, so actually a solution can be to connect another cable in one of the LAN ports and using a static IP of range 192.168.0.x and it works... but the question still... is a way to access the router with the cable connected on its internet port (through 192.168.1.22)?