I have installed and configured VyOS as a VM on my Hyper-V host. It had configured firewall rules and Nat rules on 2 ethernet interfaces eth0 and eth1.
I have made a live migration of this VM between hosts, and now after rebooting this VM i lost configuration for my ethernet interfaces.
Command show interfaces now results with eth2 and eth3 interfaces without any configurations there.
How to “repair” this, and how to prevent this occure in future when moving running VyOS machine between host in a pool.
In HyperV, set the NIC to static MAC address (use old MAC address, or current hw-id if you already changed that).
This way, on next live-migrate, NICs will keep their addresses , and VyOS will not notice being migrated.
I am having the same issue, but the only difference is I am trying to migrate .ova vm on vmware from one host to another, when i start the migrated VM, it seems trying to load the configuration, but all configurations are failing. I tried to change MAC on esxi host same as it was in configuration file of VM. Still no luck