windows下兩個無線網卡 一個內網 一個外網

來源:互聯網
上載者:User

標籤:網路   windows   路由表   無線網卡   windows兩個無線網卡   

650) this.width=650;" src="http://s1.51cto.com/wyfs02/M01/8B/4C/wKiom1hJCoPQYB04AAA9i5n_xl0403.png-wh_500x0-wm_3-wmp_4-s_4007708162.png" title="31.png" alt="wKiom1hJCoPQYB04AAA9i5n_xl0403.png-wh_50" />

windows下cmd設定路由表


先刪除以前的路由表

route delete 0.0.0.0

然後設定路由走向

route add -p 0.0.0.0 mask 0.0.0.0 10.0.0.1 metric 10route add -p 192.168.5.0 mask 255.255.0.0192.168.5.21 metric 20

這樣設定的意思是:

所有網路走 10.0.0.1 網關, metric 10 是設定優先權別

route add -p 0.0.0.0 mask 0.0.0.0 10.0.0.1 metric 10

設定訪問192.168網段的網路走192.168.5.1網關

route add -p 192.168.5.0 mask 255.255.0.0 192.168.5.21 metric 20

設定完即可。


本文出自 “俠米” 部落格,請務必保留此出處http://xiami.blog.51cto.com/9292349/1880757

windows下兩個無線網卡 一個內網 一個外網

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.