RDP through LAN network with static IP when WiFi is on

by Liron Hallak   Last Updated July 19, 2018 08:01 AM

I want to be able to connect to a closed network through LAN but to also have the WiFi open for internet. To connect to the closed network I need to set a static IP on the Ethernet card and to have Internet through WiFi I need to leave it as automatic IP. If I close the WiFi connection I am able to ping and RDP computers on the closed network but when WiFi is on I can't, but I do have internet connectivity. I've tested this on a laptop with Windows 10 and on one with Windows 7 (both Pro versions) and they are both unable to do this. Is there any way to make this work?

This is the route table with WiFi off:

C:\Users\{username}>route print
===========================================================================
Interface List
 13...62 f6 77 b9 d3 ef ......Microsoft Wi-Fi Direct Virtual Adapter
 17...60 f6 77 b9 d3 f0 ......Microsoft Wi-Fi Direct Virtual Adapter #2
 12...a4 4c c8 6e 6b 23 ......Intel(R) Ethernet Connection (5) I219-LM
  4...60 f6 77 b9 d3 ef ......Intel(R) Dual Band Wireless-AC 8265
  1...........................Software Loopback Interface 1
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      11.22.33.1      11.22.33.100    291
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
       11.22.33.0    255.255.255.0         On-link      11.22.33.100    291
     11.22.33.100  255.255.255.255         On-link      11.22.33.100    291
     11.22.33.255  255.255.255.255         On-link      11.22.33.100    291
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link      11.22.33.100    291
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link      11.22.33.100    291
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0       11.22.33.1  Default
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
  1    331 ::1/128                  On-link
 12    291 fe80::/64                On-link
 12    291 fe80::d42:ffd8:4aec:9a54/128
                                On-link
  1    331 ff00::/8                 On-link
 12    291 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None

This is the route table with WiFi on:

C:\Users\{username}>route print
===========================================================================
Interface List
 13...62 f6 77 b9 d3 ef ......Microsoft Wi-Fi Direct Virtual Adapter
 17...60 f6 77 b9 d3 f0 ......Microsoft Wi-Fi Direct Virtual Adapter #2
 12...a4 4c c8 6e 6b 23 ......Intel(R) Ethernet Connection (5) I219-LM
  4...60 f6 77 b9 d3 ef ......Intel(R) Dual Band Wireless-AC 8265
  1...........................Software Loopback Interface 1
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      44.55.66.1       44.55.66.66     50
          0.0.0.0          0.0.0.0      11.22.33.1      11.22.33.100    291
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
       11.22.33.0    255.255.255.0         On-link      11.22.33.100    291
     11.22.33.100  255.255.255.255         On-link      11.22.33.100    291
     11.22.33.255  255.255.255.255         On-link      11.22.33.100    291
       44.55.66.0    255.255.255.0         On-link       44.55.66.66    306
      44.55.66.66  255.255.255.255         On-link       44.55.66.66    306
     44.55.66.255  255.255.255.255         On-link       44.55.66.66    306
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link      11.22.33.100    291
        224.0.0.0        240.0.0.0         On-link       44.55.66.66    306
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link      11.22.33.100    291
  255.255.255.255  255.255.255.255         On-link       44.55.66.66    306
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0       11.22.33.1  Default
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
  1    331 ::1/128                  On-link
 12    291 fe80::/64                On-link
  4    306 fe80::/64                On-link
 12    291 fe80::d42:ffd8:4aec:9a54/128
                                    On-link
  4    306 fe80::4971:5ea9:33db:4cc7/128
                                    On-link
  1    331 ff00::/8                 On-link
 12    291 ff00::/8                 On-link
  4    306 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None

Thank you, Liron Hallak



Related Questions


Cannot connect to Remote Server

Updated March 13, 2018 01:01 AM

Remote Desktop via Ad-Hoc on Windows 7

Updated May 31, 2016 08:00 AM


Remote Desktop only working one-way

Updated March 01, 2016 01:00 AM