Combine the two buildings to the network

Device: RouterBOARD 750
Facilities: Two buildings, each with a single network: net1 and net2 (code names).
net1: 192.168.1.0/24
net2: 192.168.2.0/24

Objective: to prevent certain computers (MAC addresses) access to the neighboring network.

My actions:
1)
Interfaces-> Interface: ether2: MasterPort = none
Interfaces-> Interface: ether3: MasterPort = none

ether2 - for net1
ether3 - for net2

  1. Bribge: Create “bridge1”

Bribge-> Ports: ether2 to bridge1
Bribge-> Ports: ether3 to bridge1
4)
IP-> Adresses: Address: 192.168.1.1/24, interface: bridge1
As a result, computers are not pinged from neighboring networks. Ping, for example, if net2 192.168.1.10 to 192.168.1.20 ping of net1.

Prompt
Документ1.jpg

Are you trying to route between 192.168.2.1 and 192.168.1.1 or do you try to bridge this 2 Networks together making one big segment?

Your post in one Place, say that net2 have 192.168.2.x address but in NeXT line, you tell that net2 have the 192.168.1.x address, and try to ping address in same segment at other side of router. this is important info.

Also, a hint, before making a bridge : take a system reset, and remove default config.

Are you trying to route between 192.168.2.1 and 192.168.1.1 or do you try to bridge this 2 Networks together making one big segment?

I can not really answer. I need to from the network nat2 I could turn to PC (not all have to specify available) from nat1 (192.168.1.0/24) and vice versa.

Your post in one Place, say that net2 have 192.168.2.x address but in NeXT line, you tell that net2 have the 192.168.1.x address, and try to ping address in same segment at other side of router. this is important info.

Yeah, I guess it would be redundant. So be it: there are two networks:
net1: 192.168.1.0/24 (except for a different address)
net2: 192.168.2.0/24 (except for a different address)

i think you should have 2 routed Interfaces.. It could be bridge. Eg:

make bridge1 and bridge2

put ether1,2 and 3 to bridge1

but ether 4,5 and 6 to bridge 2.

Connect lan1 to ether 1,2,3 and lan2 to ether 3,4,5

then add 192.168.1.1/24 to bridge1 and 192.168.2.1/24 to bridge2

Add 192.168.1.1 as Gateway to 192.168.2.1 to Device that Connect to bridge1. (could be default route)
Add 192.168.2.1 ad Gateway to 192.168.1.1 to Device connecting to bridge 2. (could also be default route).

(To make this Complete, make an Interface, eg ether7 With a x.x.x.x.x that is internet and a route to 0.0.0.0/0. then put a src nat mascurade out Interface ether7 to firewall.)