I have successfully configured four IP addresses following the instructions outlined in the documentation here:
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/virtual-network-multiple-ip-addresses-portal
However, upon completing the step 'Add IP addresses to a VM operating system', I lost connection to the Virtual Machine entirely. As a result, I was unable to establish an RDP connection either from my local machine or through the Azure Portal. This issue raised some significant troubleshooting efforts on my part until I managed to revert the changes. (I was little worry)
Currently, the four IP addresses have been created, but we are only able to RDP into the machine using the primary IP, which has already been configured in the system. I have verified this by running the command 'ipconfig /all', which provided the following details:
Windows IP Configuration
Host Name . . . . . . . . . . . . : myHostName
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . :
Ethernet adapter Ethernet 6:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter #4
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : (Preferred)
IPv4 Address. . . . . . . . . . . : Azure Primary Private IP (Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Wednesday, November 1, 2023 8:18:29 AM
Lease Expires . . . . . . . . . . : Saturday, December 8, 2159 3:58:05 PM
Default Gateway . . . . . . . . . : My Default gateway
DHCP Server . . . . . . . . . . . : 168.63.129.16
DHCPv6 IAID . . . . . . . . . . . : 184558152
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2C-D1-80-62-60-45-BD-80-4D-25
DNS Servers . . . . . . . . . . . : 168.63.129.16
NetBIOS over Tcpip. . . . . . . . : Enabled
I am stuck as we need to configure multiple IPs for hosting multiple web apps in a single Azure VM
please, advise