91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

批處理修改Windows 系統IP地址

發布時間:2020-06-24 15:35:05 來源:網絡 閱讀:784 作者:Boscochen 欄目:系統運維

復制以下腳本到文本文件,并另存為bat文件

將網卡名稱設置為本地鏈接,右鍵管理員權限運行即可。

@echo off
rem //Set Environment Variable
set NAME="本地鏈接"
rem //Pleasae enter your IP address as what you want to setup
set ADDR=192.168.18.249
set MASK=255.255.255.0
set GATEWAY=192.168.18.1
set DNS1=202.96.128.166
set DNS2=202.96.134.133

echo Please choose an option as you want to setup
echo 1 Setup Static IP address For this PC
echo 2 Setup Dynamic IP address For this PC
echo 3 Exit
echo Please choose and press Enter Key:
set /p operate=
if %operate%==1 goto 1
if %operate%==2 goto 2
if %operate%==3 goto 3

:1
echo Setting up static IP,Please wait...
rem //Please change following info as your environment!
echo IP Address = %ADDR%
echo Netmask = %MASK%
echo Gateway = %GATEWAY%
netsh interface ipv4 set address name=%NAME% source=static addr=%ADDR% mask=%MASK% gateway=%GATEWAY% gwmetric=0 >nul
echo Primary DNS = %DNS1%
netsh interface ipv4 set dns name=%NAME% source=static addr=%DNS1% register=PRIMARY >nul
echo Standby DNS = %DNS2%
netsh interface ipv4 add dns name=%NAME% addr=%DNS2% index=2 >nul
echo Static IP Setup successfully.
pause
goto 3

:2
echo Setting up Dynamic IP,Please wait.....
echo Obtaining IP Address from DHCP Server...
netsh interface ip set address "LAN" dhcp
echo Obtaining DNS Address from DHCP Server...
netsh interface ip set dns "LAN" dhcp
echo Dynamic IP Setup successfully.
pause
goto 3

:3
exit

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

柘城县| 大安市| 苍山县| 车险| 长汀县| 河源市| 仁化县| 墨脱县| 南充市| 黄平县| 炉霍县| 丹棱县| 丽水市| 梨树县| 同心县| 尉氏县| 德惠市| 昭觉县| 河南省| 成安县| 冕宁县| 西城区| 周口市| 同德县| 濉溪县| 普宁市| 治多县| 黑山县| 开封县| 措勤县| 临漳县| 林西县| 长乐市| 绥芬河市| 上思县| 金沙县| 新晃| 怀安县| 肃宁县| 右玉县| 隆德县|