freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

cisco路由器配置完全手冊(一)-文庫吧

2025-07-20 08:53 本頁面


【正文】 絡(luò)地址。    3. 使用可變長的子網(wǎng)掩碼    通過使用可變長的子網(wǎng)掩碼可以讓位于不同接口的同一網(wǎng)絡(luò)編號的網(wǎng)絡(luò)使用不同的掩碼,這樣可以節(jié)省IP地址,充分利用有效的IP地址空間。    如下圖所示:    ,, ,,這樣就將一個C類網(wǎng)絡(luò)地址分配給了二個網(wǎng),既劃分了二個子網(wǎng),起到了節(jié)約地址的作用。    4. 使用網(wǎng)絡(luò)地址翻譯(NAT)    NAT(Network Address Translation)起到將內(nèi)部私有地址翻譯成外部合法的全局地址的功能,它使得不具有合法IP地址的用戶可以通過NAT訪問到外部Internet.    當(dāng)建立內(nèi)部網(wǎng)的時候,建議使用以下地址組用于主機(jī),這些地址是由Network Working Group(RFC 1918)保留用于私有網(wǎng)絡(luò)地址分配的.    Class A: tol    Class B: to    lClass C: to    命令描述如下:    任務(wù) 命令    定義一個標(biāo)準(zhǔn)訪問列表 accesslist accesslistnumber permit source [sourcewildcard]    定義一個全局地址池 ip nat pool name startip endip {netmask netmask | prefixlength prefixlength} [type rotary]    建立動態(tài)地址翻譯 ip nat inside source {list {accesslistnumber | name} pool name [overload] | static localip globalip}    指定內(nèi)部和外部端口 ip nat {inside | outside}    如下圖所示,    路由器的Ethernet 0端口為inside端口,即此端口連接內(nèi)部網(wǎng)絡(luò),并且此端口所連接的網(wǎng)絡(luò)應(yīng)該被翻譯,Serial 0端口為outside端口,其擁有合法IP地址(由NIC或服務(wù)提供商所分配的合法的IP地址),,經(jīng)由Serial 0口訪問Internet。命令ip nat inside source list 2 pool c2501 overload中的參數(shù)overload,將允許多個內(nèi)部地址使用相同的全局地址(一個合法IP地址,它是由NIC或服務(wù)提供商所分配的地址)。命令ip nat pool c2501 netmask 。    設(shè)置如下:    ip nat pool c2501 netmask    interface Ethernet 0    ip address    ip nat inside    !    interface Serial 0    ip address    ip nat outside    !    ip route Serial 0    accesslist 2 permit    ! Dynamic NAT    !    ip nat inside source list 2 pool c2501 overload    line console 0    exectimeout 0 0    !    line vty 0 4    end 六、配置靜態(tài)路由    通過配置靜態(tài)路由,用戶可以人為地指定對某一網(wǎng)絡(luò)訪問時所要經(jīng)過的路徑,在網(wǎng)絡(luò)結(jié)構(gòu)比較簡單,且一般到達(dá)某一網(wǎng)絡(luò)所經(jīng)過的路徑唯一的情況下采用靜態(tài)路由。    任務(wù) 命令    建立靜態(tài)路由 ip route prefix mask {address | interface} [distance] [tag tag] [permanent]    Prefix:所要到達(dá)的目的網(wǎng)絡(luò)    mask :子網(wǎng)掩碼    address:下一個跳的IP地址,即相鄰路由器的端口地址。    interface :本地網(wǎng)絡(luò)接口    distance:管理距離(可選)    tag tag:tag值(可選)    permanent:指定此路由即使該端口關(guān)掉也不被移掉。   ,。由于在Router1上端口Serial ,,所以不需要在Router1上添加靜態(tài)路由?! ?Router1:    ip route    Router3:    ip route    ip route    同時由于路由器Router3除了與路由器Router2相連外,不再與其他路由器相連,所以也可以為它賦予一條默認(rèn)路由以代替以上的二條靜態(tài)路由,    ip route    即只要沒有在路由表里找到去特定目的地址的路徑,。第二章 廣域網(wǎng)協(xié)議設(shè)置一、HDLC HDLC是CISCO路由器使用的缺省協(xié)議,一臺新路由器在未指定封裝協(xié)議時默認(rèn)使用HDLC封裝。1. 有關(guān)命令端口設(shè)置 任務(wù) 命令 設(shè)置HDLC封裝 encapsulation hdlc 設(shè)置DCE端線路速度 clockrate speed 復(fù)位一個硬件接口 clear interface serial unit 顯示接口狀態(tài) show interfaces serial [unit] 1 注:. Routershow interface serial 0 Serial 0 is up, line protocol is up Hardware is MCI Serial Internet address is , subnet mask is MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) Last input 0:00:07, output 0:00:00, output hang never Output queue 0/40, 0 drops。 input queue 0/75, 0 drops Five minute input rate 0 bits/sec, 0 packets/sec Five minute output rate 0 bits/sec, 0 packets/sec 16263 packets input, 1347238 bytes, 0 no buffer Received 13983 broadcasts, 0 runts, 0 giants 2 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 2 abort 22146 packets output, 2383680 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets, 0 restarts 1 carrier transitions 2. 舉例設(shè)置如下: Router1: interface Serial0 ip address clockrate 1000000 Router2: interface Serial0 ip address ! 3. 舉例使用E1線路實現(xiàn)多個64K專線連接.相關(guān)命令: 任務(wù) 命令 進(jìn)入controller配置模式 controller {t1 | e1} number 選擇幀類型 framing {crc4 | nocrc4} 選擇linecode類型 linecode {ami | b8zs | hdb3} 建立邏輯通道組與時隙的映射 channelgroup number timeslots range1 顯示controllers接口狀態(tài) show controllers e1 [slot/port]2 注: 1. 當(dāng)鏈路為T1時,channelgroup編號為023, Timeslot范圍124。 當(dāng)鏈路為E1時, channelgroup編號為030, Timeslot范圍131. controllers e1觀察controller狀態(tài),以下為幀類型為crc4時controllers正常的狀態(tài). Router show controllers e1 e1 0/0 is up. Applique type is Channelized E1 unbalanced Framing is CRC4, Line Code is HDB3 No alarms detected. Data in current interval (725 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs Total Data (last 24 hours) 0 Line Code Violations, 0 Path Code Violations, 0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins, 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs 以下例子為E1連接3條64K專線, 幀類型為NOCRC4,非平衡鏈路,路由器具體設(shè)置如下:shanxiwri tBuilding configuration...Current configuration:!version no service udpsmallserversno service tcpsmallservers!hostname shanxi!enable secret 5 $1$XN08$enable password shanxi!!ip subnetzero!controller E1 0 framing NOCRC4 channelgroup 0 timeslots 1 channelgroup 1 timeslots 2 channelgroup 2 timeslots 3 !interface Ethernet0ip address mediatype 10BaseT!interface Ethernet1no ip addressshutdown!interface Serial0:0 ip address no ip mroutecache!interface Serial0:1 ip address no ip mroutecache!interface Serial0:2 ip address no ip mroutecache!no ip classlessip route Serial0:0ip route Serial0:1ip route Serial0:2!line con 0line aux 0line vty 0 4password shanxilogin!end二、PPP PPP(PointtoPoint Protocol)是SLIP(Serial Line IP protocol)的繼承者,它提供了跨過同步和異步電路實現(xiàn)路由器到路由器(routertorouter)和主機(jī)到網(wǎng)絡(luò)(hosttonetwork)的連接。CHAP(Challenge Handshake Authentication Protocol)和PAP(Password Authentication Protocol) (PAP)通常被用于在PPP封裝的串行線路上提供安全性認(rèn)證。使用CHAP和PAP認(rèn)證,每個路由器通過名字來識別,可以防止未經(jīng)授權(quán)的訪問。CHAP和PAP在RFC 1334上有詳細(xì)的說明。1. 有關(guān)命令端口設(shè)置 任務(wù) 命令 設(shè)置PPP封裝 encapsulation ppp1 設(shè)置認(rèn)證方法 ppp authentication {chap | chap pap | pap chap | pap} [ifneeded] [listname | default] [callin] 指定口令 username name password secret 設(shè)置DCE端線路速度 clockrate speed 注:要使用CHAP/PAP必須使用PPP封裝。在與非Ci
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1