I
I
Ivan2017-11-23 12:56:37
Network routing
Ivan, 2017-11-23 12:56:37

Are there routing errors?

Good afternoon.
The company rents several dedicated servers in the provider's data center. Access is through one of the ports of the optical terminal. All vlan settings are made by the provider, for us everything looks like all servers are connected to one switch.
The network 192.168.1.0/24 is used.
There was a need to introduce a new network 10.1.1.0/24, for which routes were registered on the gateways, the essence is in the picture.
5a1695c080334015430962.pngWho is who:
ClearOS1 -- virtual machine on the first Hyper-V
ClearOS2, 10.1.1.2, 192.168.1.4, 192.168.1.5 -- virtual machine on the second Hyper-V
192.168.1.2, 192.168.1.3, 10.1.1.3 -- physical servers
SW1 -- SW2 physical switch
-- Hyper-V virtual switch
Issue:
At the moment, the network is unstable, 10.1.1.2 or 10.1.1.3 sometimes stop being available. It is treated only by rebooting the second Hyper-V. I can’t understand if the problem is in the initially incorrect switching, or with the equipment.
Question:
Is the network initially connected with an error? How should the mind be?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey, 2017-11-23
@Aleksei-Shelepov

You are mixing physical and logical circuitry into one. At the moment, I do not fully understand the logical scheme, vlan, routes, IP addresses, interfaces are important for it.
Are there any strange routes listed above the ClearOS routers, were they self-added? For example, ClearOS1 should consider that it has a network 10.1.1.0/24 behind the eth1 interface with the address 192.168.1.1, did I understand correctly?
So far, it looks like you have two networks that are simply mixed with each other and not divided into different vlans. Well, or at least secondary-IPs are not configured, which, in my opinion, is not very good to do in this case.

S
Sergey Biryukov, 2017-11-23
@Serjio999

1 question - in your picture where the data center has addresses 10.1.1.x and 192.168.1.x (namely .4 and .5). Is this true or are you wrong?
Question 2 - Is the ONT ELTEX box configured in bridge mode (BRIDGE)?
In my mind, it should be configured in router mode with 2 interfaces (for example, 10.1.1.254 and 192.168.1.254).
Then on ClearOS, you must assign GW not to the port (dev eth1), but to the IP address of the gateway that belongs to the subnet in which this ClearOS is located:
- for ClearOS1: route add -net 192.168.1.0 netmask 255.255.255.0 gw 10.1.1.254 metric 1 eth1
- for ClearOS2: route add -net 10.1.1.0 netmask 255.255.255.0 gw 192.168.1.254 metric 1 eth1
If you share 2 networks, then at the edge of the networks there must be a router with 2 interfaces belonging to these networks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question