hardware upgrade / (VLAN) interface names

Started by 150d, May 30, 2025, 12:42:24 PM

Previous topic - Next topic
Hello,

I'm in the process of migrating OPNsense to new hardware with different interface names and will need to make adjustments in the export XML accordingly. Question is, what should I change the interface names to, especially the VLAN names?

I could just renumber them vlan01, vlan02... with no regard to their actual tag, as is the current "automatic method". Or I could use my own scheme like e.g. "LAN_V17" for the VLAN tag 17 on the LAN interface.

What would you recommend? Would the custom scheme have any drawbacks?

The help tooltip reads on version 24.7.x for new VLANs:
QuoteCustom names are possible, but only if the start of the name matches the required prefix and contains numeric characters or dots, e.g. "vlan0.1.2" or "qinq0.3.4".
I'll have to think about this when my upgrade comes along but my thinking at present is to rename (if possible) the current VLANs to the new scheme, then if I need to rename interfaces with new hardware, it'll have less chance of being problematic (me thinks).