Restore pfS config.xml to new h/w
-
My current interfaces look like this:
igb0 - WAN
igb1 - LAN1
igb2 - LAN2
igb3 - LAN3The new box labels like:
ETH0
ETH1
ETH2
ETH3When restoring my config.xml do I need to do anything to map new interfaces?
TIA
-
@chudak I usually just do a find/replace on the config.xml file.
-
@KOM said in Restore pfS config.xml to new h/w:
@chudak I usually just do a find/replace on the config.xml file.
Good idea!
What about device ID? Is it h/w dependent ?
-
@chudak No idea. I've used this method successfully several times in the past. The only Gotcha! I had to worry about was a certificate in the config file just happened to include the characters used to describe my interfaces, so don't just blindly replace. Check every one. There are only a few edits depending on how many interfaces you have,.
-
@chudak said in Restore pfS config.xml to new h/w:
What about device ID? Is it h/w dependent ?
The NDI is hardware dependent, yes, mostly the NICs. If you add NICs to an existing system the NDI will change. And a new system will also have a new NDI.
You would have to contact support to check if you can transfer the license to new hardware.
-
You do not need to edit the XML.
During the import the system/GUI will ask what you want to map to, and it will prompt you with the adapters it can see. -
If the new box also uses igb NICs it will just import and reboot without needing (or asking for) any changes. But the resulting order may not be same so be be aware.
-
@chudak said in Restore pfS config.xml to new h/w:
When restoring my config.xml do I need to do anything to map new interfaces?
Easiest method I have found is:
- Install pfsense with minimal Ethernet connections plugged in
- assign at least the Lan so you can access the GUI
- look at the interface naming internally to ascertain how it relates to the external labelling
- decide how you want to map your old interfaces to your new box
- import your old configuration and reassign the interfaces as you want them.
- save your new configuration
-
@Patch said in Restore pfS config.xml to new h/w:
@chudak said in Restore pfS config.xml to new h/w:
When restoring my config.xml do I need to do anything to map new interfaces?
Easiest method I have found is:
- Install pfsense with minimal Ethernet connections plugged in
- assign at least the Lan so you can access the GUI
- look at the interface naming internally to ascertain how it relates to the external labelling
- decide how you want to map your old interfaces to your new box
- import your old configuration and reassign the interfaces as you want them.
- save your new configuration
Thx!
And what did you do about the netgate device ID?
-
Netgate license is tied to the hardware.
- For Netgate hardware with hardware lifetime software updates included, that makes perfect sense to me.
- For third party hardware with a yearly subscription I’m not convinced it’s optimal.
Either way changing Netgate licensing is beyond me