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

Change Interface OPT number so Carp can sync

Scheduled Pinned Locked Moved HA/CARP/VIPs
4 Posts 2 Posters 445 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.
  • C
    CloudNode
    last edited by Sep 20, 2023, 4:51 AM

    Hello; I was wondering how i can change the opt number on an interface so my CARP can sync settings to the correct interface.

    On my backup pfSense. i created the interface in the wrong order and now the opt numbers are off and as a result the carp is syncing settings to the wrong interface. Thank you

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Sep 20, 2023, 12:41 PM

      Only by manually editing the config. Or by recreating if from the Primary config.
      if you do that I would create a minimal firewall ruleset so they can be sync'd from the primary to be sure it's on the correct interfaces.

      C 1 Reply Last reply Sep 20, 2023, 4:03 PM Reply Quote 0
      • C
        CloudNode @stephenw10
        last edited by Sep 20, 2023, 4:03 PM

        @stephenw10 Thanks, so is it safe to edit the config.xml and modify just the opt number? for example just swap the numbers around?

        Also is there a way to remove a opt number? I had created a new interface and then deleted but then when i make a new one again the number is 7 instead of 6.

        Thanks,

        1 Reply Last reply Reply Quote 0
        • J jimp moved this topic from Problems Installing or Upgrading pfSense Software on Sep 20, 2023, 5:43 PM
        • S
          stephenw10 Netgate Administrator
          last edited by Sep 20, 2023, 6:03 PM

          The opt number for the interface is probably the most important value. Everything else references that, firewall rules, NAT rules etc.

          That's why you can reassign the interface to a new NIC or rename it and all the config will follow it. If you change the opt number you have to change everything that references it or recreate everything else.

          The opportunity for typo'ing something here is large!

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