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.