This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Restore, NIC issues

Hi,

I run in to this problem: After having some hardware issues I restore a backup off my V9 installation on a new machine, it's similar but it has a one different network card.

After a clean install, before restoring the backup, everything is fine, I can accesss the webadmin on the primary onboard nic. After the backup the network cards seem to have been messed up:

1) what was once the WAN side NIC has become my LAN nic, I am able to access the box on this interface.
2) the old LAN nic is down, no matter what I plug in to it, the state in the webadmin remains down.
3) when logging on the the console I (with my limited knowledge of linux) am able to run ifconfig, it only shows eth1, eth0 is not there!
4)mii-diag eth0 gives me "SIOCGMIIPHY on eth0 failed: invallid argument"

so, I'm left with a restored backup that I just can not use... Which in effect is just a good as having no backup at all... I'll have to start rebuilding the entire thing from scratch.

Suggestion: Wouldn't it be nice it the restore backup procedure had some more steps where I could choose what to restore, or atleast how to map the interfaces...


This thread was automatically locked due to age.
  • Hi, 
    Can you see the down interface in web admin?
    If so, you should be able to re-create or re-enable it.

    What is the UTM version # on the new machine? 9.106?

    Barry
  • The problem here probably comes from the backup file being aware of the MAC Addresses of the NICs from your original machine.  I hypothesize that when it saw MAC addresses it didn't recognize, it randomly assigned them new interface names (eg 'eth0'), leading to the shuffled interface problem that you're experiencing.

    In my opinion it is not safe to restore a backup file from one software appliance or virtual appliance to a different appliance running on different hardware due to MAC address problems and potential driver issues.

    I have run into a similar problem trying to restore a backup from an ASG120 to a software appliance and was not able to recover the configuration, I had to completely re-image my software appliance and start from scratch.
  • You can re-order the interfaces via the network.rules file inder the /etc/udev directory... search the forums, I have a post on here somewhere regarding how to do that.
  • You can give it a try editing udev_rules and "mix" up your NICs there.
    Do you remember the old Symbolic names of your external and internal NICs in UTM?
    If so, then after a fresh install note down the devices and their symbolic names an try to overwrite the "new" external and internal sym-names with the old one.

    e.g. rewrite "eth0" to "eth1" and vice versa.

    _Maybe_ this _could_ help but it is unfortunately not sure.
  • Thanks for the comments:

    @ BarryG: UTM version is  I see the down interface, enabling it won't do a thing... recreating it, means first deleting it. Doing that will cause issues with all the places this interface is used in (FW rules, DCHP service, etc).

    @ jeff.welling: I was thinking along the same lines, but this makes backups half useless! If restore can only be done on exactly the same hardware then you only have backups agains misconfiguration, not against harware failure... if my motherboard, or NIC's fail, of even if my PSU fails and I need to quickly reinstall on a spare machine.. I'm f*cked..

    @BrucekConvergent, @Chris69: thanks for the tip, I'm afraid I couldn't wait for it so I already reinstalled... next time... I hope Sophos has a solution [;)]