Jump to content

So i have a very specific problem that i need help with. I need to be able to connect to one lan over ethernet, that does not have an internet connection, and on the same computer at the same time, maintain a connection to the internet through a seperate lan over wifi. I thought that bridging the two networks might solve this problem but unfortunately it does not. So for example i want to connect to 192.168.0.10 through the browser while maintaining an internet connection from 192.168.1.1 over wifi.

Link to comment
https://linustechtips.com/topic/1123691-need-help-using-two-adapters-at-once/
Share on other sites

Link to post
Share on other sites

11 minutes ago, flipback012 said:

So i have a very specific problem that i need help with. I need to be able to connect to one lan over ethernet, that does not have an internet connection, and on the same computer at the same time, maintain a connection to the internet through a seperate lan over wifi. I thought that bridging the two networks might solve this problem but unfortunately it does not. So for example i want to connect to 192.168.0.10 through the browser while maintaining an internet connection from 192.168.1.1 over wifi.

You need to set static ips on the devices connected to the other network adapter.

For example, set a static ip 192.168.0.2 on the second adapter and 192.168.0.10 on the computer on the other end

Link to post
Share on other sites

1 hour ago, mtz_federico said:

You need to set static ips on the devices connected to the other network adapter.

For example, set a static ip 192.168.0.2 on the second adapter and 192.168.0.10 on the computer on the other end

so i have my wifi adapter set to dhcp and on my ethernet adapter i set a static of 192.168.0.200. also one more important thing that i probably shouldve mentioned is that im really actually looking for a way to access the device on the non internet lan through a browser. chrome just assumes that i want to use the wifi and not the ethernet adapter even though the subnets are clearly set

Link to post
Share on other sites

On 11/14/2019 at 5:07 PM, flipback012 said:

so i have my wifi adapter set to dhcp and on my ethernet adapter i set a static of 192.168.0.200. also one more important thing that i probably shouldve mentioned is that im really actually looking for a way to access the device on the non internet lan through a browser. chrome just assumes that i want to use the wifi and not the ethernet adapter even though the subnets are clearly set

Make sure that dhcp is giving an ip on a different subnet, other than 192.168.0.XXX. Also make sure that you don't add a gateway and dns servers to the second interface

 

If the interfaces have different ios then the interface that is in the same subnet as the ip that you are trying to access is the one that will be used. The interface that has a gateway and responds first is the one that is going to be used for internet.

Link to post
Share on other sites

It sounds like you do not want to bridge the connections. If all you need is for your computer to be able to communicate on both networks, then you don't need to do much else. However, there are a number of common issues that might come up.

 

  • The two networks can't have the same IP range. If one is 192.168.0.x then set the other one to 192.168.1.x (this would be a change you need to do to all devices on that network, not just the PC in question)
  • Ensure you do not have a default gateway set on the network with no internet, otherwise your computer will assume the Ethernet is the preferred path to the internet
  • Name lookup may be a little funny. If everything on the Ethernet network is a Windows device, then you are probably fine as long as you have NetBOIS enabled. If not, then you will need to setup a local domain and DNS server, which gets complicated really quick. Or you could just use IP addresses for everything.

If that doesn't work, please post a little more about what problems you are having.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×