Forum Discussion
DavidePanarese
Aug 31, 2022Copper Contributor
Azure Migrate - maintain the same IP of the source virtual machines
Hello everyone, i'm testing Azure Migrate features with my test Lab in VMware. I would maintain the same IP of the source virtual machines (of course i have the same address space in the target VNE...
pksony88
Jun 03, 2024Copper Contributor
When configuring the migration using Azure Migrate, you can indeed maintain the same IP address for your virtual machines (VMs) in Azure. Let’s explore how to achieve this:
Static IP Assignment:
- By default, Azure assigns dynamic IP addresses (using DHCP) to VMs during replication. However, you can configure static IP assignment to ensure that the VMs retain the same IP address after migration.
- Here’s how to set up static IP assignment during the migration process:
Steps:
Before Replication:
- In your VMware environment, ensure that each VM has a static IP address assigned.
- Note down the static IP addresses for each VM that you want to migrate.
During Replication Configuration:
- When configuring replication in Azure Migrate, you’ll reach a step where you map the source VMs to target VMs in Azure.
- For each VM, you’ll see an option to specify the NIC (Network Interface Card) settings. Here, you can choose to assign a static IP address.
- Select the option to assign a static IP address and provide the desired IP address for each VM.
After Migration:
- Once the VMs are successfully migrated to Azure, they will retain the specified static IP addresses.
- Azure will ensure that the IP address is reserved and assigned to the correct VM.
Considerations:
- Make sure that the target virtual network (VNET) in Azure has the same address space as your on-premises network.
- Verify that the static IP addresses you choose are within the subnet range of the target VNET.
In summary, during the replication configuration, you can explicitly set static IP addresses for your VMs in Azure. This way, your VMs will maintain the same IP addresses even after migration. If you encounter any issues during the process, feel free to ask for further assistance! 😊
"If my answer was helpful, please mark it as 'Accepted' to assist others."