SOLVED Network - replace switch with internal NIC & routing - howto?

flashdrive

Patron
Joined
Apr 2, 2021
Messages
264
regarding Rapid Spanning Tree Protocol:

How would this be setup? Using the TrueNAS console?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
From the ifconfig(8) manpage:
Code:
     stp interface
             Enable Spanning Tree protocol on interface.  The if_bridge(4)
             driver has support for the IEEE 802.1D Spanning Tree protocol
             (STP).  Spanning Tree is used to detect and remove loops in a
             network topology.

So you probably need to go to Network > Interfaces > bridge0 > Edit and then to the "Options" field. And for each of your physical interfaces, e.g. igb0, ix0, ix1 ... put this into your "Options" field:
stp igb0 stp ix0 stp ix1

Or similar. I have not used the feature so far.
 

flashdrive

Patron
Joined
Apr 2, 2021
Messages
264
got it, I have tried that setting out - I cannot see a difference

another hint:

I don't want to be disrespectul to the provided info, I am curious and have tried to keep this enabled

> disable hardware offloading in the physical interface settings for all member interfaces

for my system I could not see a negative impact with hardware offloading enabled. I am not running any VM / jails atm.

edit:
I stand corrected: enabling this will have a serious impact for my Windows client - browsing websites will become impossible.

keep the option disabled as has been suggested
 
Last edited:

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
got it, I have tried that setting out - I cannot see a difference
That only matters when you connect multiple switches and use multiple - possibly circular - links.

> disable hardware offloading in the physical interface settings for all member interfaces

for my system I could not see a negative impact with hardware offloading enabled. I am not running any VM / jails atm.

edit:
I stand corrected: enabling this will have a serious impact for my Windows client - browsing websites will become impossible.
That's precisely why you need to disable it. Your PC is communicating via the bridge interface just the same as a jail/VM would.

HTH,
Patrick
 
Top