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

Rename network interface?

Scheduled Pinned Locked Moved General pfSense Questions
12 Posts 4 Posters 2.1k 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.
  • P
    planetinse
    last edited by planetinse Aug 10, 2021, 8:41 PM Aug 10, 2021, 8:30 PM

    Iam setting up a HA cluster, for some uknown reason the master has an OPT8 interface that i have renamed to LAN3 - but on the cluster partner that was OPT4 after basic install, i renamed it to LAN3 - but now i cant sync CARP addresses nor firewall rules. (for that specific interface), its "vmx2" on both machines, so i have a hard time understanding why...

    HA slave says interface does not exist.

    ideas?

    V 1 Reply Last reply Aug 10, 2021, 8:47 PM Reply Quote 0
    • V
      viragomann @planetinse
      last edited by Aug 10, 2021, 8:47 PM

      @planetinse
      Ensure that the interfaces are in the same order on both nodes (Interfaces > Interface Assignments).

      P 1 Reply Last reply Aug 10, 2021, 9:35 PM Reply Quote 0
      • P
        planetinse @viragomann
        last edited by Aug 10, 2021, 9:35 PM

        @viragomann they are in exact same order

        only difference i can spot is that its called OPT8 vs OPT4 in the CLI

        V 1 Reply Last reply Aug 10, 2021, 9:40 PM Reply Quote 0
        • V
          viragomann @planetinse
          last edited by Aug 10, 2021, 9:40 PM

          @planetinse said in Rename network interface?:

          only difference i can spot is that its called OPT8 vs OPT4 in the CLI

          The OPTx names pfSense originally uses?
          If so these have to be the same.

          You can also check the original name in Status > Interfaces. They are WAN, LAN, OPT1, OPT2,...
          The have to match on both boxes.

          P 1 Reply Last reply Aug 10, 2021, 9:42 PM Reply Quote 0
          • P
            planetinse @viragomann
            last edited by Aug 10, 2021, 9:42 PM

            @viragomann They dont match - so how can i rename them, for some reason the original box has (i guess due do adding/removing network interfaces in the past)

            OPT1, OPT2, OPT3, OPT8

            and the new box

            OPT1, OPT2, OPT3, OPT4

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by stephenw10 Aug 10, 2021, 9:48 PM Aug 10, 2021, 9:48 PM

              Yeah those logical interface names are what pfSense uses for all the rules and firewall states. They must match in an HA pair.
              At some point the first firewall had other interfaces added and then removed which is why it's up to OPT8.

              The easiest way to do this is usually to edit the config from the secondary directly so it dies match and then restore it. It shouldn't be that difficult with only one mismatched interface to find/replace OPT4 with OPT8. There is always some risk of a typo with editing the config of course.

              Steve

              P 1 Reply Last reply Aug 10, 2021, 10:08 PM Reply Quote 0
              • P
                planetinse @stephenw10
                last edited by Aug 10, 2021, 10:08 PM

                @stephenw10 any clue where this config is stored?

                V 1 Reply Last reply Aug 10, 2021, 10:12 PM Reply Quote 0
                • V
                  viragomann @planetinse
                  last edited by Aug 10, 2021, 10:12 PM

                  @planetinse
                  Export it: Diagnostics > Backup & Restore > Backup & Restore
                  Modify it and re-import it again.

                  P 1 Reply Last reply Aug 11, 2021, 7:13 AM Reply Quote 3
                  • P
                    planetinse @viragomann
                    last edited by planetinse Aug 11, 2021, 7:24 AM Aug 11, 2021, 7:13 AM

                    @viragomann no this is lower level, only place where i can see OPT name (since i have renamed them in Web-interface) is in the CLI

                    EDIT - however i see it in backup file - LET ME TRY :)

                    EDIT2 - IT WORKED !! - thank you @viragomann !!

                    1 Reply Last reply Reply Quote 1
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Aug 11, 2021, 4:47 PM

                      Nice result!

                      N 1 Reply Last reply Aug 11, 2021, 6:46 PM Reply Quote 0
                      • N
                        noplan @stephenw10
                        last edited by Aug 11, 2021, 6:46 PM

                        hehe worked here tooooooo

                        no more OPT13 ....

                        greets from the alps @viragomann !

                        V 1 Reply Last reply Aug 11, 2021, 10:00 PM Reply Quote 0
                        • V
                          viragomann @noplan
                          last edited by Aug 11, 2021, 10:00 PM

                          @noplan said in Rename network interface?:

                          OPT13 ....

                          I suspect you deleted and recreated interfaces quite often.
                          😀

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