Page 1 of 1

Hyper-v failover, eth0 is now missing

Posted: 29 Jul 2016 11:31
by dreniarb
Had a hyper-v host die on me. I did a failover on another host and EFA is running but there is no eth0, just lo. I removed the network adapter and added a legacy network adapter but it has not made a difference.

The other VMs that I had to failover came up just fine, but they're Windows machines. I'm not quite sure what to do at this point to with EFA though.

Any suggestions?
efanoeth0.png
efanoeth0.png (49.45 KiB) Viewed 4333 times

Re: Hyper-v failover, eth0 is now missing

Posted: 30 Jul 2016 15:22
by abeggled
Delete /etc/udev/rules.d/70-persistent-net an reboot your machine.
Edit ifcfg-eth0 using a plain text editor and update the MAC address to reflect the new MAC-Address.
To avoid this for furture, set your MAC static in Hyper-V VM-Config.

Re: Hyper-v failover, eth0 is now missing

Posted: 30 Jul 2016 20:17
by dreniarb
thanks.

good suggestion on the static mac address. much appreciated.

Re: Hyper-v failover, eth0 is now missing

Posted: 04 Aug 2016 07:56
by pdwalker
This is a problem that can happen with other hypervisors, and the solution is the same.