Today I experimented with link bonding between Linux box (2x10/100 cards) and MikroTik (hAP ac). I successfully configured it:
MikroTik side:
Code: Select all
[grzegorz@MedTik] > /interface bonding print
Flags: X - disabled, R - running
0 R name="asclepius-bond" mtu=1500 mac-address=XX:XX:XX:XX:XX:XX arp=enabled slaves=ether4-ascbin,ether3-ascusb mode=balance-rr
primary=none link-monitoring=mii arp-interval=100ms arp-ip-targets="" mii-interval=100ms down-delay=0ms up-delay=0ms
lacp-rate=30secs transmit-hash-policy=layer-2 min-links=0
[grzegorz@MedTik] >
Code: Select all
# There are separate configurations for both cards due to upstart problems
auto bond0
iface bond0 inet dhcp
bond-slaves enp7s0 enx9cebe80489d6
bond-mode 0
bond-miimon 100
auto enp7s0
iface enp7s0 inet manual
bond-master bond0
auto enx9cebe80489d6
iface enx9cebe80489d6 inet manual
bond-master bond0
It's worth to mention traffic is visible as ~900Mb/s in torch running at bonding interface, however there's no way to tell what's the real bandwidth (in this case laptop is 1Gb while bonded interface is capable of ~200Mb). In my configuration ether2 is an master port for bridge which consists of ether2 (which is obvious) and ether5. Than ether2 along with bonded interface & wlan's are added to bridge.
Code: Select all
[grzegorz@MedTik] > /interface bridge print
Flags: X - disabled, R - running
0 R name="bridge-local-intranet" mtu=auto actual-mtu=1500 l2mtu=1598 arp=enabled mac-address=XX:XX:XX:XX:XX:XX protocol-mode=rstp
priority=0x8000 auto-mac=no admin-mac=XX:XX:XX:XX:XX:XX max-message-age=20s forward-delay=15s transmit-hold-count=6
ageing-time=5m
[grzegorz@MedTik] > /interface bridge port print
Flags: X - disabled, I - inactive, D - dynamic
# INTERFACE BRIDGE PRIORITY PATH-COST HORIZON
0 ether2-ext bridge-local-intranet 0x80 10 none
1 wlan24 bridge-local-intranet 0x80 10 none
2 wlan5 bridge-local-intranet 0x80 10 none
3 asclepius-bond bridge-local-intranet 0x80 10 none
[grzegorz@MedTik] >
After a while I think this problem may be related to http://forum.mikrotik.com/viewtopic.php?f=13&t=102152