1

This is probably a stupid question but I am going to ask anyway.

I have a VM running on Azure. I go into network connections and change the IP and gateway and I loose connection.

What options do I have to undo this change, is there any way to reconnect to an Azure VM?

4 Answers 4

2

bad news for you there: you can not change the address on the "Physical NIC", you need to do it either in the Ibiza portal and change it there, upon configuration during creation, to a static IP. This will create a reserved lease on the Azure DHCP scope for you.

If you change it in the VM itself then you're lost and you will not be abe to reconnect the VM anymor. in tha case --> recreating the VM is the only option sorry!!

3
  • Thanks that is what I thought. What do you mean by the Ibiza portal? Mar 4, 2015 at 11:16
  • Ibiza is the new portal (so at portal.azure.com) ... now there's another solution thouhg and that is : download the vm, mount it in Hyper-V, fix it and then re-upload it .... but that takes a lot of time and a little bandwidth Mar 4, 2015 at 11:52
  • another thing you could try is to image, generalize and redeploy the VM through that image Mar 4, 2015 at 11:58
0

I was able to fix this by changing the IP address settings to a static IP. Then de-allocating and starting the VM again. This was done in the Azure RM portal, haven't tested in Classic.

Open your VM in the portal > Network Interfaces > Select your Nic > IP configurations > ipconfig1 (or whatever you called it) > changed to static and assigned an address not currently in use.

-1

on new azure portal, Redeploy the VM. it will keep all data, but net configuration will reset.

1
  • This should be marked as the correct answer. Using Azure's "Redeploy" feature is what solves this issue.
    – blizz
    Mar 18, 2019 at 23:21
-1

I sadly did the same and after panicing like mad and scratching my hair out I found that going into Virtual Machines -> -> Networking Interfaces -> -> IP Configuration -> ipconfigx (where x is the config number(default is 1)) -> and set to static -> Click on SAVE at the top

The VM will reboot and you should hopefully be able to reconnect again.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .