I have a laptop which resides in the main router (a Telekom Speedport) WiFi subnet and another desktop machine sitting in a different subnet, that is created by a switch plugged into the Speedport.

Their respective gateways are and, both bear the submask, indicating that they do not consider each other local.

Speedport - Wifi ( - Host 1
Switch - Subnet ( - Host 2

Is it possible to configure the routing on the Windows hosts that they can see each other by hostname or IP and exchange files or is that something I need to change in the Speedport router (or the switch or both) ? I tried setting the submask manually (to for both hosts in their connection managers, but after that no internet connection worked at all.

Where do I need to change the configuration?

  • 1
    A switch does not create a new subnet. It’s not clear how your network is functioning. Please be more specific. Oct 31 '19 at 1:12
  • Their respective gateways are and Both these addresses are Speedport's LAN addresses, is it? So Speedport must route traffic from one of local subnets to another - set this. None client settings may help in this case.
    – Akina
    Oct 31 '19 at 5:24

I assume your switch is a SOHO router, because otherwise this doesn't make any sense. Switches do not isolate subnets.

The missing piece is your second router will always drop unsolicited traffic arriving on its WAN port. Even if you added routes or adjusted subnet settings to drive traffic to that router, this router's NAT firewall will not allow machines to talk directly to machines.

You need to set up port forwarding or Destination NAT rules on the inner router so that you can use that router's WAN IP address to reach the machines inside the network.

For example, I might forward port 445 for SMB to the machine in I need to transfer files to. Then, from my machine, I will put in the IP address of the router. The router will forward the traffic to the machine designated for port 445 and I can transfer files.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.