Community discussions

MikroTik App
 
bizon2111
just joined
Topic Author
Posts: 2
Joined: Fri Jan 05, 2018 9:14 am

MikroTik Bonding do C3750

Fri Jan 05, 2018 12:43 pm

Hello,
I can not deal with Bonding between C3750 and MikroTik ver. 6.33.3 which I use as a hub for PPPoE clients. Has anyone done similar things at home and whether it is worth it or better to immediately invest in a 10Gbps card.
Below I am describing the config:

interface FastEthernet0 / 19
switchport trunk allowed vlan XX XX XX
switchport mode trunk
channel-group 3 mode active
channel-protocol lacp
!
interface FastEthernet0 / 20
switchport trunk allowed vlan XX XX XX
switchport mode trunk
channel-group 3 mode active
channel-protocol lacp

On MT I have:

name = "bonding" mtu = 1500 mac-address = 00: 0C: 42: 38: B5: 7D arp = enabled
slaves = ether6, ether5 mode = 802.3ad primary = none link-monitoring = mii
arp-interval = 100ms arp-ip-targets = 0.0.0.0 mii-interval = 100ms
down-delay = 0ms up-delay = 0ms lacp-rate = 30secs
transmit-hash-policy = layer-2-and-3 min-links = 0

If someone was making link aggregation on similar hardware, I would be grateful for any tips
because in the current configuration, only one card is moving. In case when I have MT
ballanced on the CISCO chanel-group 3 mode on the movement spreads evenly only on the Tx side
 
User avatar
cdiedrich
Forum Veteran
Forum Veteran
Posts: 997
Joined: Thu Feb 13, 2014 2:03 pm
Location: Basel, Switzerland // Bremen, Germany
Contact:

Re: MikroTik Bonding do C3750

Fri Jan 05, 2018 3:02 pm

I have a couple CCR1036 bonded to C3750 stacks.

This is working:

Router side
/interface bonding
add mode=802.3ad name=core-bond slaves=ether1,ether2,ether3,ether4 transmit-hash-policy=layer-2-and-3

Switch side:
!
interface Port-channel7
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 600
 switchport mode trunk
 flowcontrol receive desired
!
interface GigabitEthernet1/0/15
 description router01-e1
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 600
 switchport mode trunk
 channel-group 7 mode active
 spanning-tree portfast trunk
!
interface GigabitEthernet1/0/23
 description router01-e2
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 600
 switchport mode trunk
 channel-group 7 mode active
 spanning-tree portfast trunk
!
interface GigabitEthernet2/0/15
 description router01-e3
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 600
 switchport mode trunk
 channel-group 7 mode active
 spanning-tree portfast trunk
!
interface GigabitEthernet2/0/23
 description router01-e4
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 600
 switchport mode trunk
 channel-group 7 mode active
 spanning-tree portfast trunk
!
Hope, that helps.
-Chris

EDIT: Now I just see what your real problem is.
That's a (problem/bug/unsupported feature) on the Cisco side. As you can see, the routers spread well, the switch doesn't :-(
 
User avatar
acruhl
Member
Member
Posts: 371
Joined: Fri Jul 03, 2015 7:22 pm

Re: MikroTik Bonding do C3750

Sat Jan 06, 2018 4:45 am

Load balancing only happens in the outbound (Tx) direction.

Your hash policy on the MikroTik is layer 2 and layer 3.

What is it on the Cisco?

I have a 2960 with gigabit uplinks ($45 shipped to my door!) set like this:
#show etherchannel load-balance 
EtherChannel Load-Balancing Configuration:
        src-dst-ip

EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Source XOR Destination MAC address
  IPv4: Source XOR Destination IP address
  IPv6: Source XOR Destination IP address
It doesn't work so well with NAT coming from the WAN because the router is always the source IP or MAC so it tends to stay on one "side" of the etherchannel.

If yours supports src-dst-ip-port or something like that, you should probably try that. Mine doesn't.
 
tangram
Member Candidate
Member Candidate
Posts: 132
Joined: Wed Nov 16, 2016 9:55 pm

Re: MikroTik Bonding do C3750

Mon Jan 08, 2018 2:16 pm

Hi,

Try channel-group mode on on switch and balance-rr on mikrotik.
 
bizon2111
just joined
Topic Author
Posts: 2
Joined: Fri Jan 05, 2018 9:14 am

Re: MikroTik Bonding do C3750

Wed Jan 10, 2018 12:36 pm

WItam, I need to do cisco etherchannel but I have tagged traffic. Tagged vlan-s from 100 - 400
switchport mode tunk
switchport trunk allow vlan 100-400
chanel group 3 mode on

On MikroTik ballance rr

Or

switchport mode tunk
switchport trunk allow vlan 100-400
chanel group 3 mode avtice
chabel-protocol lacp

On MikroTik 802.3ad


I can not set flow control on the cisco side in any configuration