Windows Azure Virtual Machine Azure VM supports multi-NIC capabilities

Source: Internet
Author: User

Windows Azure Platform Family of articles Catalog

Windows Azure VMS, by default, are a network card with 2 IP addresses. In many cases, we need azure to support more than one network card, here is a brief introduction of the author.

Suppose we create a virtual network, 3 subnet subnets, divided into named Frondend, Midtier and backend, with different CIDR addresses. Such as:

  

Then we can create an azure VM with three network cards, each with a different subnet. Such as:

  

In particular, there are limitations to creating an azure VM with multiple NICs:

(1) You must create an Azure virtual network before you can use the multi-NIC feature

(2) Multiple NIC VMs can only be created in standard type Azure VMS, and the basic type of Azure VM is not supported for multiple NICs.

(3) You must specify multiple NICs when creating an azure VM through PowerShell. Azure VMs that have been created do not support adding multiple NICs

(4) The default NIC for Azure VMS is internet-facing. Other network adapters created do not support load balancer sets.

(5) The number of network cards that Azure VMs can support is related to VM size virtual machine configuration sizes

Virtual machine configuration Number of supported NICs
A3 and A6 2
A4 and A7 4
A9 2
D3 2
D4 4
D13 4

  

Next we'll demo.

1. Run Azure PowerShell with administrator status

2. Create a virtual network Vnetdemo, set 3 Subnet, named Front-subnet, Middle-subnet, end-subnet. Corresponds to a different CIDR address.

3. Set up your subscription and storage account

' [Subscriptioname] ' ' [Storageaccountname] '

4. Set the current subscription

' [Subscriptionname] ' -current

5. Get the virtual machine image

$image =getwhere"*windows-server-2012-r2*"where" *en.us* "}

6. Set user name, password

$adminusername ="azureuser"$adminpassword="[YourPassword] "

7. Set subnet and network card address

Note: The IP address of the network card must correspond to the subnet address of the virtual network.

$Subnet 1name="front-subnet"$Subnet 2Name="middle-subnet"$Subnet 3Name="end-subnet"$NIC 1IP="10.11.0.20"$NIC 2IP="10.12.0.20"$NIC 3IP="10.13.0.20"

8. Create a virtual machine

$VM = New-azurevmconfig-name"MultiNicVM001"-instancesize"Extralarge"-image $image [$image. count-1]. Imagenameadd-AZUREPROVISIONINGCONFIG–VM $VM-windows-adminusername $adminusername-Password $adminpassword # Set the default network card address set-azuresubnet-subnetnames $Subnet 1Name-VM $vmSet-azurestaticvnetip-ipaddress $NIC 1IP-VM $VM # Add first nic add-azurenetworkinterfaceconfig-name"NIC2"-subnetname $Subnet 2name-staticvnetipaddress $NIC 2IP-VM $VM # Add second net card add-azurenetworkinterfaceconfig-name"NIC3"-subnetname $Subnet 3name-staticvnetipaddress $NIC 3IP-VM $VM # Create virtual machine new-azurevm-servicename"Multivmpool"-vnetname"Vnetdemo"-VM $VM-location' North'

  

Note: The A4 VM used by this author supports up to 4 net cards. The number of network cards that Azure VMs can support is related to VM size virtual machine configuration sizes

Reference: Http://azure.microsoft.com/blog/2014/10/30/multiple-vm-nics-and-network-virtual-appliances-in-azure/

Windows Azure Virtual Machine Azure VM supports multi-NIC capabilities

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.