D
D
DeNick2020-11-22 20:14:09
Computer networks
DeNick, 2020-11-22 20:14:09

How to connect 2 computers from different networks?

There are 2 ip from one provider (respectively 2 wires from the provider's switch). One wire goes directly to the accounting department from the provider, the other wire goes to the general network of the organization, including to the reception room. The question is how to connect 1 computer from the accounting department and 1 computer from the reception room? At the same time, the accounting computer must see its own LAN and access the Internet through its ip, in the reception from its ip and its own LAN (in fact, 1 computer is added to the reception's LAN and that's it). The subnets are different. One network is 10.0.1.x, and the other is 192.168.0.x. But this is not so important, it will not be difficult to change local ip in accounting.
There is an idea how to do it. It is necessary to insert a 2nd network card into each computer and connect them. But how to set it up further is not clear, so that your Internet was + LAN + one computer could be seen from the accounting department. This is necessary in order to share the folder with the base 1c.
Windows machines of course.
I am attaching an example diagram.
5fba9b7356dad976629835.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pfg21, 2020-11-22
@DeNick

if there is an option to throw an ethernet wire, then put two network cards on both sides with statically registered addresses that are not included in the ranges of both networks (ip + mask). and contact these addresses.

R
ru6ak, 2020-11-22
@ru6ak

This is configured very easily:
1. We throw all computers into a common l2 with a common l3 network on computers, and specify the desired gateway for the necessary computers.
2. Set up routing between your two different networks on your gateway, it is obvious that both of your networks should also come to it.
And you can continue to fence the garden and put additional setevushki in computers and connect them with a separate wire, and even with a separate network.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question