以下是自动获取的代码,存为.bat格式即可
netsh interface ip set address name="本地连接" source=dhcp
ipconfig /flushdns
以下是手动指定ip的代码
netsh interface ip delete dns "本地连接" addr=all
netsh i练怎况行北nterface ip 阻满add dns "本地连速油接" addr=202.102.3.141
netsh interface ip add dns "本地连接" addr=202.102.3.144
netsh interface ip add address 算四复宁争育验操"本地连接" 10.0.1.2王草妈浓达众容故阻0 255.255.0.0
netsh interface ip add address "本地连接" gateway=10.0.1.1 gwmetric=2
ipconfig /flu破毫古层其shdns
上面应该看得懂的八
dns和ip和网关 别填错了
文章来源:
亚星管理平台
版权声明:凡本站注明内容来源:“太平洋在线”的所有作品,版权均属于“太平洋在线”,转载请必须注明中“太平洋在线”。违反者本网将追究相关法律责任。