Community discussions

MikroTik App
 
warpedhead
just joined
Topic Author
Posts: 5
Joined: Fri Dec 27, 2024 12:58 pm

Using WLAN to bridge two RBs

Mon Mar 24, 2025 10:34 pm

Hello mates,

machine has its own lan network running on 192.168.90.x, all 8 devices uses static address. I often need to access the machine devices so I'd like to use the RB951 to connect to our shop network, then my PC being at shop network (88.x) I'd like to access the 90.x devices.

Cant ping shop RB or anything else on 88.x network
RB951 WLAN has the IP 192.168.88.15 on shop AP, it gave itself this IP and the pool for RB3011 is 100-254

So far, Ive set this way.
# 1970-01-02 01:41:03 by RouterOS 7.16.2
# software id = XHN0-LDRA
#
# model = RB951Ui-2HnD
# serial number = 717506xxxxxx
/interface bridge
add name=bridge1 protocol-mode=none
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys name=wifi-pass supplicant-identity=""
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce disabled=no frequency=2427 mode=\
    station-pseudobridge security-profile=wifi-pass ssid=xxxx wireless-protocol=802.11
/ip pool
add name=dhcp ranges=192.168.90.100-192.168.90.200
/ip dhcp-server
add address-pool=dhcp interface=bridge1 name=dhcp1
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=wlan1
add bridge=bridge1 interface=ether1
/interface list member
add interface=bridge1 list=LAN
/ip address
add address=192.168.90.1/16 interface=bridge1 network=192.168.0.0
/ip dhcp-client
# Interface not active
add interface=ether1
/ip dhcp-server network
add address=0.0.0.0/24 dns-server=0.0.0.0 gateway=0.0.0.0 netmask=24
/system note
set show-at-login=no
You do not have the required permissions to view the files attached to this post.
 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11490
Joined: Mon Dec 04, 2017 9:19 pm

Re: Using WLAN to bridge two RBs

Mon Mar 24, 2025 11:37 pm

Do you indeed need to "bridge" the networks or would "routing" be sufficient? On one hand, you mention "machine" network, which hints on use of some proprietary L2-only protocols so bridging might indeed be required, on the other hand, you mention a distinct subnet on each site, which, on the contrary, excludes bridging.

If bridging is indeed the way to go - the pseudobridge mode of the Mikrotik wireless interface is just a workaround aimed basically on providing a wireless interface to a single device that has only a wired one; for a fully transparent bridging directly over the wireless interface, you need either a pair of Mikrotik devices that both use the same driver (wireless or wifi, whilst the 951 and other non-arm devices only support wireless whereas the ax devices only support wifi, the ac devices can run either), or you have to use some L2 over IP tunneling protocol (VXLAN, EoIP) between the 3011 and the 951, but there may be some other difficulties with this if the other clients of the AP in the shop have to connect to the same subnet that has to be bridged behind the 951.

So all in all, describe your actual requirements as precisely as possible to get the best advice.
 
warpedhead
just joined
Topic Author
Posts: 5
Joined: Fri Dec 27, 2024 12:58 pm

Re: Using WLAN to bridge two RBs

Tue Mar 25, 2025 2:15 pm

Hello Sindy, tks for your reply.

Actually I do not know exactly what I need, so I'm seeking some advice.

# - I believe the machine has to have its own network with a separate subnet because their devices runs timing sensible patches for motion control between driver and PLC, so does not make sense to mix with shop network with computers, cameras and other devices

# - The connection from machine to shop network is just a commodity, so I can remotely access machine from shop WLAN

# - This machine will be soon gone, delivered to customer, so It must run its own business on RB951.

Tks by your time answering me!