APIPA comes to static IP Virtual Machine after Rebooting

I was installing security updates which require rebooting the server, after the reboot i wasn’t able to connect to the server remotely, after connecting through the Hyper-V console i found that the machine got APIPA address in spite of having a static IP address.

After searching over the internet i found the solution, i will mention it here and share the source as well.

from the command prompt write:

  • netsh interface ipv4 show inter

Result will be:

1 50 4294967295 connected Loopback Pseudo-Interface 1
11 10 1500 connected Local Area Connection

 

11 keep this number in your mind.

Then run the following command:

  • netsh interface ipv4 set interface 11 dadtransmits=0 store=persistent
  • Then go to services:

Disable  DHCP Client service.

  • Restart the Machine.

Resources:

http://lyngtinh.blogspot.com/2011/12/how-to-disable-autoconfiguration-ipv4.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: