Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[6.8.3] How to make "setageing" bridge variable persistent

Featured Replies

UPDATE - For now, I have put "brctl setageing br1 0" in the Unraid Go file, which is a way to make the setting persistent across boots although I'm sure there's a better way.

 

One of the bridges in my server requires that the setageing parameter is set to "0".  This relates to a workaround I'm trying to create for issues with capturing/processing network traffic inside VMs (using promiscuous mode).  I'll be updating a number of posts I have to help people with this once I've solved the persistence part of this issue.

 

I can successfully set the parameter by manually running (br1 being the bridge I need this applied to):

 

  brctl setageing br1 0

 

...but this is not persistent across boots so I've gone looking for where the default setting is coming from on boot. 

 

The default setting is at least referenced in:

 

  /sys/devices/virtual/net/br1/bridge/ageing_time

 

....however this setting gets overwritten on boot

 

It appears as though the following config file would need to be edited:

 

  /boot/config/network.cfg

 

....but I've tried adding what I interpreted the correct config option should be but I may have used the incorrect syntax.  I added the following line:

 

  BRAGEING[1]="0"

 

I came up with that line based on looking at what someone else had done in Proxmox.  They used:

 

/etc/network/interfaces
<snip>
auto vmbr1
iface vmbr1 inet manual
bridge_ports eth1
bridge_ageing 0
bridge_stp off
bridge_fd 0

 

....whereas the syntax in Unraid looks like this and as I mentioned is located in  /boot/config/network.cfg as opposed to /etc/network/interfaces:

 

IFNAME[1]="br1"
BRNAME[1]="br1"
BRNICS[1]="eth1"
BRSTP[1]="no"
BRFD[1]="0"


Can anyone help to identify where this setting should reside?  Would much appreciate.  This seems to be the best workaround to the feature request I posted at:

 

 

Edited by Hadrian_Aurelius

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.