Removing Interface and "opt#" numbers

Started by Linwood, October 09, 2023, 12:47:50 AM

Previous topic - Next topic
I think this is a silly question but prefer not to make a mess.

I had a bunch of VLAN's, assigned to opt1, opt2, opt3, opt4, etc

I no longer use the one assigned to opt2.  I've disabled it which takes care of most important stuff, but I'd like to just remove it.

I don't know what happens when I do relative to the opt numbers, and if that matters for any configuration purpose.  Nothing currently refers to the interface name (e.g. this is "Automation"), but I have no idea how it all connects under the covers.

If I just delete it from the assignments page does everything else stay the same?

(On 23.7.5 on FreeBSD amd64)

Deleting opt2 won't affect other interface names or assignments. There will simply be a "gap" - opt1, opt3, opt4, ...
Next time you create a new interface assignment, the opt2 name will get reused.

Cheers
Maurice
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).

Perfect, thank you.  I've been burned by ASA's when you change interfaces and suddenly lines of config disappear due to removing and re-adding an interface name (I realize this is different) that was just a bit paranoid.