I have a PC with a LAN connection and a WLAN connection like this:
LAN: Local network, several PCs and an old DSL-modem that is not connected to the internet but only used as a DHCP server, the IP comes from that DHCP server.
WLAN: a DSL router connected to the internet, IP comes from DSL-router.
If I deactivate the LAN, I can connect to the internet through the DSL-router as usual.
If I activate the LAN, it seems that any internet request is routed to the LAN and therefore I don't have an internet connection. A ping to a website shows that the LAN-DSL-DHCP-device answers that it cannot connect to the website.
I guess that's because there is a device in the LAN that would be able to connect to the internet?
How can I route internet requests towards the WLAN connection, even if the LAN is active?
And how does Windows decide which network connection to use for an internet connection?
(one more note: everything worked before the LAN-DHCP device was added)