OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: Enrico on September 15, 2017, 01:00:07 pm

Title: Traffic shaping in Bridged mode
Post by: Enrico on September 15, 2017, 01:00:07 pm
Hi Everyone,

I'm having this problem with V17.7.1_2 (but I also had the same on V17.1).

My setup is as follow:

[WAN interface] ---- [Bridge] ---- [LAN interface]

WAN, Bridge and LAN are all without an address and I'm using a dedicated interface to manage the system.

I set up tunables as follow:

net.link.bridge.pfil_bridge=0
net.link.bridge.ipfw=1
net.link.ether.ipfw=1

Everything work perfectly until I reboot the system.
When the system come back online the settings in Tunables are not automatically applied and I need to manually apply them to get shaping working again.

I did even try to put:

net.link.bridge.pfil_bridge=0
net.link.bridge.ipfw=1
net.link.ether.ipfw=1

into /etc/sysctl.conf but they do not seems to be loaded at system boot.

This is the output I get when I manually apply the sysctl after system boot

# sysctl -f /etc/sysctl.conf
# net.link.bridge.ipfw: 1 -> 1
# net.link.ether.ipfw: 0 -> 1
# net.link.bridge.pfil_bridge: 0 -> 0

and shaping works again.

Any idea?

Thanks.

Regards,

Enrico