日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > windows >内容正文

windows

Windows路由表配置:双网卡同时上内外网

發(fā)布時間:2025/3/20 windows 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Windows路由表配置:双网卡同时上内外网 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

原文來自:http://www.cnblogs.com/lightnear/archive/2013/02/03/2890835.html

一、windows 路由表解釋

route print -4 =========================================================================== Interface List19...78 dd 08 a4 40 f4 ......Bluetooth Device (Personal Area Network) 11...00 27 10 5b 26 fc ......Intel(R) Centrino(R) Advanced-N 6200 AGN13...f0 de f1 08 58 f4 ......Intel(R) 82577LM Gigabit Network Connection15...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet116...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet81...........................Software Loopback Interface 123...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter12...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface21...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #217...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #420...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #522...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #6 ===========================================================================IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric0.0.0.0 0.0.0.0 192.168.0.1 192.168.1.12 2610.108.0.0 255.255.0.0 10.108.58.1 10.108.58.18 2110.108.58.0 255.255.255.0 On-link 10.108.58.18 27610.108.58.18 255.255.255.255 On-link 10.108.58.18 27610.108.58.255 255.255.255.255 On-link 10.108.58.18 276127.0.0.0 255.0.0.0 On-link 127.0.0.1 306127.0.0.1 255.255.255.255 On-link 127.0.0.1 306127.255.255.255 255.255.255.255 On-link 127.0.0.1 306172.16.0.0 255.255.0.0 10.108.58.1 10.108.58.18 21192.168.0.0 255.255.252.0 On-link 192.168.1.12 281192.168.1.12 255.255.255.255 On-link 192.168.1.12 281192.168.3.255 255.255.255.255 On-link 192.168.1.12 281192.168.10.0 255.255.255.0 On-link 192.168.10.1 276192.168.10.1 255.255.255.255 On-link 192.168.10.1 276192.168.10.255 255.255.255.255 On-link 192.168.10.1 276192.168.159.0 255.255.255.0 On-link 192.168.159.1 276192.168.159.1 255.255.255.255 On-link 192.168.159.1 276192.168.159.255 255.255.255.255 On-link 192.168.159.1 276224.0.0.0 240.0.0.0 On-link 127.0.0.1 306224.0.0.0 240.0.0.0 On-link 10.108.58.18 276224.0.0.0 240.0.0.0 On-link 192.168.159.1 276224.0.0.0 240.0.0.0 On-link 192.168.10.1 276224.0.0.0 240.0.0.0 On-link 192.168.1.12 281255.255.255.255 255.255.255.255 On-link 127.0.0.1 306255.255.255.255 255.255.255.255 On-link 10.108.58.18 276255.255.255.255 255.255.255.255 On-link 192.168.159.1 276255.255.255.255 255.255.255.255 On-link 192.168.10.1 276255.255.255.255 255.255.255.255 On-link 192.168.1.12 281 =========================================================================== Persistent Routes:Network Address Netmask Gateway Address Metric172.21.10.0 255.255.255.0 172.16.56.190 110.108.0.0 255.255.0.0 10.108.58.1 1172.16.0.0 255.255.0.0 10.108.58.1 1 ===========================================================================

Interface List: 網(wǎng)絡(luò)卡列表

Active Routes: 活動路由

Network Destination: 目的網(wǎng)段

Netmask: 子網(wǎng)掩碼,與目的網(wǎng)段共同定義了此條路由適用的網(wǎng)絡(luò)地址

Gateway: 網(wǎng)關(guān),又稱下一跳路由器,在發(fā)送IP數(shù)據(jù)包時,網(wǎng)關(guān)定義了針對特定的網(wǎng)絡(luò)目的地址,數(shù)據(jù)包發(fā)送到的下一跳服務器

Interface: 接口,接口定義了針對特定的網(wǎng)絡(luò)目的地址,本地計算機用于發(fā)送數(shù)據(jù)包的網(wǎng)絡(luò)接口

Metric: 跳數(shù),跳數(shù)用于指出路由的成本,通常情況下代表到達目標地址所需要經(jīng)過的跳躍數(shù)量,一個跳數(shù)代表經(jīng)過一個路由器。跳數(shù)越低,代表路由成本越低,優(yōu)先級越高

Persistent Routes: 手動配置靜態(tài)路由

?

二、windows 路由命令

Manipulates network routing tables.ROUTE [-f] [-p] [-4|-6] command [destination][MASK netmask] [gateway] [METRIC metric] [IF interface]-f Clears the routing tables of all gateway entries. If this isused in conjunction with one of the commands, the tables arecleared prior to running the command.-p When used with the ADD command, makes a route persistent acrossboots of the system. By default, routes are not preservedwhen the system is restarted. Ignored for all other commands,which always affect the appropriate persistent routes. Thisoption is not supported in Windows 95.-4 Force using IPv4.-6 Force using IPv6.command One of these:PRINT Prints a routeADD Adds a routeDELETE Deletes a routeCHANGE Modifies an existing routedestination Specifies the host.MASK Specifies that the next parameter is the 'netmask' value.netmask Specifies a subnet mask value for this route entry.If not specified, it defaults to 255.255.255.255.gateway Specifies gateway.interface the interface number for the specified route.METRIC specifies the metric, ie. cost for the destination.All symbolic names used for destination are looked up in the network database file NETWORKS. The symbolic names for gateway are looked up in the host name database file HOSTS.If the command is PRINT or DELETE. Destination or gateway can be a wildcard, (wildcard is specified as a star '*'), or the gateway argument may be omitted.If Dest contains a * or ?, it is treated as a shell pattern, and only matching destination routes are printed. The '*' matches any string, and '?' matches any one char. Examples: 157.*.1, 157.*, 127.*, *224*.Pattern match is only allowed in PRINT command. Diagnostic Notes:Invalid MASK generates an error, that is when (DEST & MASK) != DEST.Example> route ADD 157.0.0.0 MASK 155.0.0.0 157.55.80.1 IF 1The route addition failed: The specified mask parameter is invalid.(Destination & Mask) != Destination.Examples:> route PRINT> route PRINT -4> route PRINT -6> route PRINT 157* .... Only prints those matching 157*> route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2destination^ ^mask ^gateway metric^ ^Interface^If IF is not given, it tries to find the best interface for a givengateway.> route ADD 3ffe::/32 3ffe::1> route CHANGE 157.0.0.0 MASK 255.0.0.0 157.55.80.5 METRIC 2 IF 2CHANGE is used to modify gateway and/or metric only.> route DELETE 157.0.0.0> route DELETE 3ffe::/32

