Disabling Autoconfiguration IPv4 Address

How to disable Autoconfiguration IPv4 Address

Sometime when you setup your server to virtual machine using LAN or wifi, you chose Bridge mode to share internet connections between host and virtual machine. And when you assign static IPs to your virtual machines, you may encounter ipconflict or duplicate ips errors. When you run ipconfig/all from command prompt, you will see there are two IPv4 address showing. One is autoconfiguration IPv4 address and the other one will be your static IPv4 address. So we need to turn off the autoconfiguration IPv4 feature in order to have our static IP working. Please follow the steps below to turn off it. (The steps are to be done in virtual machines.)

Open the command prompt.

1. netsh interface ipv4 show inter

The network interfaces in your virtual machine will be shown. Note down your Local Area Connection ‘Idx’ number.

2. netsh interface ipv4 set interface YOUR LAN Idx NUMBER dadtransmits=0 store=persistent

3. Open services.msc and disable DHCP Clients service.

4. Restart your virtual machine.

(Reference: http://lyngtinh.blogspot.sg/2011/12/how-to-disable-autoconfiguration-ipv4.html)

Advertisements

Leave a comment

Filed under Networking

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