CIDR block

suraj singh 0 Reputation points
2024-03-15T07:39:36.3533333+00:00

Can any random VM be in same CIDR block. If yes. Then, can be change the exchange 2 VM with different IP address form one CIDR to other CIDR

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,311 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Luis Arias 6,061 Reputation points
    2024-03-15T08:27:52.54+00:00

    Hi suraj singh,

    Yes, in Azure, VMs can be in the same CIDR block and You can’t directly change a VM’s subnet, but you can change the subnet of the Network Interface Card (NIC) it’s connected to. This will restart the VM. Be careful not to overlap your network ranges.

    The operation at CIDR and subnet beloggings are managed by the NIC of Virtual machine so any changes required will required an action over this Azure resource.

    Additional references:

    If the information helped address your question, please Accept the answer.

    Luis

    0 comments No comments