设置您的IP地址为标准路由模式
设置您的IP地址为标准路由模式(你不必自己设置本地连接的internet协议属性中的ip和dns设置,本批处理可以完全自动设置,保证你快速上网。)
@echo off
color 0a
echo 设置您的IP地址为标准路由模式
echo.
echo 请等待几秒钟......
echo.
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
netsh interface ip set address name="本地连接" source=static addr=192.168.1.2 mask=255.255.248.0
netsh interface ip set address name="本地连接" gateway=192.168.1.1 gwmetric=0
netsh interface ip set dns name="本地连接" source=static addr=202.101.224.68 register=PRIMARY
netsh interface ip add dns name="本地连接" addr=202.101.224.69
netsh interface ip set wins name="本地连接" source=static addr=none
echo 设置IP地址为标准路由模式完成!
echo. & pause
========
请广大板油不要随便运行,每个人的网络都是不同的。每个地区的DNS也不尽相同。仅当这是一个学习的模版