Change LAN interface

Started by JDE1000, December 31, 2024, 05:19:19 PM

Previous topic - Next topic
I want to change my LAN interface from IGC0 to IX0. How can I do this without losing access to web interface? I have both ports connected to the same switch. If I just change the assignment in SSH shell and then disconnect the IGC0 connection will that work? Really worried about losing web access to interface.

Thank you

You can change the assignment in the web UI. Apart from a short interruption you will not lose access.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

I think you need to also ensure it is listening on all interfaces (recommended) setting.

Changing the LAN assignment will switch everything - IP addresses, rules, listening services, ... - from one physical interface to a new one. All configuration in OPNsense is done on "LAN", not the physical port. That's the reason why this extra level of abstraction exists.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Someone suggested creating a failover LAGG with IX0 as primary and IGC0 as secondary. Will this work with an unmanaged switch? Good idea? Don't both interfaces have to be free to set this up?