K
K
kardens2019-04-10 14:20:18
Computer networks
kardens, 2019-04-10 14:20:18

How to connect computers so that data is via cable, and the Internet is via wifi?

Good day!
I ask a question, because no test opportunity.
Using TeamViewer, I connect to two computers located in the same wifi network. They seem to stand side by side, but when transferring data from one to another (copying, for example), the speed is very low (300kb).
Is it possible to connect them with a cable and configure it so that the LAN network goes through it, and the Internet remains for each its own from wifi?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel Mezhuev, 2019-04-10
@kardens

No need to make a network bridge, especially remotely. If something goes wrong, you will lose access. You have two network interfaces on each of the PCs, so take advantage of that.

  1. We do not touch the wireless network, let it work as is.
  2. However, we need to look at the current wireless network settings. I assume that you have a DHCP server on your network, so the settings will be something like the following (the only difference is in the IP address):
    PC1
    Адрес IPv4: 192.168.1.101
    Маска подсети: 255.255.255.0
    Шлюз по умолчанию: 192.168.1.1
    DNS-сервер: 192.168.1.1
    PC2
    Адрес IPv4: 192.168.1.102
    Маска подсети: 255.255.255.0
    Шлюз по умолчанию: 192.168.1.1
    DNS-сервер: 192.168.1.1

  3. In the settings, we are only interested in the network address, in this case it is 192.168.1.0 (just reset the fourth octet in the IP address).
  4. We change the third octet to any other number - this will be the network address for wired network interfaces. Let it be 192.168. 2.0 .
  5. Open "Network and Sharing Center" → "Change adapter settings".
  6. We configure network parameters for the local network interface (not Wi-Fi!), Specifying only the IP address and subnet mask . Gateway, DNS, etc. do not need to be filled in.
    PC1
    Адрес IPv4: 192.168.2.10
    Маска подсети: 255.255.255.0
    PC2
    Адрес IPv4: 192.168.2.20
    Маска подсети: 255.255.255.0
    Example
    cc9351f32d99e5c3525497fd368dd7a0.png

    PS The simpler option is to connect both PCs with a cable to the router and not use Wi-Fi.

R
rPman, 2019-04-10
@rPman

in windows with wifi it’s not so beautiful (there, in general, in the network settings, when you try to deviate from the standard, difficulties begin)
In principle, your task is solved by an ordinary bridge (network bridge in windows), connect the computers with a wire, combine the wifi connection with this wired one into a single one, and no you don’t have to do routes and different subnets, the network will automatically use the channel that is available, more precisely, for this, you need to turn off wifi on the second machine (so that it uses a wired connection for the Internet)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question