
我正在設定一個基本的 IPv6 網絡,當我配置一個客戶端時,我觀察到,一段時間後,當啟用“路由器發現”時,作業系統會啟用“託管地址配置”和“其他狀態配置”。目標是讓該客戶端僅處於無狀態 IPv6 模式。
前任:
netsh int ipv6 set int X routerdiscovery=enabled managedaddress=disabled otherstateful=disabled
執行上述命令後立即檢查netsh int ipv6 顯示 int X顯示:
Router Discovery : enabled
Managed Address Configuration : disabled
Other Stateful Configuration : disabled
大約 10-20 秒後檢查結果有所不同:
Router Discovery : enabled
Managed Address Configuration : enabled
Other Stateful Configuration : enabled
即使客戶端未實體連接到網絡,也會發生這種情況。但是,如果發送 RA 的路由器和該客戶端加入網絡,則配置將變更為所需的配置:
Router Discovery : enabled
Managed Address Configuration : disabled
Other Stateful Configuration : disabled
是什麼導致作業系統覆蓋我的設定並啟用託管標誌和其他標誌?
答案1
基本上可以歸結為: - 如果收到 RA,則使用其資料 - 如果未收到 RA,則嘗試 DHCPv6
如果沒有收到 RA,Windows 將嘗試使用 DHCPv6 伺服器,以防萬一有。