VLAN parent interface not listed

Started by igardais, January 21, 2025, 12:32:52 PM

Previous topic - Next topic
Hi,

I'm running an up-to-date OPNsense community (24.7.12) on which there are 2 VLANs created versions ago, associated with the same physical device ixl1.
Today I need to create a third one.

Problem : VLAN creation UI does not list ixl1 as a parent interface, only the 2 existing VLANs are considered. This lead to a QinQ VLAN (which is not desired).

Reboot does not help.
It looks like a bug to me.

Any ideas on this ?

Thanks,
IG

Are you able to show a screenshot of your interface assignments page to see if we can have an idea? Or output of ifconfig.
A VLAN however does not need to have the parent assigned, so I wonder if that is what you were expecting. By assigned, I mean set to assigned in the UI and given attrributes like an ip address. Not strictly necessary.
If you can just create a new VLAN, selecting the same parent as the other two, all is good.

Here it is.
The "new VLAN" window selects vlan01 by default and only list vlan01 and vlan02. ixl1 is not listed and it is not possible to select an empty value.
Screenshot attached too.

Can you remove the assignment from the ixl1 interface?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

No as I locked the LAN interface to prevent removal.
If I unlock the LAN interface then the bin icon is shown at the end of the first line.
Did not try to click it as it wouldn't make sense to unbind ixl1 device and LAN interface as it's needed for untagged traffic.

It's advised not to mix tagged and untagged traffic on the same interface.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Pretty sure that is

# opnsense-patch https://github.com/opnsense/core/commit/e26c37ac9a81

This will also be hotfixed in 24.7.12 until tomorrow. We finally found the underlying problem yesterday.


Cheers,
Franco

I confirm today's patch solved this issue.
I even get the System>Gateways>Configuration view back again : it was displaying errors since I don't know when :)