Bridge Configuration on MikroTik Router
A bridge in MikroTik allows multiple interfaces to be grouped together, functioning as a single network. This is useful for scenarios like combining multiple Ethernet ports, VLANs, or wireless interfaces into one logical network.
Step 1: Create a Bridge
-
Via WinBox (GUI):
- Go to Bridge > Bridge tab.
- Click Add (+) and name the bridge (
bridge1
). - Click OK.
-
Via CLI (Terminal):
Step 2: Add Ports to the Bridge
-
WinBox (GUI):
- Go to Bridge > Ports tab.
- Click Add (+).
- Select the interface (e.g.,
ether2
) to add to the bridge. - Choose
bridge1
as the bridge. - Click OK.
- Repeat for other interfaces (e.g.,
ether3
,ether4
).
-
CLI (Terminal):
Step 3: Assign an IP Address to the Bridge (Optional)
If the bridge needs an IP address (for management or routing):
-
WinBox:
- Go to IP > Addresses.
- Click Add (+).
- Set the Address (e.g.,
192.168.1.1/24
). - Choose
bridge1
as the interface. - Click OK.
-
CLI:
Step 4: Enable DHCP Server (Optional)
If the bridge should provide IP addresses via DHCP:
-
WinBox:
- Go to IP > DHCP Server.
- Click DHCP Setup, select
bridge1
, and follow the wizard.
-
CLI:
Step 5: Enable STP/RSTP (Optional for Loop Prevention)
-
WinBox:
- Go to Bridge > Bridge tab.
- Select
bridge1
, click Settings, and set Protocol Mode toRSTP
orSTP
.
-
CLI:
Step 6: Save Configuration
To save your settings:
or manually click Save in WinBox.
Step 7: Verify the Bridge
- Check bridge status:
- Check bridge ports:
- Check assigned IP:
Now your MikroTik router is running a bridge, allowing multiple interfaces to function as a single network. Let me know if you need any modifications or VLAN integration!