停用自動路由學習功能
希望停用Windows 2003 自動學習路由功能(2008 Server適用)
問題現象 –
Windows 2003上雖僅有一張網路卡 目前設定default gateway為設定192.168.1.254 但是後端有個L3 switch上面可能會有其他閘道設備會自動切換 但是由Route Print會看到Gateway學習到其他路由確認是否有方法可以停止Windows 2003學習路由功能
問題成因 - EnableICMPRedirect function
解決方案 - 請修改以下值,若是找不到請新增一個DWORD HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters EnableICMPRedirect = 0 請測試是否可以解決您的問題,修改後需要重新開機 參考資料同樣可以ApplyApply在Windows 2003 server上
參考資訊 –
293626 Cannot Disable ICMP Redirects By Changing "EnableICMPRedirect" Registry Value
https://support.microsoft.com/default.aspx?scid=kb;EN-US;293626