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

    migrating hardware

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 5 Posters 893 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.
    • georgelzaG
      georgelza
      last edited by

      Hi all.
      So I have a new Topton unit on the way.
      as my MAC addresses would change... and potentially port names also (not sure).

      Could I build the new unit. then have a look what the port names and MAC's are. come and do a search/replace in my xml backup replacing old with new... and then import the xml. thus making changes as required in backup to then match my new topton.

      <would be nice if the restore backup noticed the missing names and then offered a option to assign the interface to a new port, basically realising you doing a restore/migration>.

      G

      P JKnottJ 2 Replies Last reply Reply Quote 0
      • P
        Popolou @georgelza
        last edited by

        @georgelza It does just that. When you load the backup (either full or partial for just the interfaces), the UI will detect the swap and ask you to remap the interfaces. Just make sure you have at least the same number of interfaces on the new device as the old. You mentioned MACs, any specific configuration elsewhere that relies on the MACs will need to be reconfigured post-change however.

        stephenw10S 1 Reply Last reply Reply Quote 1
        • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
        • stephenw10S
          stephenw10 Netgate Administrator @Popolou
          last edited by

          @Popolou said in migrating hardware:

          It does just that.

          Yup. It's actually more of a problem when the devices have NICs using the same names because then it just uses them and the ordering may not be the same.

          But, yes, you can just edit the config and swap out the interface names directly. That can be easier if you have subinterfaces like vlans or laggs.
          However be sure to check each instance if you just use find/replace as there can be unexpected instances in the cert strings for example.

          Steve

          bingo600B georgelzaG 2 Replies Last reply Reply Quote 1
          • bingo600B
            bingo600 @stephenw10
            last edited by

            stephenw10 said in migrating hardware:

            there can be unexpected instances in the cert strings for example.

            I had excactly the above ...
            Luckily i did a "pure find" , and looked at each match before "blindly" doing a search/replace all

            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

            pfSense+ 23.05.1 (ZFS)

            QOTOM-Q355G4 Quad Lan.
            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

            1 Reply Last reply Reply Quote 1
            • georgelzaG
              georgelza @stephenw10
              last edited by

              @stephenw10 I have my default network which is just call LAN 172.16.10.0/24 and then have 2 vlans,
              #1 vlan20 172.16.20.0/24 and #2 vlan100 172.16.100.0/24
              all are on overlaid onto igb1
              igb0 is used for WAN.

              G

              bingo600B 1 Reply Last reply Reply Quote 0
              • bingo600B
                bingo600 @georgelza
                last edited by bingo600

                @georgelza

                If you want to avoid WAN MAC address change (issues)

                Just enter the MAC address of your current WAN IF in the MAC Address field on the WAN interface , like i have below ...
                7676ef26-7f06-40f7-9e21-c19234c0b67f-image.png
                That MAC will take precedence, when restoring the config.

                I have an ISP Assigned fixed-ip , that's based on my WAN MAC , and now pemanently have that MAC entered on the WAN IF.
                This will override the "real mac address" on a config restore, and always use the one you entered.

                AKA you can switch box , restore the config , and keep (spoof) the WAN MAC , and possibly have same IP.

                You can find the WAN MAC on the Status --> Interfaces page
                4bfbe899-1ef3-4621-98aa-7e1df2dc2e38-image.png

                /Bingo

                If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                pfSense+ 23.05.1 (ZFS)

                QOTOM-Q355G4 Quad Lan.
                CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  If, for example, your new system uses igc NICs it would be easier to edit the config directly because the vlan interfaces will be igb1.20 and igb1.100. You would need to carefully recreate those in the GUI before applying any config change otherwise.

                  Steve

                  georgelzaG 1 Reply Last reply Reply Quote 0
                  • georgelzaG
                    georgelza @stephenw10
                    last edited by

                    @stephenw10 i was thinking of doing a minimal config on the new unit, create base same LAN and vlans. then doing a xml backup... use this to confirm the physical interface names mapped to LAN and VLAN's and then transpose those into my old backup file, before restoring it onto the new device.

                    G

                    1 Reply Last reply Reply Quote 0
                    • JKnottJ
                      JKnott @georgelza
                      last edited by

                      @georgelza

                      It's a simple matter to config the interfaces in the new system. When I installed pfSense on my current computer, I just used the existing config file and then configured the interfaces as needed. Very easy.

                      PfSense running on Qotom mini PC
                      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                      UniFi AC-Lite access point

                      I haven't lost my mind. It's around here...somewhere...

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        You'll also be able to see the interface names at the console or by running ifconfig at the command line.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.