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

    It's will re-setup all network when I change network card.

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 4 Posters 629 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.
    • A
      akong77
      last edited by

      Hello,
      When I change network card.The pfsense will re-setup all network card.Could only setup change network card?

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        you could choose to not use the wizard......by manually changing the config.xml

        1 Reply Last reply Reply Quote 0
        • A
          akong77
          last edited by

          Thanks a lot.
          Where the config.xml file?I have download config backup file.Is it file?

          1 Reply Last reply Reply Quote 0
          • A
            akong77
            last edited by

            If I want change network card.How to step if I wan't rebuild setup?

            1 Reply Last reply Reply Quote 0
            • GrimsonG
              Grimson Banned
              last edited by

              1. Make sure you have console access.
              2. Shutdown the device.
              3. Replace/Add the desired network card.
              4. Power the device on.
              5. Reassign the Interfaces on the console.
              6. Log into the WebUI, check for any errors and validate your config.
              1 Reply Last reply Reply Quote 0
              • A
                akong77
                last edited by stephenw10

                Because I have five network card. So I only change one network card it's will re-setup all network. It's no any solution to do it?

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

                  What card are you taking out? What are you replacing it with?

                  pfSense configures the network again interfaces detected by the OS at boot: em0 em1 igb0 re0 etc. The name given to it depends on the driver it uses and the order it is detected in.

                  If you had those 4 NICs above and you removed igb0 and replaced it with another igb card then you would likely not have to change anything. The new card would also be named igb0 and the config would match it.
                  If you replaced it with a different card, say a Broadcom card using the bge driver, then pfSense would stop part way through the boot and ask you to assign the interfaces because igb0 referenced in the config no longer exists. You would just assign the NICs at the console to the same interfaces and it will boot up with all the same settings as before.

                  It gets more complex if you replaced igb0 with another em card because that new card might be detected it a different order so that while you would not have em0 em1 and em3 the new card could potentially be any of them. You can still assign it at the console in the same way but if you find things don't work as expected after booting you might need to re-assign the cards in a new order or swap the physical network connections.

                  Steve

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