• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

HA Interface OPT do not match on Secondary

Scheduled Pinned Locked Moved HA/CARP/VIPs
3 Posts 2 Posters 1.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    MrFrenchFry
    last edited by MrFrenchFry Apr 6, 2022, 2:32 PM Apr 6, 2022, 1:34 PM

    Hi,

    I've tried to add a new interface to my primary and secondary and noticed that one of the existing OPT on the secondary was picking up the settings, DHCP being the one that flagged the issue.

    Is there any easy way to get my secondary options to match my primary?

    2 x XG-1537 with Quad Port Expansion Cards

    Looking at the configs shows the issue:

    PRIMARY
    <opt4>
    <descr><![CDATA[VHUB4VTI1]]></descr>
    <if>ipsec3000</if>
    <enable></enable>
    <spoofmac></spoofmac>
    </opt4>
    <opt5>
    <descr><![CDATA[VHUB4VTI0]]></descr>
    <if>ipsec19000</if>
    <enable></enable>
    <spoofmac></spoofmac>
    </opt5>

    SECONDARY
    <opt5>
    <descr><![CDATA[VHUB4VTI1]]></descr>
    <if>ipsec3000</if>
    <enable></enable>
    <spoofmac></spoofmac>
    </opt5>
    <opt6>
    <descr><![CDATA[VHUB4VTI0]]></descr>
    <if>ipsec19000</if>
    <enable></enable>
    <spoofmac></spoofmac>
    </opt6>

    Thanks for the help

    1 Reply Last reply Reply Quote 0
    • M
      MrFrenchFry
      last edited by Apr 6, 2022, 5:05 PM

      So on Primary opt 6 is used for the next new port assignment, while on the Secondary opt 4 is used for any new port assignment. Then when the Sync happens the Primary applies the newly assigned port with opt 6 settings to the already existing opt 6 on the Secondary.

      <opt6>**<descr><![CDATA[VHUB4VTI0]]></descr>

      This then causes all kinds of havok

      Anyone know a way to re-assign the opt labels / assignment?

      V 1 Reply Last reply Apr 6, 2022, 5:18 PM Reply Quote 0
      • V
        viragomann @MrFrenchFry
        last edited by Apr 6, 2022, 5:18 PM

        @mrfrenchfry
        You can export the interface config from the secondary node:
        Diagnostics > Backup & Restore > Backup & Restore
        At Backup area select "Interfaces".

        Download the file. Then load it into a text editor and order the interfaces accordingly to the primary.

        Save the file and re-import it into the secondary.

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received