溫馨提示×

溫馨提示×

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

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

怎么在windows系統(tǒng)中動態(tài)修改ip

發(fā)布時間:2021-03-15 16:37:54 來源:億速云 閱讀:215 作者:Leah 欄目:系統(tǒng)運維

怎么在windows系統(tǒng)中動態(tài)修改ip?針對這個問題,這篇文章詳細介紹了相對應的分析和解答,希望可以幫助更多想解決這個問題的小伙伴找到更簡單易行的方法。

echo 設置ip 默認子網(wǎng) 默認網(wǎng)關 開始(無線網(wǎng)絡連接:就是網(wǎng)絡連接名稱,也可以是‘本地連接’ )

netsh interface ip set address "無線網(wǎng)絡連接" static 192.168.137.111 255.255.255.0 192.168.137.1

echo 設置ip 默認子網(wǎng) 默認網(wǎng)關 結束

echo 設置主dns ip 開始

netsh interface ip set dns "本地連接" static 192.168.4.4

echo 設置主dns ip 結束

echo 設置副dns ip 開始

netsh interface ip add dns "本地連接" 192.168.5.5

echo 設置副dns ip 結束

echo 先禁用網(wǎng)卡

netsh interface set interface "本地連接" disable

echo 使用reg add命令修改物理地址(D4BED9989936 mac地址)

reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0011 /v NetworkAddress /d D4BED9989936 /f

echo 再啟用網(wǎng)卡

netsh interface set interface "本地連接" enable

pause

關于怎么在windows系統(tǒng)中動態(tài)修改ip問題的解答就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,如果你還有很多疑惑沒有解開,可以關注億速云行業(yè)資訊頻道了解更多相關知識。

向AI問一下細節(jié)

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

AI