bridge on router and Linux client gives strange behaviour

Started by Morta, November 14, 2022, 07:21:48 AM

Previous topic - Next topic
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

you could try to add some detail. What do you mean by network is going down? What, where?

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.

Or enable spanning tree ...
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)


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?
- Jim

Yes, I have 10 Gbps Interfaces and CAT7 cables and a 25 Gbps FTTH uplink to the ISP


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
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)