OPNsense Forum

English Forums => High availability => Topic started by: Aeration1427 on October 20, 2023, 03:43:04 PM

Title: Can interface identifiers be reamapped
Post by: Aeration1427 on October 20, 2023, 03:43:04 PM
Hey I'm trying to get HA running with a VM as a secondary for whenever the physical primary has to go down.
Issue I've noticed is the interface related configurations are synced based on the interface identifiers (optN).

Since these identifiers don't line up between the two hosts, all services that rely on these identifiers are applied to the incorrect interface.

Is there a way to manually map a specific interface on the secondary to a specific optN identifier?

Title: Re: Can interface identifiers be reamapped
Post by: Patrick M. Hausen on October 20, 2023, 03:45:57 PM
Fastest way: download config backup, edit XML file, reimport config backup.
Title: Re: Can interface identifiers be reamapped
Post by: Aeration1427 on October 20, 2023, 03:59:35 PM
Will try that, thanks!
Title: Re: Can interface identifiers be reamapped
Post by: am312 on April 08, 2026, 12:14:49 AM
Is this still the only way in 26.1?  If the identifiers need to match between FWs in an HA pair then not having a simple way to sync the values in the GUI seems like a miss.
Title: Re: Can interface identifiers be reamapped
Post by: nero355 on April 08, 2026, 12:46:04 AM
Quote from: am312 on April 08, 2026, 12:14:49 AMIs this still the only way in 26.1?

If the identifiers need to match between FWs in an HA pair then not having a simple way to sync the values in the GUI seems like a miss.
This recent topic discussed a new way to modify things : https://forum.opnsense.org/index.php?topic=51075.0

Maybe something like that would work for you too ?