發(fā)布時間:2022-07-26 文章來源:xp下載站 瀏覽: 72
網(wǎng)絡(luò)技術(shù)是從1990年代中期發(fā)展起來的新技術(shù),它把互聯(lián)網(wǎng)上分散的資源融為有機(jī)整體,實(shí)現(xiàn)資源的全面共享和有機(jī)協(xié)作,使人們能夠透明地使用資源的整體能力并按需獲取信息。資源包括高性能計(jì)算機(jī)、存儲資源、數(shù)據(jù)資源、信息資源、知識資源、專家資源、大型數(shù)據(jù)庫、網(wǎng)絡(luò)、傳感器等。 當(dāng)前的互聯(lián)網(wǎng)只限于信息共享,網(wǎng)絡(luò)則被認(rèn)為是互聯(lián)網(wǎng)發(fā)展的第三階段。 一臺電腦兩條線路一個電信IP一個聯(lián)通的IP,解決訪問電信的時候自動走電信線路,訪問聯(lián)通的時候自動走聯(lián)通的線路,我們可以用到下面這個命令 ROUTEDOS命令我們都可以在 Cmd 下用 route /? 來查看他的幫助信息 先看一下他的幫助 Manipulates network routing tables. ROUTE [-f] [-p] [command [destination] [MASK netmask] [gateway] [METRIC metric] [IF interface] -f Clears the routing tables of all gateway entries. If this is used in conjunction with one of the commands, the tables are cleared prior to running the command. -p When used with the ADD command, makes a route persistent across boots of the system. By default, routes are not preserved when the system is restarted. Ignored for all other commands, which always affect the appropriate persistent routes. This option is not supported in Windows 95. command One of these: PRINT Prints a route ADD Adds a route DELETE Deletes a route CHANGE Modifies an existing route destination 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*. 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 1 The route addition failed: The specified mask parameter is invalid (Destination & Mask) != Destination. Examples: > route PRINT > route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2 destination^ ^mask ^gateway metric^ ^ Interface^ If IF is not given, it tries to find the best interface for a given gateway. > route PRINT > route PRINT 157* .... Only prints those matching 157* > route CHANGE 157.0.0.0 MASK 255.0.0.0 157.55.80.5 METRIC 2 IF 2 CHANGE is used to modify gateway and/or metric only. > route PRINT > route DELETE 157.0.0.0 > route PRINT route - 顯示 / 操作IP選路表 總覽 SYNOPSIS route [-CFvnee] route [-v] [-A family] add [-net|-host] target [netmask Nm] [gw Gw] [metric N] [mss M] [window W] [irtt I][reject] [mod] [dyn] [reinstate] [[dev] If] route [-v] [-A family] del [-net|-host] target [gw Gw][netmask Nm] [metric N] [[dev] If] route [-V] [--version] [-h] [--help] 描述 DESCRIPTION route程序?qū)?nèi)核的IP選路表進(jìn)行操作。它主要用于通過已用ifconfig(8)程序配置好的接口來指定的主機(jī)或網(wǎng)絡(luò)設(shè)置靜態(tài)路由。 選項(xiàng) OPTIONS -v 選用細(xì)節(jié)操作模式 -A family 用指定的地址族(如`inet',`inet6')。 -n 以數(shù)字形式代替解釋主機(jī)名形式來顯示地址。此項(xiàng)對試圖檢測對域名服務(wù)器進(jìn)行路由發(fā)生故障的原因非常有用。 -e 用netstat(8)的格式來顯示選路表。-ee將產(chǎn)生包括選路表所有參數(shù)在內(nèi)的大量信息。 -net 路由目標(biāo)為網(wǎng)絡(luò)。 -host 路由目標(biāo)為主機(jī)。 -F 顯示內(nèi)核的FIB選路表。其格式可以用-e 和 -ee選項(xiàng)改變。 -C 顯示內(nèi)核的路由緩存。 del 刪除一條路由。 add 添加一條路由。 target 指定目標(biāo)網(wǎng)絡(luò)或主機(jī)�?梢杂命c(diǎn)分十進(jìn)制形式的IP地址或主機(jī)/網(wǎng)絡(luò)名。 netmask Nm 為添加的路由指定網(wǎng)絡(luò)掩碼。 gw Gw 為發(fā)往目標(biāo)網(wǎng)絡(luò)/主機(jī)的任何分組指定網(wǎng)關(guān)。注意:指定的網(wǎng)關(guān)首先必須是可達(dá)的。也就是說必須為該網(wǎng)關(guān)預(yù)先指定一條靜態(tài)路由。如果你為本地接口之一指定這個網(wǎng)關(guān)地址的話,那么此網(wǎng)關(guān)地址將用于決定此接口上的分組將如何進(jìn)行路由。這是BSD風(fēng)格所兼容的。 metric M 把選路表中的路由值字段(由選路進(jìn)程使用)設(shè)為M。 mss M 把基于此路由之上的連接的TCP最大報文段長度設(shè)為M字節(jié)。這通常只用于優(yōu)化選路設(shè)置。默認(rèn)值為536。 window W 把基于此路由之上的連接的TCP窗口長度設(shè)為W字節(jié)。這通常只用于AX.25網(wǎng)絡(luò)和不能處理背對背形式的幀的設(shè)備。 irtt I 把基于此路由之上的TCP連接的初始往返時間設(shè)為I毫秒(1-12000)。這通常也只用于AX.25網(wǎng)絡(luò)。如果省略此選項(xiàng),則使用RFC1122的缺省值300ms。 reject 設(shè)置一條阻塞路由以使一條路由查找失敗。這用于在使用缺省路由前先屏蔽掉一些網(wǎng)絡(luò)。但這并不起到防火墻的作用。 mod, dyn, reinstate 設(shè)置一條動態(tài)的或更改過的路由。這些標(biāo)志通常只由選路進(jìn)程來設(shè)置。這只用于診斷目的, dev If 網(wǎng)絡(luò)的神奇作用吸引著越來越多的用戶加入其中,正因如此,網(wǎng)絡(luò)的承受能力也面臨著越來越嚴(yán)峻的考驗(yàn)―從硬件上、軟件上、所用標(biāo)準(zhǔn)上......,各項(xiàng)技術(shù)都需要適時應(yīng)勢,對應(yīng)發(fā)展,這正是網(wǎng)絡(luò)迅速走向進(jìn)步的催化劑。 |
2強(qiáng)力一鍵root,本文教您強(qiáng)力一鍵root怎樣取...
3筆記本內(nèi)存條怎樣裝,本文教您筆記本內(nèi)存條怎樣裝
4怎么重裝系統(tǒng)(安裝系統(tǒng))xp最方便
5Thinkpad筆記本重裝系統(tǒng)(安裝系統(tǒng)),本文...
6hp筆記本重裝系統(tǒng)(安裝系統(tǒng)),本文教您惠普筆記...
7筆記本一鍵還原,本文教您聯(lián)想筆記本怎樣一鍵還原
8聯(lián)想筆記本一鍵恢復(fù),本文教您聯(lián)想筆記本一鍵恢復(fù)怎...