Restore to SG-1100 is impossible
-
Hi
PfSense asks for interface settings after restore. Preserve switch config was selected. Version 2.4.4 (3). I console i can only choose mvnet0. All the rest interfaces are gone.
-
You try to restore some SG-1100 backup or moving from other hardware to SG-1100 ?
-Rico
-
Hi
Yes. Strange is that it loads the config OK, but after restart it's gone.
-
Yes? I asked two questions.
Can you post the<switches>
and<interfaces>
section here?-Rico
-
Switches config is default, old interface config:
<interfaces>
<wan>
<enable/>
<if>re0</if>
<blockbogons/>
<descr><![CDATA[WAN]]></descr>
<alias-address/>
<alias-subnet>32</alias-subnet>
<spoofmac/>
<ipaddr>123.123.123.123</ipaddr>
<subnet>29</subnet>
<gateway>WANGW</gateway>
<blockpriv/>
</wan>
<lan>
<enable/>
<if>re1</if>
<descr><![CDATA[LAN]]></descr>
<spoofmac/>
<ipaddr>10.0.0.1</ipaddr>
<subnet>24</subnet>
</lan>
</interfaces> -
Still not sure what exactly you are doing there. re0 is no SG-1100 interface.
If you restore a random config.xml into the SG-1100 sure it blow away the SG-1100 switch config.
You need to manually edit the config.xml to match the SG-1100 structure.-Rico
-
Will walk you through the process.
- Backup old router
- Restore from backup.
- Interface mismatch, will select correct sg1100 interfaces.
- Save
- Everything is working, interfaces are loaded correctly.
- Reboot
- Get prompted to set vlans. All interface settings are gone.
-
I am pretty sure I've seen Netgate post to contact support and they will assist with editing the configuration to work on the SG-1100.
-
@teamits said in Restore to SG-1100 is impossible:
I am pretty sure I've seen Netgate post to contact support and they will assist with editing the configuration to work on the SG-1100.
Support is not the case, there is a flaw somewhere in the restore mechanics, that needs to be addressed. Replacing interface names is a walk in the park.
-
The restore function was designed to save settings for an identical (or the same) device.
Like : backup an SG 1100 - the device has a hardware issue, get a new one => import the backup. Done.True : the import / export can be used across different devices. At least NICs have to be re assigned during first boot using the console access - command line.
Auto assigning is not possible. How would you know on the first boot what is WAN , LAN ? DMZ ? etc.
This would introduce a huge security issue.Very comparable to : back up the registry from one PC, and restore it on another => Windows will be very dead - some editing will be needed (probably not a walk in park this one).
@matu37 said in Restore to SG-1100 is impossible:
there is a flaw somewhere in the restore mechanics
Can you detail ?
-
I will explain again.
After uploading the config.xml the system prompts to select interfaces to remap, in this case, re0 ->mvnet.0.4090(can be misspelled) and re1 ->mvnet.0.4091 and then save. Then the system remaps the interfaces correctly. All is exactly like it has to be. After reboot prompts for interface configuration(console).
-
@matu37 said in Restore to SG-1100 is impossible:
All is exactly like it has to be
Good, we all agree. Everything goes as planned.
@matu37 said in Restore to SG-1100 is impossible:
After reboot prompts for interface configuration(console).
This happens after the reboot - after you assigned the interfaces etc ?
-
If i reboot manually. After restore it does not automatically reboot.