I submitted a support ticket with this, but I thought I’d bring it up here as well. Hopefully someone has a clever workaround.
I’m attempting to run a DHCP server in a container on my CCR2116. I’d prefer to avoid having to do that, but Mikrotik’s DHCP server doesn’t do dynamic DNS updates and I already run an authoritative DNS server for my local domain name.
However, as soon as I start my DHCP container, “Bridge Fast Path Active” becomes disabled. This happens with 100% reproducability, with both 7.7 and 7.8rc1. It happens both when running isc-dhcp-server and Kea. The easiest way to see it is to use networkboot/dhcpd or jonasal/kea-dhcp4. To confirm that those specific containers aren’t the problem, I tried my own custom container based on debian:bullseye with only isc-dhcp-server installed. As soon as the dhcpd executable is launched, bridge fast path goes down. I’ve tried with my container’s VETH attached to it’s own Container bridge, or to use my primary bridge, both have the same effect. Every other container I’ve run works without any problem at all.
[foobar@ccr2116] /container> print
0 name="c689df1c-90c8-4d25-b08a-075748030e04" tag="jonasal/kea-dhcp4:2.3" os="linux" arch="arm64" interface=veth_kea
envlist="kea_envs" cmd="-c /etc/kea-tmp/kea-dhcp4.conf" root-dir=sata1/container-roots/kea mounts=kea_data dns=""
hostname="kea" logging=yes start-on-boot=yes status=stopped
1 name="25c60e33-ff95-4064-ad3a-1378435cd970" tag="adguard/adguardhome:latest" os="linux" arch="arm64"
interface=veth_adguard envlist="adguard_envs" root-dir=sata1/container-roots/adguard mounts=adguard_work,adguard_conf
dns="" hostname="adguard" workdir="/opt/adguardhome/work" logging=yes start-on-boot=yes status=running
[foobar@ccr2116] /container> /interface/bridge/settings/print
use-ip-firewall: no
use-ip-firewall-for-vlan: no
use-ip-firewall-for-pppoe: no
allow-fast-path: yes
bridge-fast-path-active: yes
bridge-fast-path-packets: 25275082
bridge-fast-path-bytes: 5526701340
bridge-fast-forward-packets: 0
bridge-fast-forward-bytes: 0
[foobar@ccr2116] /container> start 0
[foobar@ccr2116] /container> /interface/bridge/settings/print
use-ip-firewall: no
use-ip-firewall-for-vlan: no
use-ip-firewall-for-pppoe: no
allow-fast-path: yes
bridge-fast-path-active: no
bridge-fast-path-packets: 25275364
bridge-fast-path-bytes: 5526783890
bridge-fast-forward-packets: 0
bridge-fast-forward-bytes: 0
Now the reason it matter is because if Bridge Fast Path is disabled, L3 HW offloading of firewall connections. Does anyone have any idea what might be causing this behaviour or have any ideas for a workaround?