本文共 675 字,大约阅读时间需要 2 分钟。
打开运行cmd
C:\>netsh
netsh>interface
netsh interface>ip netsh interface ip>show address接口 "VMware Network Adapter VMnet8" 的配置
DHCP 启用 否 IP 地址 192.168.18.1 子网掩码 255.255.255.0 InterfaceMetric 0接口 "VMware Network Adapter VMnet1" 的配置
DHCP 启用 否 IP 地址 192.168.93.1 子网掩码 255.255.255.0 InterfaceMetric 0接口 "本地连接 2" 的配置
DHCP 启用 是 InterfaceMetric 0netsh interface ip>
注:这样就可以看到这个计算机是dhcp上网的。接口是 "本地连接 2" ,如果你想改动ip可以如下操作
set address name="本地连接 3" souce=static addr=10.48.10.120 mask=255.255.255.0
set address name="本地连接 3" gateway=10.48.10.1 gwmetric=1 set dns name="本地连接 3" source=static addr=202.96.209.5 register=PRIMARY本文转自 sswqzx 51CTO博客,原文链接:http://blog.51cto.com/sswqzx/1082829
转载地址:http://yyuml.baihongyu.com/