Hello,
I have a custom A4 Linux based instance with multiple NICs. All of the secondary interfaces are configured using the following lines:
PS C:\> Add-AzureNetworkInterfaceConfig -Name "Eth1" -SubnetName "Subnet-1" -StaticVNetIPAddress "10.1.2.106" -VM $newVM
PS C:\> Add-AzureNetworkInterfaceConfig -Name "Eth2" -SubnetName "Subnet-2" -StaticVNetIPAddress "10.1.3.106" -VM $newVM
The instance comes up with the interfaces, but the IP addresses are not configured on it and one has to physically log in to the machine and then assign the IP addresses to the secondary interfaces, restart networking and then everything works.
Can anyone provide some insight into this?
Thanks.