You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go to 'System: Settings: Tunables' and set 2 for net.inet.igmp.default_version
Apply settings and reboot to be sure that change is taken into account
Open a shell and run sysctl net.inet.igmp to see that default_version is 2
Run ifmcstat -f inet to notice that igmpv3 is indicated for each interface
Expected behavior
When runing the command ifmcstat -f inet, the igmp version should be less or equal than the net.inet.igmp.default_version
Describe alternatives you considered
I have applied the commit freebsd/freebsd-src@b94ec00 as this topic has been discussed in the main branch of FreeBSD. However, it is not sufficient and ifmcstat -f inet still indicate version 3.
In addition to the commit above, I have changed VNET_DEFINE_STATIC(int, igmp_default_version) = IGMP_VERSION_2; in igmp.c. This modification allows:
to have IGMPv2 after a reboot
to switch to IGMPv3 at runtime if net.inet.igmp.default_version is set to 3
However, this modification does not allow:
to switch from IGMPv3 to IGMPv2 at runtime
Environment
OPNsense 25.1 (amd64)
The text was updated successfully, but these errors were encountered:
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
The tunable
net.inet.igmp.default_version
has not effect on the IGMP version used on interfaces. The problem was also present in 24.7.Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
To Reproduce
Steps to reproduce the behavior:
net.inet.igmp.default_version
sysctl net.inet.igmp
to see that default_version is 2ifmcstat -f inet
to notice that igmpv3 is indicated for each interfaceExpected behavior
When runing the command
ifmcstat -f inet
, the igmp version should be less or equal than thenet.inet.igmp.default_version
Describe alternatives you considered
I have applied the commit freebsd/freebsd-src@b94ec00 as this topic has been discussed in the main branch of FreeBSD. However, it is not sufficient and
ifmcstat -f inet
still indicate version 3.In addition to the commit above, I have changed
VNET_DEFINE_STATIC(int, igmp_default_version) = IGMP_VERSION_2;
in igmp.c. This modification allows:net.inet.igmp.default_version
is set to 3However, this modification does not allow:
Environment
OPNsense 25.1 (amd64)
The text was updated successfully, but these errors were encountered: