OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: Linwood on October 09, 2023, 12:47:50 AM

Title: Removing Interface and "opt#" numbers
Post by: Linwood on October 09, 2023, 12:47:50 AM
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)
Title: Re: Removing Interface and "opt#" numbers
Post by: Maurice on October 09, 2023, 10:56:07 AM
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
Title: Re: Removing Interface and "opt#" numbers
Post by: Linwood on October 09, 2023, 02:54:24 PM
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.