Two LAN Connections (Local + Internet), Suddenly Can't Access Internet

theRKF

Reputable
Sep 26, 2014
5
0
4,510
Here's the situation:

  • ■ Windows 8.1 Desktop PC with two gigabit ethernet connections
    ■ DSL modem/ router
    ■ Asus Gigabit Switch
    ■ Synology NAS box with two gigabit ethernet connections

Since I need to access files on the NAS all the time, I have one ethernet port on the PC set to 192.168.4.x, with a direct connection to one port on the NAS also set to 192.168.4.x.

The DSL modem/router is on 192.168.2.x - and both the PC and NAS have their other ports set to 192.168.2.x.

For a long time this setup has worked really well - fast NAS connection, and able to connect to the internet no problem. Then this week (probably Thursday) following a reboot I lost the internet connection. Now, I can only connect to the internet if I disable the ethernet connection to the NAS.

I'm not sure what changed, but there must be some way to handle or manage the routing so that internet traffic is sent through the 192.168.2.x port, right? I'm not sure why the PC suddenly started trying (and clearly failing) to access the web via the local connection.

Thanks!
 

Beachnative

Honorable
Jan 25, 2013
545
0
11,060
Kanewolf is onto something and it's coming from the end going to the NAS.

Make sure DHCP is off and your IP's are set statically
You could use it the following way

Computer Setting:
IP 192.168.4.1
subnet 255.255.255.0
Gateway 192.168.4.2

NAS
IP address 192.168.4.2
Subnet 255.255.255.0
Gateway 192.168.4.1
 

kanewolf

Titan
Moderator


Here is the Microsoft help for having multiple networks...
 

theRKF

Reputable
Sep 26, 2014
5
0
4,510
This is interesting ... nether Ethernet connection is holding the values. They were set manually, and I went to verify them again and found they were set to Obtain Automatically. However, Status still shows them using the correct settings.

I'm going to try reinstalling the device drivers, and I'll check out the article @kanewolf linked to.
 

theRKF

Reputable
Sep 26, 2014
5
0
4,510
Well, I got it working - for just a minute.

After all the clever stuff I tried didn't work I went back to basics and uninstalled both devices. Reboot, detected, re-installed, done. Right? But the connections were both set to DHCP, so I had to set the local connection the NAS to a static IP. Done, still working.

Lastly, the ethernet connection for the network & internet had to be set to static because there are a number of incoming port forwarding rules that apply to that specific IP address. I made that change, and was right back to where I started - lost all internet connectivity (until I disable the NAS connection).

So, no further along yet.
 

theRKF

Reputable
Sep 26, 2014
5
0
4,510
Thanks, @bill001g, good idea but no joy.

Ethernet 2 (connected to swtich -> router/modem)
Manually set to:
IP 192.168.2.100
Mask 255.255.255.0 (also tried 255.255.0.0, as we have a some devices on 192.168.3.x, but that's another story)
Gateway 192.168.2.1 (router)

Ethernet 3 (direct to NAS)
192.168.4.100
255.255.255.0
gateway empty

Both are set to use 8.8.8.8, 8.8.4.4 for DNS. (also tried leaving DNS blank on Ethernet 3)

It does appear this might be some kind of DNS issue, as I can connection to devices on both subnets, and on the internet, when both connections are active ... but can't pull up anything by domain name.