OPNsense Forum

English Forums => 24.7, 24.10 Series => Topic started by: JDE1000 on December 31, 2024, 05:19:19 PM

Title: Change LAN interface
Post by: JDE1000 on December 31, 2024, 05:19:19 PM
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
Title: Re: Change LAN interface
Post by: Patrick M. Hausen on December 31, 2024, 05:30:52 PM
You can change the assignment in the web UI. Apart from a short interruption you will not lose access.
Title: Re: Change LAN interface
Post by: cookiemonster on December 31, 2024, 05:31:50 PM
I think you need to also ensure it is listening on all interfaces (recommended) setting.
Title: Re: Change LAN interface
Post by: Patrick M. Hausen on December 31, 2024, 05:44:38 PM
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.
Title: Re: Change LAN interface
Post by: JDE1000 on December 31, 2024, 08:53:33 PM
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?