0

So I have PC1 which connects to router through LAN for internet as follows, while its WiFi adapter remains disabled.

PC1 LAN Adapter:
Static IP : 192.168.1.20
Subnet : 255.255.255.0
Gateway : 192.168.1.1
DNS server : 8.8.8.8

Disabled PC1 WiFi Adapter :
Static IP : 192.168.45.5
Subnet : 255.255.255.0
Gateway :
DNS server : 8.8.8.8

Several network servers run on this PC1 which are accessible to other nodes on the 192.168.1.0/24 network ......

Sometimes when the internet on the router goes down, I've hook PC1 to the internet on my mobile's tethering hot-spot by enabling its WiFi adapter as follows :

PC1 WiFi Adapter :
Static IP : 192.168.45.5
Subnet : 255.255.255.0
Gateway : 192.168.45.1
DNS server : 8.8.8.8

During that time, I set the PC1 LAN Adapter as follows :
Static IP : 192.168.1.20
Subnet : 255.255.255.0
Gateway :
DNS server : 8.8.8.8

The problem is, the moment I connect PC1 to WiFi router on my phone, the PC1's LAN port becomes inaccessible and none of the other nodes on 192.168.1.0/24 network are able access the network server softwares running on PC1 and available through its 192.168.1.20 IP address!

I read about setting up Automatic Metric to manual... and I assigned 1 to PC1's WiFi adapter and 2 to PC1's LAN adapter, even then I'm not able to access 192.168.1.20 from other nodes on the network.

Pls guide! Thanks.

  • Unclear. Is your adapters settings static, or DHCP? What process removes the default gateway from LAN when you connect WiFi? Are there some static routes? – Akina Nov 5 '18 at 9:41
  • Hi Akina, I already mentioned that all the IPs are static. I'm not using DHCP anywhere, and I'm updating these settings manually. – Vishal Nov 5 '18 at 9:45
  • When both adapers enabled with their settings as shown abobe, the LAN interface MUST be accessed by any node from 192.168.1.0/24 connected to LAN port (via a switch) directly because of the same subnet. If not, there is something wrong in IP stack of your station (damaged? firewall?)... or there are some facts which are not published there. – Akina Nov 5 '18 at 10:16
  • Thanks for your reply Akina.. Well the IP stack doesn't seem damaged as I've never encountered any error regarding networking configuration or functioning other than this.. and I've shared all the facts as specified above.. As soon as the wifi gets connected, the LAN port becomes inaccessible beyond my understanding.. Its really puzzling to see this.. Really cannot understand what makes the LAN port inaccessible when the wifi port gets connected to the hotspot! – Vishal Nov 5 '18 at 13:05
  • Please post IPCONFIG /ALL and ROUTE PRINT outputs instead of short settings report into a question when both adapters are enabled. – Akina Nov 6 '18 at 4:35

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.