Duggired
Duggired

Reputation: 61

Can multiple VM's use a single NIC in azure?

I am new to azure cloud ,some can help me to understand the VM--NIC assignment, the Multiple VM's can use single NIC in azure ??

Upvotes: 6

Views: 2898

Answers (3)

itsavy
itsavy

Reputation: 410

No

refer the constraints while creating NIC in Azure

Constraints A VM must have at least one network interface attached to it.

A VM can only have as many network interfaces attached to it as the VM size supports. To learn more about how many network interfaces each VM size supports, see Sizes for virtual machines in Azure. All sizes support at least two network interfaces.

The network interfaces you add to a VM can't currently be attached to another VM.

Upvotes: 2

karan Singh
karan Singh

Reputation: 35

The answer is YES! Definitely, multiple VMs can use a single Network Interface Card---- BUT ONLY ONE VM AT A TIME. Azure allows you to create a NIC as a separate entity. So, at one time, it can be attached to only one VM. But you can, at any time as per your business requirement, detach and assign it to any other VM.

Upvotes: 0

Michael B
Michael B

Reputation: 12228

In the new Resource Group model, you can create a NIC as an atomic, region based, entity. You can then assign and unassign that Nic to a VM at will. So if you want to retain the MAC address of a specific Nic across a number of VMs that is possible. However you can only use a Nic in one VM at a time.

Upvotes: 3

Related Questions