OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: Morta on November 14, 2022, 07:21:48 AM

Title: bridge on router and Linux client gives strange behaviour
Post by: Morta on November 14, 2022, 07:21:48 AM
Hi

I have a OPNsense router with all interfaces excepted WAN as bridge.
I go with two ixl 10 Gbps interfaces to a NIC which is a bridge on a Linux client with two 10Gbps.

The network is going down. Why?

I exclude one Interface on router all goes well
Title: Re: bridge on router and Linux client gives strange behaviour
Post by: cookiemonster on November 14, 2022, 02:32:42 PM
you could try to add some detail. What do you mean by network is going down? What, where?
Title: Re: bridge on router and Linux client gives strange behaviour
Post by: Morta on November 14, 2022, 02:36:57 PM
A lag of the whole home network. I got my answer in the ArchLinux forum. The problem is two bridge makes a loop. I have to change to a bond interface on the client.
Title: Re: bridge on router and Linux client gives strange behaviour
Post by: Patrick M. Hausen on November 14, 2022, 03:25:09 PM
Or enable spanning tree ...
Title: Re: bridge on router and Linux client gives strange behaviour
Post by: Morta on November 14, 2022, 03:40:24 PM
Quote from: pmhausen on November 14, 2022, 03:25:09 PM
Or enable spanning tree ...

Ok, where?
Title: Re: bridge on router and Linux client gives strange behaviour
Post by: WN1X on November 14, 2022, 03:49:54 PM
On the switch between OPNSense and your server. That said, what is the point of running LAGG to OPNSense? Do you have a 10Gig+ WAN connection?
Title: Re: bridge on router and Linux client gives strange behaviour
Post by: Morta on November 14, 2022, 03:58:07 PM
Yes, I have 10 Gbps Interfaces and CAT7 cables and a 25 Gbps FTTH uplink to the ISP

Title: Re: bridge on router and Linux client gives strange behaviour
Post by: Patrick M. Hausen on November 14, 2022, 04:34:35 PM
Quote from: Morta on November 14, 2022, 03:40:24 PM
Ok, where?

Quote from: WN1X on November 14, 2022, 03:49:54 PM
On the switch between OPNSense and your server.

Switches talk STP by default. You would need to enable the protocol on the FreeBSD and possibly on the Linux side, because at least for FreeBSD the default is off.

Interfaces > Other Types > Bridge > your bridge that you created > STP Interfaces

This takes care of your loop problem but you will only use one link at a time. If you want to use both links, you must use LACP.

HTH,
Patrick
Title: Re: bridge on router and Linux client gives strange behaviour
Post by: Morta on November 14, 2022, 04:38:27 PM
Thx for the input