Moving a VLAN to another interface [solved]

Started by pankaj, July 31, 2022, 11:27:00 PM

Previous topic - Next topic
July 31, 2022, 11:27:00 PM Last Edit: August 20, 2022, 05:51:29 AM by pankaj
Hi,

I've a VLAN for IoTs that have about 70 static IPs assigned for different IoTs across the house. And I need to move this VLAN to another interface on the FW box.

Is there a way to download/upload the static IP assignment under DHCP? In worst case, I will have to type or copy/paste all the assignments manually but was curious if there is an easier/reliable way out of this.

Thanks.

Never tried this so don't know if it'll work but try editing the vlan and changing the interface itself.
Would be the easiest way if this is allowed.

August 01, 2022, 07:20:29 PM #2 Last Edit: August 07, 2022, 12:58:19 AM by pankaj
Interesting idea, I tried a test VLAN and moved it across to another interface and it seems to work.

Next steps would be to move the actual ones on the home LAN and keeping fingers crossed!!

It did not work on the actual VLANs as I had to delete the assignment which pretty much toasted the static IP assignments. Since mine is a home network, I save a copy of IP assignments and had to do some copy & paste and now have OPNsense with VLANs up and running!

Quote from: pankaj on July 31, 2022, 11:27:00 PM

Is there a way to download/upload the static IP assignment under DHCP? In worst case, I will have to type or copy/paste all the assignments manually but was curious if there is an easier/reliable way out of this.

Thanks.

Didn't try it personally, but https://github.com/gxben/terraform-provider-opnsense might help you