The mode "Broadcast” in the “bonding” configuration on MikroTik devices is a specialized configuration used to combine multiple network interfaces into a single logical connection.
This method is especially useful for increasing the total available bandwidth and providing redundancy.
At the end of the article you will find a small test that will allow you assess the knowledge acquired in this reading
Bonding Basics
- Bonding: It is a technique that allows several physical interfaces to be combined into a single logical interface. This is done to increase bandwidth and provide link redundancy.
- Physical Interfaces: These are the individual network ports on a MikroTik device. In bonding, these ports are combined to act as one.
Broadcast Mode in Bonding
Basic operation:
- In Broadcast mode, all packets arriving at the bonding interface are transmitted through all active slave interfaces.
- This method ensures that packets reach their destination even if one of the interfaces fails.
Usage Scenarios:
- It is ideal for situations where redundancy is more critical than increased bandwidth.
- It is commonly used in environments where high network availability is needed.
Advantages:
- Maximum Redundancy: If one interface fails, the others continue to function without interruption.
- Simplicity of Configuration: Easier to configure compared to other bonding modes such as LACP.
Disadvantages:
- Limited Bandwidth: Does not increase the total bandwidth, since all packets are transmitted on all interfaces.
- Possible Network Saturation: May cause unnecessary network saturation as the same data is sent multiple times.
Configuration in MikroTik RouterOS
Creation of the Bonding Interface:
- Access your MikroTik device through WinBox or the web interface.
- Go to “Interfaces” and then “Bonding”.
- Create a new bonding interface and select the physical interfaces that will be part of the bonding group.
Mode Settings:
- In the properties of the bonding interface, set the mode to “Broadcast”.
IP Assignment and Other Settings:
- Assigns an IP address to the bonding interface, if necessary.
- Configure any other required options such as VLANs, if used.
Important considerations
- Hardware Compatibility: Make sure all physical interfaces in the bonding group are compatible and have similar speeds.
- Monitoring and Maintenance: Use network monitoring tools to observe the performance and health of bonding interfaces.
- Failure Tests: Perform periodic tests to ensure that the bonding system acts as expected in cases of interface failure.
Example of how to configure bonding in “Broadcast” mode
Create the Bonding Interface
- Use the following command to create a new bonding interface:
/interface bonding add mode=broadcast name=bond1 slaves=ether1,ether2
This creates a bonding interface called bondxnumx in “Broadcast” mode and add ether1 y ether2 as its slave interfaces.
Additional Configuration (Optional)
- If you need to assign an IP address to the bonding interface, you can do it with:
/ip address add address=[YOUR_IP]/[YOUR_MASK] interface=bond1
Replaces [YOUR_IP] y [YOUR_MASK] with the appropriate IP address and netmask.
Configuration Verification
- To verify that the bonding interface has been created correctly and is active, you can use:
/interface bonding print
- To view additional details:
/interface bonding monitor bond1
Traffic Check
- You can check the traffic passing through the bonding interface using tools like Torch in MikroTik:
/tool torch interface=bond1
This example provides a basic bonding configuration in Broadcast mode. Remember that you may need additional adjustments depending on your specific network environment and infrastructure requirements.
Conclusion
The “Broadcast” mode in the MikroTik bonding configuration is a powerful tool for network redundancy, although not necessarily for increasing bandwidth.
Its ease of configuration and reliability make it suitable for environments where network continuity is critical. However, it's important to understand the limitations and make sure it fits the specific needs of your network.
Brief knowledge quiz
What do you think of this article?
Do you dare to evaluate your learned knowledge?
Recommended book for this article
RouterOS v7 Advanced Routing Book
Study material for the MTCRE Certification Course, updated to RouterOS v7
Related Posts
- Layer 2 Misconfigurations: Hardware Offload Limitations on Multiple Bridges
- Layer 2 misconfigurations: LAG interfaces and load balancing
- Layer 2 Misconfigurations: Packet Flow with Hardware Offloading and MAC Learning
- Understanding the Concept of MTU at Layer 2 and Layer 3: Impacts and Considerations
- Bonding XOR (balance-xor) in MikroTik