How to disable Autoconfiguration IPv4 Address (for WinSrv 2008)

简介:

Sometime you setup windows server 2008 to vmware using LAN or wifi, you chose Bridge mode to share internet connections between host and virtual machine may be cause of issues with internet connection at virtual machine. They can not connect to the internet or appear a message likes "conflict IP address"

Enter: Run > cmd > ipconfig /all

You may see the following issues:



or:

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) 82567LM-3 Gigabit Network Connection
Physical Address. . . . . . . . . : 00-23-24-08-30-57
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::8508:6cb9:5112:f8c9 (Preferred)
Autoconfiguration IPv4 Address. . : 169.254.248.201(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0

IPv4 Address. . . . . . . . . . . : 192.168.1.136(Duplicate)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled 

To fix it, enter these from Command Prompt:

C:\Users\lyngtinh> netsh interface ipv4 show inter


result as:

Idx Met MTU State Name
--- ---------- ---------- ------------ ---------------------------
1 50 4294967295 connected Loopback Pseudo-Interface 1
11 10 1500 connected Local Area Connection 

11: <=Keep it in mind

Next run this command:

C:\Users\lyngtinh>netsh interface ipv4 set interface 11 dadtransmits=0 store=persistent


Next, enter
Run > services.msc > stop DHCP Client service

Final, restart your server.

本文转自学海无涯博客51CTO博客,原文链接http://blog.51cto.com/549687/1790339如需转载请自行联系原作者


520feng2007

相关文章
|
3月前
DHCP "No subnet declaration for xxx (no IPv4 addresses)" 报错
DHCP "No subnet declaration for xxx (no IPv4 addresses)" 报错
|
6月前
|
网络架构 开发者
|
6月前
|
网络协议 NoSQL Redis
解决 Error starting userland proxy: listen tcp 0.0.0.0:6379: bind: address already in use
解决 Error starting userland proxy: listen tcp 0.0.0.0:6379: bind: address already in use
329 0
|
网络协议 C# 数据库
Convert IPv6 Address to IP numbers (C#)
URL: http://lite.ip2location.com/ Use the code below to convert the IP address of your web visitors and lookup for their geographical location, e.
1462 0
|
JavaScript 前端开发
|
网络协议
|
网络协议