Bridge
In WinBox you can configure bridges in Bridge, or you can use terminal with command /interface bridge
Bridges operate at Layer 2 (Data Link layer) and forward traffic based on MAC addresses, similar to a traditional network switch.
Bridge fundamentals
How bridges work
Bridge functionality:
MAC learning - Automatically learns device MAC addresses
Frame forwarding - Forwards frames between bridge ports
Broadcast domain - All bridge ports share the same broadcast domain
STP support - Spanning Tree Protocol for loop prevention
VLAN support - 802.1Q VLAN tagging and filtering
Key concepts:
Bridge interface - Virtual interface representing the bridge
Bridge ports - Physical/virtual interfaces added to the bridge
MAC table - Database of learned MAC addresses per port
Aging time - How long MAC entries remain in table
Basic bridge configuration
Create a simple bridge
In WinBox go to Bridge and click + to create new bridge:
Name - Bridge name (e.g., "bridge1")
MTU - Maximum transmission unit (usually 1500)
ARP - Address Resolution Protocol setting (enabled/disabled)
Protocol Mode - STP protocol (none, stp, rstp, mstp)
Add interfaces to bridge
Add physical interfaces as bridge ports:
In WinBox go to Bridge -> Ports and click +:
Interface - Select physical interface (e.g., ether2, ether3)
Bridge - Select bridge interface (bridge1)
PVID - Port VLAN ID for untagged traffic
Assign IP address to bridge
Advanced bridge configuration
Hardware offloading
Modern RouterOS devices support hardware bridge acceleration:
Bridge settings optimization
Port-specific settings
VLAN configuration with bridges
Enable VLAN filtering
Create VLAN interfaces
Configure VLAN bridge table
Port VLAN configuration
Spanning Tree Protocol (STP)
Enable RSTP
Port edge configuration
Bridge monitoring and troubleshooting
Monitor bridge status
Bridge statistics
Troubleshoot bridge issues
Special bridge configurations
Bridge with WiFi
Bridge with VPN
Multiple bridges
Bridge security
MAC address filtering
Port isolation
Performance considerations
Bridge optimization
Monitoring performance
Best practices
Bridge design principles
Keep it simple - Avoid overly complex bridge configurations
Use VLANs - Segment traffic using VLANs instead of multiple bridges
Enable RSTP - Use Rapid Spanning Tree for faster convergence
Configure edge ports - Set edge=yes for ports connected to end devices
Monitor MAC table - Keep track of learned MAC addresses
Security recommendations
Limit MAC learning - Set maximum learned entries per port
Use port isolation - Isolate untrusted ports using horizon
VLAN segmentation - Separate different types of traffic
Monitor loops - Watch for bridging loops and STP issues
Regular maintenance - Clean up unused bridge configurations
Troubleshooting tips
Check STP status - Ensure proper STP operation
Monitor MAC table - Look for MAC address flapping
Test connectivity - Verify communication between bridge segments
Review logs - Check for bridge-related error messages
Verify VLAN config - Ensure VLAN configuration is correct
Last updated
Was this helpful?