[SOLVED] Restore config to new device but Interfaces have diff names

Started by iammike, July 23, 2023, 06:37:52 AM

Previous topic - Next topic
I have ordered (and received) a new router (faster and bigger disk) for my opsense setup.

But after installing Opnsense I have noticed the following

On my old router the network interfaces are called IGB0, IGB1 etc etc
but
on my new router they are called IGC0, IGC1 etc etc

So I want to restore the Config from my OLD router to my new router is it as simple as changing in these sections (in the config)?


<lan>
      <if>igb0</if>
<wan>
      <if>igb1</if>


igb -> igc or will that not work?

Thx for any advice.

To answer my own question.

Yes it works.

What I did was:

1- Installed Opnsense on the new device
2- Changed the Interfaces via the Shell
3- Walked through the Wizard
4- Updated the Device from 23.1 -> 23.1.11
5- Rebooted
6- Imported the Config file

Changes in the config file were changing IGB->IGC

And everything seems to be working oke