查看完整版本: 如何在Windows 7底下做 Static routes


linux 2014-8-24 22:03

如何在Windows 7底下做 Static routes

Windows 7 裡頭內建一個相當實用的路由指令- Route,可以用來查詢路由表及新增或移除某個路由路徑,尤其適用於安裝兩片以上網路卡的系統。封包很可能因為網路設定錯誤的問題,造成連線緩慢異常,甚而無法以您期望的方式傳送封包,這時 route 指令是很方便的除錯工具,底下就簡單說明 route 指令的語法。<br><br>如果要用來顯示路由表...可以打<br># <span style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(255, 255, 255);"><font color="Red">route print</font><span class="Apple-converted-space"> <br><br>其他常用route 指令.假設我要連到Hinet DNS Server 要指定走 192.168.1.1 的Default Gateway 出去...可以用底下的指令<br><br>● route add 用來加入路由路徑<br>例如:<font color="Red">route add 168.95.1.1 mask 255.255.255.0 192.168.1.1</font> <br><br>指出 Network Destination、Netmask、Gateway。<br><br><br>● route -p add 用來永久加入路由路徑,使用-p 參數可以保留路徑設定,不會因為電腦重開機而消失。<br>例如:</span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(255, 255, 255);"><span class="Apple-converted-space"><span style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(255, 255, 255);"><span class="Apple-converted-space"><font color="Red">route -p add 168.95.1.1 mask 255.255.255.0 192.168.1.1</font></span></span><br><br>● route delete用來刪除路由路徑。<br>例如:<font color="Red">route delete 168.95.1.1</font><br><br></span></span>
頁: [1]
查看完整版本: 如何在Windows 7底下做 Static routes