route print: 打印當前的路由表

route delete:刪除一條路由

route add: 增加一條路由, 如果最后加上 –p 選項,表示永久增加靜態(tài)路由,重啟后不會失效

route change: 更改一條路由

三、雙網(wǎng)卡配置實便

?

1. 網(wǎng)絡(luò)環(huán)境:

有線:可連接公司內(nèi)網(wǎng),不能連接Internet

無線:可連接Internet,不能連接公司內(nèi)網(wǎng)? 默認網(wǎng)關(guān)為 192.168.0.1

我們的目的就是同時連接這兩個網(wǎng)絡(luò),并自動選擇路由實現(xiàn)內(nèi)外網(wǎng)都可以訪問。

?

2. 配置

:刪除默認設(shè)置 route delete 0.0.0.0 :外網(wǎng)路由,全走無線 route add 0.0.0.0 mask 0.0.0.0 192.168.0.1 –p :公司內(nèi)網(wǎng)全部在10.108.*.*網(wǎng)段,增加此路由 route add 10.108.0.0 mask 255.255.0.0 10.108.58.1 -p

就是這么簡單,結(jié)果如下(還有另外幾個路由配置是做其它用途的)

PING下試試

轉(zhuǎn)載于:https://www.cnblogs.com/Jim-william/p/4255293.html

總結(jié)

以上是生活随笔為你收集整理的Windows路由表配置:双网卡同时上内外网的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 免费黄色片视频 | 在线观看的免费 | 正在播放国产精品 | 午夜资源| 成人免费在线网址 | 美女高潮网站 | 神马电影久久 | 老头老太做爰xxx视频 | 国产精品毛片 | 四虎永久免费在线观看 | 国产精品刘玥久久一区 | 操极品女神| 波多野结衣一区二区三区免费视频 | 素人女裸体 | 黄视频免费观看 | 午夜久久久久久噜噜噜噜 | 99热在| 日韩一级色 | 国产午夜精品理论片在线 | wwwxxx亚洲| 五月伊人婷婷 | 色网站免费在线观看 | 国产传媒在线观看 | 久久久久久久久久91 | 在线视频精品 | 日韩污污 | 欧美三级久久久 | 波多野结衣一区二区三区高清av | 欧美美女一区二区 | 人妻少妇被猛烈进入中文字幕 | 激情片网站 | 日韩综合区 | av免费观看不卡 | 日韩精品一区二区亚洲av性色 | 97免费人妻无码视频 | 黄色小毛片 | 成人免费在线播放视频 | 肉色丝袜小早川怜子av | 久久久久国产视频 | 美女黄色免费网站 | 日本性爱动漫 | 亚洲成在线 | 男女操操视频 | 日韩精品免费一区二区 | 亚洲国产图片 | 亚洲AV成人无码久久精品巨臀 | 久久久久99精品成人片 | 理论片久久 | 亚洲精品乱码久久久久久自慰 | 日本亚洲色大成网站www久久 | 国产极品美女高潮无套在线观看 | a v视频在线观看 | 国产激情视频网站 | 狠狠躁夜夜躁人人爽天天高潮 | 亚洲国产一二三区 | 在线免费看毛片 | 亚洲九九爱 | 九色婷婷| 18视频在线观看娇喘 | 国产精品二区一区 | 国产香蕉在线视频 | 亚洲色图偷拍视频 | 熟妇的味道hd中文字幕 | 国产高清sp| 新中文字幕| 懂色av一区二区三区在线播放 | 深夜福利91 | 黄色一级片毛片 | 在线香蕉| 欧美一区二区性久久久 | 国产日产欧洲无码视频 | 一级福利片 | 亚洲美女自拍视频 | bangbros性欧美18 | 我要看免费毛片 | 欧美一级淫片免费视频魅影视频 | 婷婷九月丁香 | 日本公妇乱淫免费视频一区三区 | 成人亚洲免费 | 免费在线色视频 | 最新视频 - 88av | 亚洲素人 | 精品国产户外野外 | 日日干天天干 | 男女啪啪毛片 | 超碰在线观看免费版 | 国产亚洲在线 | 日韩一级色片 | 亚洲国产成人一区二区 | 国产成人免费av | 国产黄色免费 | 亲嘴扒胸摸屁股激烈网站 | 已婚少妇美妙人妻系列 | www.av黄色| 欧美日韩亚洲视频 | 久久欲| 爱爱的网站 | 亚洲情欲网 | 女子spa高潮呻吟抽搐 |