Answer the question
In order to leave comments, you need to log in
Unification of two local networks?
Hello!
There are two networks on Cisco Linksys EA6500 routers. Each of them has several WinServer 2012R2 and 20-30 computers. Each has a separate subnet (192.168.1.x and 192.168.2.x).
It is possible to stretch a twisted-pair cable between them (20 m.)
How can I set it up so that all computers in both networks can see each other (although only servers are of interest)?
Each router has its own Internet connection and each network has its own DHCP, which sets different gateways.
Answer the question
In order to leave comments, you need to log in
I'm sorry, I misunderstood the situation described.
To configure in such a situation, you do not need to connect devices directly, but install an intermediate device that will be a gateway between networks.
Let's say the address of this device will be 192.168.1.10 and 192.168.2.10 for the interface connected to the corresponding network.
Then, on the first router, configure "Connections" -> "Other functions" -> "Static routing"
"Destination IP address" - "192.168.2.0"
"Subnet mask" - "255.255.255.0"
"Gateway" - "192.168. 1.10"
For the second device, similarly, with the replacement of the destination IP address and gateway.
What is written below was written earlier by mistake, for higher-level
hardware ---
Let's say you make a link between routers and put addresses on the network between them:
192.168.254.1/24 on the first
192.168.254.2/24 on the second
Then on the first on the router, write:
ip route 192.168.2.0 255.255.255.0 192.168.254.2
On the second:
ip route 192.168.1.0 255.255.255.0 192.168.254.1
Although if the link is direct and nothing else is planned to be included in it, then it is better to even use the mask not / 24 (255.255.255.0) and /30 (255.255.255.252). You can use the same addresses (192.168.254.1/30 and 192.168.254.2/30)
With these settings, both networks will see each other.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question