Community discussions

 
mhugo
newbie
Topic Author
Posts: 48
Joined: Mon Sep 19, 2005 11:48 am

Forward LACP in bridge?

Fri Aug 17, 2018 10:20 am

Hi,

We are trying to use a CRS317 to repeat a wave that required more than 80 km laser. The customer wants us to forward LACP, but it seems the CRS is not doing it.

Is there any way I can bridge two interfaces so seamlessly that LACP is forwarded?

/M
 
dadaniel
Member Candidate
Member Candidate
Posts: 155
Joined: Fri May 14, 2010 11:51 pm

Re: Forward LACP in bridge?

Fri Aug 17, 2018 10:44 am

It seems that this is still not working after 10 years:
viewtopic.php?t=21913
 
User avatar
artz
MikroTik Support
MikroTik Support
Posts: 88
Joined: Tue Oct 17, 2017 5:51 pm
Location: Riga
Contact:

Re: Forward LACP in bridge?

Fri Aug 17, 2018 11:03 am

This is possible by using the latest RC and protocol-mode=none.

Are you sure you want to use LACP on links that are bridged? There can be some throughput issues since LACP requires both links to be with the same speed.
I would guess that you are trying to use Wireless links, which can change the Wireless rate at any time, you should consider using other bonding modes.

You can read about an issue that you are going to have when using Wireless links in a bond here:
https://wiki.mikrotik.com/wiki/Manual:L ... less_links

If you are using CRS317, which is capable of offloading to the switch chip LACP interfaces, then you will have to give up hardware support for the bonding interface because of the protocol limitations described in the link.

LACPDUs are not meant to be forwarded for a reason, take precaution when forwarding them.
 
mhugo
newbie
Topic Author
Posts: 48
Joined: Mon Sep 19, 2005 11:48 am

Re: Forward LACP in bridge?

Fri Aug 17, 2018 12:13 pm

Hi,

The reason is that the optical link was too long, so im using a CRS317 to repeat the signal. It should not do anything but forward packets to the other port. I dont know if a port mirror could be used?

/M
 
User avatar
artz
MikroTik Support
MikroTik Support
Posts: 88
Joined: Tue Oct 17, 2017 5:51 pm
Location: Riga
Contact:

Re: Forward LACP in bridge?

Fri Aug 17, 2018 2:12 pm

In such case it is possible, here is an example:
/interface ethernet switch rule
add new-dst-ports=ether2 ports=ether1 switch=switch1
 
sindy
Forum Guru
Forum Guru
Posts: 3803
Joined: Mon Dec 04, 2017 9:19 pm

Re: Forward LACP in bridge?

Fri Aug 17, 2018 2:19 pm

It couldn't because mirroring copies both traffic directions from the source port to the destination port, but what is received on the mirror destination port gets nowhere. So yes, you need a bridge between two ports.

Assuming that you are going to use two CRS with two SFPs each to avoid a SPOF represented by a single CRS with two bonds, one looking in each direction.
Instead of writing novels, post /export hide-sensitive. Use find&replace in your favourite text editor to systematically replace all occurrences of each public IP address potentially identifying you by a distinctive pattern such as my.public.ip.1.
 
anuser
Member
Member
Posts: 387
Joined: Sat Nov 29, 2014 7:27 pm

Re: Forward LACP in bridge?

Mon Oct 08, 2018 10:57 am

Hello,

I´m in the same situation. I updated my CRS317-1G-16S+ to 6.44beta17 and LACPPDUS are traveling through the bridge which is configured on the CRS317.
When I login on the switches and show lldp neighbor the switches actually see the CRS317:
dis lldp neighbor-information list
System Name Local Interface Chassis ID Port ID
swch-047 XGE1/0/25 d894-03fc-a9a6 Ten-GigabitEthernet1/0/25 <= LACP link1.1
swch-047 XGE1/0/26 d894-03fc-a9a6 Ten-GigabitEthernet1/0/26 <= LACP link1.2
MikroTik XGE1/0/26 64d1-54ea-c305 bridge1


/interface bridge port
add bridge=bridge1 comment=defconf hw=no interface=sfp-sfpplus1
add bridge=bridge1 comment=defconf hw=no interface=sfp-sfpplus2


So how can I make the CRS317 truly transparent such that the switches don´t see him?

UPDATE:
CRS317 configuration with "ARP disabled" on bridge1" and "ip neighbors" disabled for all ports helped
Last edited by anuser on Mon Oct 08, 2018 12:40 pm, edited 1 time in total.
 
sindy
Forum Guru
Forum Guru
Posts: 3803
Joined: Mon Dec 04, 2017 9:19 pm

Re: Forward LACP in bridge?

Mon Oct 08, 2018 11:19 am

The way @artz has suggested in post #5 above - you must use /interface ethernet switch rule to forward ingress frames from port A to port B and vice versa without local processing. So also the LLDP frames, BPDU frames etc. won't make it to the CPU but will be forwarded to the other port in the A<->B pair.
Instead of writing novels, post /export hide-sensitive. Use find&replace in your favourite text editor to systematically replace all occurrences of each public IP address potentially identifying you by a distinctive pattern such as my.public.ip.1.
 
anuser
Member
Member
Posts: 387
Joined: Sat Nov 29, 2014 7:27 pm

Re: Forward LACP in bridge?

Mon Oct 08, 2018 12:43 pm

Thanks!

Who is online

Users browsing this forum: Bing [Bot] and 62 guests