-
Notifications
You must be signed in to change notification settings - Fork 791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VLAN interface stops working when exiting promiscuous mode #8429
Comments
Thank you for creating an issue. For more information about the policies for this repository, The easiest option to gain traction is to close this ticket and open a new one using one of our templates. |
Normally this happens when you spoof the MAC of the VLAN, but don't set the parent to promiscuous mode. The other option is to set the MAC address on the parent instead of the VLAN, which sets it for all VLAN children. Cheers, |
I actually didn't spoof the MAC address, it's the same as the physical NIC port for both VLAN interfaces. Also, I just edited the bug description because the child interface appears to be 802.1q as well according to
|
I haven't seen a lot of oce(4) usage so this could be a driver bug. The workaround is to enable promiscuous mode on the parent then anyway. That's all I can really offer from here. Cheers, |
No problem, I'll try and let you know. Thanks! |
I can confirm the proposed workaround works. I'm closing this since we're probably dealing with an upstream (FreeBSD) bug. |
Describe the bug
My ISP provides internet access through IPoE (no PPPoE) on an 802.1q VLAN interface.
It also allows me to establish a BGP session on another VLAN, inside the internet one.
Through SSH, I launched
tcpdump
on the child interface to monitor the BGP traffic, stopped it and then the router became inaccessible from the outside right after the graceful exit output was printed by the tool.I quickly found out the internet VLAN was not working anymore, even disabling and enabling it again doesn't have an effect. Rebooting OPNsense appears to be the only fix.
According to
dmesg
, all interfaces are set to promiscuous mode with the exception of the ISP VLANs, presumably because they're not part of a bridge unlike all the others.When running
tcpdump
they're both set to promiscuous mode and still work fine, but as soon as they return to "normal" mode the traffic on them just stops flowing.To Reproduce
Steps to reproduce the behavior:
tcpdump
on the child interface, exit the tool and the traffic on the parent VLAN should stop flowing immediately.Environment
OPNsense 24.7.12_4-amd64
FreeBSD 14.1-RELEASE-p6
OpenSSL 3.0.15
Intel Core i5-7500T
Emulex OCE11102
The text was updated successfully, but these errors were encountered: