
Lonk mii instructions mac#
The MAC address of the bonding interface is presented onto the active port to avoid confusing the switch. The additional slave only becomes active if the primary slave fails. This mode uses only one active slave to transmit packets. If the bandwidth of one bonded link drops, then the total bandwidth of bond will be equal to the bandwidth of the slowest bonded link. Balance-rr is also useful for bonding several wireless links, however, it requires equal bandwidth for all bonded links. As you can see, it is quite simple to set up. Quick setup guide demonstrates the usage of the balance-rr bonding mode. If a switch is used to aggregate links together, then appropriate switch port configuration is required, however many switches do not support balance-rr.
Lonk mii instructions software#
When utilizing multiple sending and multiple receiving links, packets are often received out of order, which results in segment retransmission, for other protocols such as UDP it is not a problem if a client software can tolerate out-of-order packets. The balance-rr is the only mode that will send packets across multiple interfaces that belong to the same TCP/IP connection. If this mode is set, packets are transmitted in sequential order from the first available slave to the last. The mode can work together with static Link Aggregation Group (LAG) interfaces. The mode is very similar to LACP except that it is not standardized and works with layer-3-and-4 hash policy. This mode balances outgoing traffic across the active ports based on the hashed protocol header information and accepts incoming traffic from any active port. The layer-3-and-4 transmit hash mode is not fully compatible with LACP. This can result in unbalanced transmitted traffic, so MII link monitoring is the recommended option. The ARP link monitoring is not recommended, because the ARP replies might arrive only on one slave port due to transmit hash policy on the LACP peer device. How this is calculated depends on transmit-hash-policy parameter. The hash includes the Ethernet source and destination address and if available, the VLAN tag, and the IPv4/IPv6 source and destination address. LACP balances outgoing traffic across the active ports based on hashed protocol header information and accepts incoming traffic from any active port.

The standard also mandates that all devices in the aggregate must operate at the same speed and duplex mode. This standard also mandates that frames will be delivered in order and connections should not see misordering of packets. It includes automatic configuration of the aggregates, so minimal configuration of the switch is needed. Bonding modes 802.3adĨ02.3ad mode is an IEEE standard also called LACP (Link Aggregation Control Protocol). We will leave mii-interval to its default value (100ms). When unplugging one of the cables, the failure will be detected almost instantly compared to ARP link monitoring. interface bonding set link-monitoring=mii Having additional targets increases the reliability of the ARP monitoring. If only one target is set, the target itself may go down. It is possible to specify multiple ARP targets that can be useful in High Availability setups. The meaning of each option is described later in this article.

ARP monitoring is enabled by setting three properties - link-monitoring, arp-ip-targets and arp-interval. Otherwise, all replies from the ARP targets will be received on the same link which could cause other links to fail. If balance-rr and balance-xor modes are set, then the switch should be configured to evenly distribute packets across all links. This gives assurance that traffic is actually flowing over the links. The ARP replies are not validated, any received packet by the slave interface will result in the slave interface considered as active. ARP MonitoringĪRP monitoring sends ARP queries and uses the response as an indication that the link is operational. It is not possible to use both methods at the same time due to restrictions in the bonding driver. Bonding in RouterOS currently supports two schemes for monitoring a link state of slave devices: MII and ARP monitoring.
Lonk mii instructions driver#
In the above example, if one of the bonded links were to fail, the bonding driver will still continue to send packets over the failed link which will lead to network degradation.

It is critical that one of the available link monitoring options is enabled. The bonding interface needs a couple of seconds to get connectivity with its peers.
