question

ShayCohenSignalSignSystemsLtd-1474 avatar image
0 Votes"
ShayCohenSignalSignSystemsLtd-1474 asked $$ANON_USER$$ answered

Can't connect to VM public IP after some interface changes.

Hello there !
I have a Windows VM, and I tried to do a very small action that cause a network issue.

These are my actions by order :
1. I add TcpAckFrequency=1 to all the interfaces on : HKLM/system/currentcontrolset/services/tcpip/parameters/interfaces
2. ran this interface reset script :

 netsh winsock reset
      netsh int ip reset
      netsh advfirewall reset
    ipconfig / flushdns
     ipconfig / release
     ipconfig / renew


After that, I couldn't connect my VM with my public ip through RDP.
So, I tried those :

  1. Tried to enable the interface with the VM serial console, but, the interface was already enabled, and I could also ping to the internet (8.8.8.8)

  2. Tried to change to private ip, but unfortunately that didn't solve the issue, still, no connection.

Thank you very much !



azure-virtual-machines-networking
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@97a9dc00-dff7-4ec2-9f06-8d3bca775b5d

Any update on the issue?

Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BuddhadevChowdhury-2073 avatar image
0 Votes"
BuddhadevChowdhury-2073 answered

Could you let me know if the vm is reachable by using private IP from same VNET ?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

mrousan1 avatar image
0 Votes"
mrousan1 answered


Hi,

I suggest to add a new NIC to the vm with new public ip and once you login start your troubleshooting

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

OleksiiMakovii-2159 avatar image
0 Votes"
OleksiiMakovii-2159 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ManishJ avatar image
0 Votes"
ManishJ answered

Hi Can you connect to SAC and check if Default gateway ( DG) is set correctly, have seen issue when DG get set as 0.0.0.0

Connnect to SAC , press "i " and then check

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

$$ANON_USER$$ avatar image
0 Votes"
$$ANON_USER$$ answered

I had a similar issue that a customer changed the private IP address after login in to the vm.
What i did was to:

  1. Stop and deallocate the vm

  2. Go to networking and click on "Attached interface"

  3. You may need to create a new interface.

  4. You can now delete the old NIC, if you want

  5. You can then assign a new IP or use the existig public ip

I used these methods to resolved the issue.

Let me know if these method helped.






5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.