版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
1、第15章 路由選擇和路由選擇協(xié)議,主要內(nèi)容,介紹路由選擇和路由選擇協(xié)議及區(qū)別,介紹距離矢量、鏈路狀態(tài)和混合型三種路由選擇方式,及如何解決路由選擇問題。,15.1 路由選擇基礎,172.16.1.0,10.120.2.0,15.1 路由選擇基礎,NetworkProtocol,DestinationNetwork,ConnectedLearned,10.120.2.0172.16.1.0,Exit Interface,E0S0,Routed Protocol: IP,Routers must learn destinations that are not directly connected,1
2、72.16.1.0,10.120.2.0,E0,S0,What is a Routing Protocol?,Routing protocols are used between routers to determine paths and maintain routing tables. Once the path is determined a router can route a routed protocol.,NetworkProtocol,DestinationNetwork,ConnectedRIPIGRP,10.120.2.0172.16.2.0172.17.3.0,Exit
3、Interface,E0S0S1,Routed Protocol: IPRouting protocol: RIP, IGRP,172.17.3.0,172.16.1.0,10.120.2.0,E0,S0,Static Route Uses a route that a network administrator enters into the router manually,15.2 Static Routes,172.16.2.1,SO,1、Static Routes,172.16.1.0,B,172.16.2.2,Network,A,Configure unidirectional st
4、atic routes to and from a stub network to allow communications to occur.,B,Stub Network,Defines a path to an IP destination network or subnet,Router(config)#ip route network mask address | interfacedistance permanent,Static Route Configuration,Stub Network,ip route 172.16.1.0 255.255.255.0 172.16.2.
5、1,172.16.2.1,SO,Static Route Example,172.16.1.0,B,172.16.2.2,Network,A,B,This is a unidirectional route. You must have a route configured in the opposite direction.,Stub Network,ip route 0.0.0.0 0.0.0.0 172.16.2.2,2、Default Routes,172.16.2.1,SO,172.16.1.0,B,172.16.2.2,Network,A,B,This route allows t
6、he stub network to reach all known networks beyond router A.,3、路由的驗證及故障排除,1)是否正確配置 show running-config 2)查看路由表 show ip route 3)檢查端口狀態(tài) show interface 4)檢驗IP配置,并使用ping測試連通。,Dynamic Route Uses a route that a network routing protocol adjusts automatically for topology or traffic changes,15.3 Dynamic Rou
7、tes Overview,15.4 Classes of Routing Protocols,Distance Vector,Hybrid Routing,Link State,C,B,A,D,C,D,B,A,例:RIP、IGRP,例:EIGRP,例:OSPF,Autonomous System 100,Autonomous System 200,IGPs: RIP, IGRP,EGPs: BGP,15.5 Autonomous Systems: Interior or Exterior Routing Protocols,An autonomous system is a collectio
8、n of networks under a common administrative domain IGPs operate within an autonomous system EGPs connect different autonomous systems,Router configuration Select routing protocols Specify networks or interfaces,Network 160.89.0.0,Network 172.30.0.0,IGRP, RIP,Network 172.16.0.0,RIP,RIP,IGRP,IP Routin
9、g Configuration Tasks,Blank for pagination,Defines an IP routing protocol,Router(config)#router protocol keyword,Mandatory configuration command for each IP routing process Identifies the physically connected network that routing updates are forwarded to,Router(config-router)#network network-number,
10、Dynamic Routing Configuration,19.2 kbps,T1,T1,T1,Hop count metric selects the path Routes update every 30 seconds,4、RIP Overview,Starts the RIP routing process,Router(config)#router rip,Router(config-router)#network network-number,Selects participating attached networks The network number must be a
11、major classful network number,RIP Configuration,2.3.0.0,RIP Configuration Example,2.3.0.0,172.16.1.1,S2,E0,S3,192.168.1.1,10.1.1.1,10.2.2.2,10.1.1.2,S2,S3,10.2.2.3,172.16.1.0,A,B,C,192.168.1.0,E0,Verifying the Routing ProtocolRIP,RouterA#sh ip protocols Routing Protocol is rip Sending updates every
12、30 seconds, next due in 0 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is Incoming update filter list for all interfaces is Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Key-c
13、hain Ethernet0 1 1 2 Serial2 1 1 2 Routing for Networks: 10.0.0.0 172.16.0.0 Routing Information Sources: Gateway Distance Last Update 10.1.1.2 120 00:00:10 Distance: (default is 120),172.16.1.1,S2,E0,S3,192.168.1.1,10.1.1.1,10.2.2.2,10.1.1.2,S2,S3,10.2.2.3,172.16.1.0,A,B,C,192.168.1.0,E0,Displaying
14、 the IP Routing Table,RouterA#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - E
15、GP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR T - traffic engineered route Gateway of last resort is not set 172.16.0.0/24 is subnetted, 1 subnets C 172.16.1.0 is directly connected, Ethernet0 10.0.0.0/24 is subnetted, 2 subnets R 10.2
16、.2.0 120/1 via 10.1.1.2, 00:00:07, Serial2 C 10.1.1.0 is directly connected, Serial2 R 192.168.1.0/24 120/2 via 10.1.1.2, 00:00:07, Serial2,172.16.1.1,S2,E0,S3,192.168.1.1,10.1.1.1,10.2.2.2,10.1.1.2,S2,S3,10.2.2.3,172.16.1.0,A,B,C,192.168.1.0,E0,Review Questions,1.What is an advantage of using a sta
17、tic route rather than a dynamic route? What is a disadvantage? 2.What is the advantage of using IGRP rather then RIP? What is a possible disadvantage? 3.To scale up to very large IP networks, what routing protocols are recommended?,Upon completion of this chapter, you will be able to perform the fol
18、lowing tasks: Configure HDLC and PPP protocols on a serial WAN connection Configure PAP and CHAP authentication on a PPP connection Verify proper point-to-point HDLC and PPP configuration,Objectives,6.3 WAN 廣域網(wǎng)概述,服務提供商,廣域網(wǎng)互聯(lián)各站點 根據(jù)用戶的需求和花費選擇不同的連接,租用專線,串行通信,電話公司,電路交換,異步串行,服務提供商,包交換,同步串行,1、WAN 連接類型: 第一
19、層,Leased Line,Circuit-switched,PPP, HDLC,PPP, HDLC,Packet-switched,Frame Relay , X.25, ATM,2、典型 WAN 封裝協(xié)議: 第二層,Telephone Company,Service Provider,租用專線,電路交換,包交換,Point-to-point or circuit-switched connection,CO Switch,Customer Premises Equipment,Demarcation,Local Loop,WAN service provider toll network,
20、Trunks and switches,Interfacing WAN Service Providers,Provider assigns connection parameters to subscriber,3、串行點對點連接,路由器端連接,在 CSU/DSU 端的網(wǎng)絡連接,EIA/TIA-232,EIA/TIA-449,EIA-530,V.35,X.21,CSU/DSU,終端用戶設備,服務提供商,DTE,DCE,PPP Encapsulation,TCP/IP Novell IPX AppleTalk,Multiple protocol encapsulations using NCP
21、s in PPP,PPP can carry packets from several protocol suites using Network Control Programs PPP controls the setup of several link options using LCP,Link setup and control using LCP in PPP,An Overview of PPP,Feature,How It Operates,Protocol,Authentication,PAP,CHAP,Perform Challenge Handshake,Require
22、a password,Compression,Compress data at source; reproduce data at destination,Stacker or Predictor,Error Detection,Avoid frame looping,Monitor data dropped on link,Magic Number,Multilink,Load balancing across multiple links,Multilink Protocol (MP),PPP LCP Configuration Options,PPP Authentication Ove
23、rview,Two PPP authentication protocols: PAP and CHAP,PPP Session Establishment1Link Establishment Phase 2Optional Authentication Phase3 Network-Layer Protocol Phase,Dialup or Circuit-Switched Network,4、配置 PPP,Router(config-if)#encapsulation ppp,Enable PPP encapsulation,Configuring CHAP Example,hostn
24、ame left username right password sameone ! int serial 0 ip address 10.0.1.1 255.255.255.0 encapsulation ppp ppp authentication CHAP,hostname right username left password sameone ! int serial 0 ip address 10.0.1.2 255.255.255.0 encapsulation ppp ppp authentication CHAP,Leftrouter,Right router,PSTN/IS
25、DN,5、什么是 ISDN?,Providernetwork,Digital PBX,Small office,Home office,提供語音、數(shù)據(jù)、視頻和專用服務,Telecommuter,Central site,6、Frame Relay Overview,Virtual circuits make connections Connection-oriented service,Frame Relay works here.,DCE or FrameRelay Switch,CSU/DSU,Frame Relay Stack,OSI Reference Model,Frame Rela
26、y,Physical,Presentation,Session,Transport,Network,Data Link,Application,EIA/TIA-232, EIA/TIA-449, V.35, X.21, EIA/TIA-530,Frame Relay,IP/IPX/AppleTalk, etc.,Frame Relay Terminology,LocalAccessLoop=T1,Local AccessLoop=64 kbps,Local AccessLoop=64 kbps,DLCI: 400,PVC,DLCI: 500,LMI100=Active400=Active,DL
27、CI: 200,DLCI: 100,PVC,CSU/DSU,Frame Relay Address Mapping,Get locally significant DLCIs from provider Map your network addresses to DLCIs,DLCI: 500,PVC,10.1.1.1,Inverse ARP orFrame Relay map,IP(10.1.1.1),FrameRelay,DLCI (500),Frame Relay Signaling,Cisco supports three LMI standards: Cisco ANSI T1.61
28、7 Annex D ITU-T Q.933 Annex A,DLCI: 400,PVC,Keepalive,CSU/DSU,DLCI: 500,PVC,10.1.1.1,x,LMI500=Active400=Inactive,Frame Relay Inverse ARP and LMI Operation,Frame Relay Cloud,1,DLCI=100,DLCI=400,172.168.5.5,172.168.5.7,Frame Relay Inverse ARP and LMI Operation,2,Status Inquiry,2,Status Inquiry,Frame R
29、elay Cloud,1,DLCI=100,DLCI=400,172.168.5.5,172.168.5.7,Frame Relay Inverse ARP and LMI Operation,3,Local DLCI 100=Active,4,Local DLCI 400=Active,2,Status Inquiry,2,Status Inquiry,Frame Relay Cloud,1,DLCI=100,DLCI=400,3,172.168.5.5,172.168.5.7,Frame Relay Inverse ARP and LMI Operation,4,Hello, I am 1
30、72.168.5.5.,3,Local DLCI 100=Active,4,Local DLCI 400=Active,2,Status Inquiry,2,Status Inquiry,Frame Relay Cloud,1,DLCI=100,DLCI=400,3,172.168.5.5,172.168.5.7,Frame Relay Inverse ARP and LMI Operation (cont.),Hello, I am 172.168.5.7.,4,5,Frame Relay Map 172.168.5.5 DLCI 400 Active,Frame Relay Cloud,D
31、LCI=100,DLCI=400,Frame Relay Map 172.168.5.7 DLCI 100 Active,5,172.168.5.5,172.168.5.7,Frame Relay Inverse ARP and LMI Operation (cont.),Hello, I am 172.168.5.7.,4,5,Frame Relay Map 172.168.5.5 DLCI 400 Active,Frame Relay Cloud,DLCI=100,DLCI=400,Frame Relay Map 172.168.5.7 DLCI 100 Active,5,Hello, I
32、 am 172.168.5.5.,6,172.168.5.5,172.168.5.7,Frame Relay Inverse ARP and LMI Operation (cont.),Keepalives,Keepalives,Hello, I am 172.168.5.7.,4,5,Frame Relay Map 172.168.5.5 DLCI 400 Active,Frame Relay Cloud,DLCI=100,DLCI=400,Frame Relay Map 172.168.5.7 DLCI 100 Active,5,Hello, I am 172.168.5.5.,6,7,7
33、,172.168.5.5,172.168.5.7,Rel. 11.2 Router,Rel. 10.3 Router,interface Serial1 ip address 10.16.0.1 255.255.255.0 encapsulation frame-relay bandwidth 64,interface Serial1 ip address 10.16.0.2 255.255.255.0 encapsulation frame-relay bandwidth 64 frame-relay lmi-type ansi,HQ,Branch,Configuring Basic Fra
34、me Relay,Inverse ARP Enabled by default Does not appear in configuration output,Rel. 11.2 Router,Rel. 10.3 Router,HQ,interface Serial1 ip address 10.16.0.1 255.255.255.0 encapsulation frame-relay bandwidth 64,interface Serial1 ip address 10.16.0.2 255.255.255.0 encapsulation frame-relay bandwidth 64
35、 frame-relay lmi-type ansi,Branch,Configuring Basic Frame Relay (cont.),DLCI=110 IP address=10.16.0.1/24,p1r1,DLCI=100 IP address=10.16.0.2/24,interface Serial1 ip address 10.16.0.1 255.255.255.0 encapsulation frame-relay bandwidth 64 frame-relay map ip 10.16.0.2 110 broadcast,HQ,Branch,Configuring
36、a Static Frame Relay Map,Verifying Frame Relay Operation,Displays line, protocol, DLCI, and LMI information,Router#show interface s0 Serial0 is up, line protocol is up Hardware is HD64570 Internet address is 10.140.1.2/24 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsu
37、lation FRAME-RELAY, loopback not set, keepalive set (10 sec) LMI enq sent 19, LMI stat recvd 20, LMI upd recvd 0, DTE LMI up LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0 LMI DLCI 1023 LMI type is CISCO frame relay DTE FR SVC disabled, LAPF state down Broadcast queue 0/64, broadcasts sent/dropped
38、 8/0, interface broadcasts 5 Last input 00:00:02, output 00:00:02, output hang never Last clearing of show interface counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops ,Displays LMI information,Router#show frame-relay lmi LMI Statistics for interface Serial0
39、 (Frame Relay DTE) LMI TYPE = CISCO Invalid Unnumbered info 0 Invalid Prot Disc 0 Invalid dummy Call Ref 0 Invalid Msg Type 0 Invalid Status Message 0 Invalid Lock Shift 0 Invalid Information ID 0 Invalid Report IE Len 0 Invalid Report Request 0 Invalid Keep IE Len 0 Num Status Enq. Sent 113100 Num
40、Status msgs Rcvd 113100 Num Update Status Rcvd 0 Num Status Timeouts 0,Verifying Frame Relay Operation (cont.),Displays PVC traffic statistics,Verifying Frame Relay Operation (cont.),Router#show frame-relay pvc 100 PVC Statistics for interface Serial0 (Frame Relay DTE) DLCI = 100, DLCI USAGE = LOCAL
41、, PVC STATUS = ACTIVE, INTERFACE = Serial0 input pkts 28 output pkts 10 in bytes 8398 out bytes 1198 dropped pkts 0 in FECN pkts 0 in BECN pkts 0 out FECN pkts 0 out BECN pkts 0 in DE pkts 0 out DE pkts 0 out bcast pkts 10 out bcast bytes 1198 pvc create time 00:03:46, last time pvc status changed 0
42、0:03:47,Displays the route maps, either static or dynamic,Router#show frame-relay map Serial0 (up): ip 10.140.1.1 dlci 100(0 x64,0 x1840), dynamic, broadcast, status defined, active,Verifying Frame Relay Operation (cont.),Clears dynamically created Frame Relay maps,Verifying Frame Relay Operation (c
43、ont.),Router#show frame-relay map Serial0 (up): ip 10.140.1.1 dlci 100(0 x64,0 x1840), dynamic, broadcast, status defined, active Router#clear frame-relay-inarp Router#sh frame map Router#,Displays LMI debug information,Verifying Frame Relay Operation (cont.),Router#debug Frame lmi Frame Relay LMI d
44、ebugging is on Displaying all Frame Relay LMI data Router# 1w2d: Serial0(out): StEnq, myseq 140, yourseen 139, DTE up 1w2d: datagramstart = 0 xE008EC, datagramsize = 13 1w2d: FR encap = 0 xFCF10309 1w2d: 00 75 01 01 01 03 02 8C 8B 1w2d: 1w2d: Serial0(in): Status, myseq 140 1w2d: RT IE 1, length 1, t
45、ype 1 1w2d: KA IE 3, length 2, yourseq 140, myseq 140 1w2d: Serial0(out): StEnq, myseq 141, yourseen 140, DTE up 1w2d: datagramstart = 0 xE008EC, datagramsize = 13 1w2d: FR encap = 0 xFCF10309 1w2d: 00 75 01 01 01 03 02 8D 8C 1w2d: 1w2d: Serial0(in): Status, myseq 142 1w2d: RT IE 1, length 1, type 0
46、 1w2d: KA IE 3, length 2, yourseq 142, myseq 142 1w2d: PVC IE 0 x7 , length 0 x6 , dlci 100, status 0 x2 , bw 0,Star (Hub and Spoke),Full Mesh,Partial Mesh,Frame Relay default: nonbroadcast, multiaccess (NMBA),Selecting a Frame Relay Topology,Problem: Broadcast traffic must be replicated for each ac
47、tive connection,RoutingUpdate,A,C,B,Reachability Issues with Routing Updates,B,C,D,A,Resolving Reachability Issues,Solution: Split horizon can cause problems in NBMA environments Subinterfaces can resolve split horizon issues A single physical interface simulates multiple logical interfaces,Subnet A
48、,Subnet B,Subnet C,S0,PhysicalInterface,Logical Interface,Configuring Subinterfaces,Point-to-Point Subinterfaces act as leased line Each point-to-point subinterface requires its own subnet Applicable to hub and spoke topologies Multipoint Subinterfaces act as NBMA network so they do not resolve the split horizon issue Can save address space because uses single subnet Applicable to partial-mesh and full-mesh topology,A,10.17.0.1s0.2,B,Configuring Point-to-Point Subinterfaces,interface Serial0 no ip address encapsulation frame-relay ! interface Seria
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 工作計劃大全
- 客服部工作計劃
- 中國全自動票據(jù)分切機項目投資可行性研究報告
- 交通臺實習報告10篇
- 應屆生會計求職信集錦十篇
- 三年級教師述職報告6篇
- 小學教師競崗演講稿5篇
- 2022萬圣節(jié)作文(十五篇大全)
- 參觀實習工作報告匯編9篇
- 小額貸款公司各項管理制度
- 全國職業(yè)學校教師說課大賽一等獎電工技能與實訓《觸電急救方法說課》說課課件
- 小兒流感疾病演示課件
- 奔馳調(diào)研報告swot
- 中國教育史(第四版)全套教學課件
- 2024屆廣東省汕頭市高一數(shù)學第一學期期末達標檢測試題含解析
- 采購設備檢驗驗收單
- 福建省泉州實驗中學2024屆物理高一第一學期期末質(zhì)量檢測試題含解析
- 公司領導班子設置方案
- 專業(yè)展覽展示設計搭建公司
- 為銅制劑正名-冠菌銅? 產(chǎn)品課件-9-7
- 具有磁場保鮮裝置的制冷設備的制作方法
評論
0/150
提交評論