Community discussions

MikroTik App
 
lousx
newbie
Topic Author
Posts: 29
Joined: Mon Jan 21, 2013 8:04 am

Dlink LACP + Mikrotik Bonding CCR-1009

Mon Feb 12, 2018 9:52 am

I create dlink lacp and mikrotik bonding/
Dlink 7-8 ports:
# LACP

config link_aggregation algorithm mac_source_dest
create link_aggregation group_id 1 type lacp
config link_aggregation group_id 1 master_port 19 ports 19-20 state enable
create link_aggregation group_id 2 type lacp
config link_aggregation group_id 2 master_port 7 ports 7-8 state enable
config lacp_port 7-8 mode active
          
Mikrotik bonding:
/interface bonding print 
Flags: X - disabled, R - running 
 1  R ;;; LAN
      name="bonding2" mtu=1500 mac-address=00:30:48:7F:EE:6E arp=enabled arp-timeout=auto slaves=ether5,ether6 
      mode=802.3ad primary=none link-monitoring=none 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 
Max traffic only 1Gbps.
Mikrotik can working correctly with dlink lacp?
 
lousx
newbie
Topic Author
Posts: 29
Joined: Mon Jan 21, 2013 8:04 am

Re: Dlink LACP + Mikrotik Bonding CCR-1009

Mon Feb 12, 2018 11:11 am

Loading diverges by ports, but never exceeds 1Gbps.
 /interface monitor-traffic ether5,ether6,bonding2  
                        name:     ether5    ether6  bonding2
       rx-packets-per-second:      8 021     9 646    17 665
          rx-bits-per-second:    9.9Mbps   9.6Mbps  19.6Mbps
    fp-rx-packets-per-second:      8 021     9 646    17 600
       fp-rx-bits-per-second:    9.9Mbps   9.6Mbps  19.4Mbps
         rx-drops-per-second:          0         0         0
        rx-errors-per-second:          0         0         0
       tx-packets-per-second:     64 813    19 514    84 327
          tx-bits-per-second:  758.5Mbps 208.0Mbps 966.6Mbps
    fp-tx-packets-per-second:     64 813    19 514         0
       fp-tx-bits-per-second:  758.5Mbps 208.0Mbps      0bps
         tx-drops-per-second:          0         0         0
        tx-errors-per-second:          0         0         0


 
tangram
Member Candidate
Member Candidate
Posts: 132
Joined: Wed Nov 16, 2016 9:55 pm

Re: Dlink LACP + Mikrotik Bonding CCR-1009  [SOLVED]

Mon Feb 12, 2018 2:11 pm

use bond interface with balance-rr and no configuration on the switch.
lacp never exceeds the traffic speed of the interface. you can't get over 1g no matter how many interfaces you bond, but you can get more times 1g at the same time for different hosts. it's just the way lacp works.
 
lousx
newbie
Topic Author
Posts: 29
Joined: Mon Jan 21, 2013 8:04 am

Re: Dlink LACP + Mikrotik Bonding CCR-1009

Mon Feb 12, 2018 2:32 pm

use bond interface with balance-rr and no configuration on the switch.
lacp never exceeds the traffic speed of the interface. you can't get over 1g no matter how many interfaces you bond, but you can get more times 1g at the same time for different hosts. it's just the way lacp works.
wow! Thanks.
What I need configure on switch ports?
Now 7 and 8 ports in one tagged vlan and on LACP.
I should remove lacp, but live vlans? I do not will get loopback?
Sorry for my English.
 
tangram
Member Candidate
Member Candidate
Posts: 132
Joined: Wed Nov 16, 2016 9:55 pm

Re: Dlink LACP + Mikrotik Bonding CCR-1009

Mon Feb 12, 2018 3:51 pm

don't aggregate the ports on the switch in any way. just configure them as regular switchports and assign them to the vlan that you want(same vlan for both of course).
there's no loop, try it :)
 
lousx
newbie
Topic Author
Posts: 29
Joined: Mon Jan 21, 2013 8:04 am

Re: Dlink LACP + Mikrotik Bonding CCR-1009

Mon Feb 12, 2018 4:13 pm

Server in production, therefore i specify all the points. Thank you, friend!
 
lousx
newbie
Topic Author
Posts: 29
Joined: Mon Jan 21, 2013 8:04 am

Re: Dlink LACP + Mikrotik Bonding CCR-1009

Tue Feb 13, 2018 3:15 pm

Hi. It's work for bonding wan interfaces, but not work for lan bonding interfaces.
On lan interfaces many vlans. May be it is reason?