Share via

Migrated Ubuntu 20.04 form on-prem, unable to connect via network

Jeremy Braband 1 Reputation point
2021-03-29T04:32:00.57+00:00

I just did a test migration of an Ubuntu 20.04 virtual machine from our on-prem data center to Azure.

The created virtual machine is not accessible on the network at all. Similar Ubuntu VMs (20.04) that I have migrated also have the same problem. When I migrated an Ubuntu 18.04 VM, the networking was accessible without intervention. 100% normal operation.

I have a VPN gateway set up to the VM's virtual network and can successfully ping/RDP to other windows/ubuntu 18.04 VMs that I have migrated.

I am suspecting that NICs or the Hyper-V Linux Integration Services were not properly installed during the migration as outlined here: https://learn.microsoft.com/en-us/azure/migrate/prepare-for-migration

Please let me know what other information would be helpful in troubleshooting this issue.

Thanks!

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

Azure Migrate
Azure Migrate

A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.

{count} votes

1 answer

Sort by: Most helpful
  1. Brandon Fox 21 Reputation points
    2021-07-01T08:44:37.513+00:00

    Hey, I had an issue with a migrated Ubuntu box using Resource mover. The final solution was to update netplan (was on an old and outdated version). Then use the dhclient command to force the NIC to get a new IP address. Anyway, I highly recommend checking your netplan version, and if it's anything older than .9, it's too old and needs to be updated.

    I believe it was dhclient -r for release
    then netplan apply

    Hopefully this helps.

    EDIT: I had to use serial console to make these changes, as the box was totally offline. Thanks goodness for that!

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.