X
X
Xrob1232020-02-20 17:18:14
Mikrotik
Xrob123, 2020-02-20 17:18:14

Mikrotik, how to configure routing between local networks?

Good afternoon! Please help to understand the problem:
Mikrotik, 2 subnets and 1 Internet channel.
1st port - 192.168.0.0/24
2nd port - WAN Internet
3rd port - 192.168.29.0/24
The 1st and 3rd ports are combined into a bridge. With Mikrotik, all computers and all interfaces are pinged, only gateways are pinged from computers - 192.168.29.1 and 192.168.0.1
The firewall is off, in NAT - only a masquerade on the WAN.
There are 3 routes in the routes: 0.0.0.0 on the WAN, and dynamic on the bridge on the subnet.
The problem is this - computers from local networks do not see each other (no ping), although the Internet is on both subnets.
As far as I understand, it is necessary either to register a route or through a firewall rule to transfer packets between networks, I tried to do both, the result is the same ......
Need full network visibility so that computers on different networks can see each other

Answer the question

In order to leave comments, you need to log in

6 answer(s)
W
Wexter, 2020-02-20
@Wexter

Is forward between networks allowed in the firewall?

1st port - 192.168.0.0/24
2nd port - WAN Internet
3rd port - 192.168.29.0/24
1st and 3rd ports combined into a bridge

What for a bridge between ports, if they hold different networks for you? Do you have adequate people there who at least the Mikrotik wiki can open to read or just inadequate people who do such crap?

I
InfSub, 2020-02-21
@InfSub

/ip route
add check-gateway=ping distance=1 dst-address=192.168.0.0/24 gateway=192.168.29.1
add check-gateway=ping distance=1 dst-address=192.168.29.0/24 gateway=192.168.0.1
and remove the bridge

A
Andrey Barbolin, 2020-02-21
@dronmaxman

Export the config and post it.
export

B
Baralgin380, 2020-02-21
@Baralgin380

Why do you need a bridge at all? Remove it and that's it.

D
Dmitry Luponos, 2020-02-21
@Bessome

Subnet mask 255.255.0.0 on the interfaces of computers and everyone will see each other: lol:
Guys, why should they be divided into subnets if they should see each other ????

S
SinnerLike, 2020-02-21
@SinnerLike

For a router to route, you don't have to reinvent the wheel. It does this by default.
In your case, the bridge was the mistake.
For routing at computers your router has to be registered by default gateway.
For the outside, a masquerade is required - address substitution. The router replaces the destination address with its own. Because your internal networks by the provider will drop if you shoot packets there without a masquerade.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question