版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、RIP-1 配置一、實驗目的1.2.掌握動態(tài)路由的配置方法理解 RIP 協(xié)議的工作過程二、應用環(huán)境1.2.在路由器較多的環(huán)境里,手工配置靜態(tài)路由給管理員帶來大的工作負擔在不太穩(wěn)定的網絡環(huán)境里,手工修改表不現(xiàn)實三、實驗設備1.2.3.DCR-1751 CR-V35FCCR-V35MT三臺一條一條四、實驗拓撲五、實驗要求配置表六、 實驗步驟第一步:參照實驗三,按照上表配置所有接口的 IP 地址,保證所有接口全部是 up 狀態(tài),測試連通性第二步:查看 ROUTER-A 的路由表Router-A#show ip routeRouter-ARouter-BRouter-CS1/1(DCE)S/1/0(D
2、TE)F0/0F0/0F0/0E1/0D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPFer areaON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2 OE1 - OSPF external type 1, OE2 - OSPF external type 2DHCP - DHCP typeVRF ID: 0CC/24/24is directly connected, FastEthernet0/0is directly connected, Serial
3、1/1!直連的路由!直連的路由第三步:查看 ROUTER-B 的路由表Router-B#show ip routeCodes: C - connected, S - sic, R - RIP, B - BGP, BC - BGP connected D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPFer areaON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2 OE1 - OSPF external type 1, OE2 - OSPF external
4、type 2DHCP - DHCP typeVRF ID: 0CC/24/24is directly connected, Serial1/0is directly connected, FastEthernet0/0第四步:查看 ROUTER-C 的路由表Router-B#show ip routeCodes: C - connected, S - sic, R - RIP, B - BGP, BC - BGP connected D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPFer areaON1 - OSPF NSSA ext
5、ernal type 1, ON2 - OSPF NSSA external type 2 OE1 - OSPF external type 1, OE2 - OSPF external type 2DHCP - DHCP typeVRF ID: 0CC/24/24is directly connected, Serial1/0is directly connected, FastEthernet0/0第五步:在 ROUTER-A 上路由器 CRouter-A# (): 56 data bytes.- sistics -5 packets transmitted, 0 packets rece
6、ived, 100% packet loss第六步:在路由器 A 上配置 RIP 協(xié)議并查看路由表Router-A_config#router rip!不通!啟動 RIP 協(xié)議Router-A_config_rip#network Router-A_config_rip#network Router-A_config_rip#Z Router-A#sh ip route!網段Codes: C - connected, S - sic, R - RIP, B - BGP, BC - BGP connectedD - DEIGRP, DEX - external DEIGRP, O - OSPF,
7、 OIA - OSPFer areaON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2 OE1 - OSPF external type 1, OE2 - OSPF external type 2DHCP - DHCP typeVRF ID: 0CC/24/24is directly connected, FastEthernet0/0is directly connected, Serial1/1注意到并沒有出現(xiàn) RIP 學習到的路由。第七步:在路由器 B 上配置 RIP 協(xié)議并查看路由表Router-B_conf
8、ig#router ripRouter-B_config_rip#network Router-B_config_rip#network Router-B_config_rip#ZRouter-B#2004-1-1 00:15:58 Configured from console 0 by DEFAULT Router-B#show ip routeCodes: C - connected, S - sic, R - RIP, B - BGP, BC - BGP connectedD - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPFer
9、 areaON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2 OE1 - OSPF external type 1, OE2 - OSPF external type 2DHCP - DHCP typeVRF ID: 0RC C/16/24/24120,1 via (on Serial1/0)!從 A 學習到的路由is directly connected, Serial1/0is directly connected, FastEthernet0/0第八步:在路由器 B 上配置 RIP 協(xié)議并查看路由表Router
10、-C_config#router ripRouter-C_config_rip#network Router-C_config_rip#network Router-C_config_rip#Z Router-C#show ip routeCodes: C - connected, S - sic, R - RIP, B - BGPD - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPFer areaON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2OE1 - O
11、SPF external type 1, OE2 - OSPF external type 2R R CC/16/24/24/24120,2 via (on FastEthernet0/0) 120,1 via (on FastEthernet0/0) is directly connected, FastEthernet0/0is directly connected, Ethernet1/0第九步:再次查看 A 和 B 的路由表Router-B#show ip routeCodes: C - connected, S - sic, R - RIP, B - BGP, BC - BGP co
12、nnected D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPFer areaON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2 OE1 - OSPF external type 1, OE2 - OSPF external type 2DHCP - DHCP typeVRF ID: 0R C CR/16/24/24/24120,1 via (on Serial1/0)is directly connected, Serial1/0is directly
13、connected, FastEthernet0/0120,1 via (on FastEthernet0/0)Router-A#show ip routeCodes: C - connected, S - sic, R - RIP, B - BGP, BC - BGP connectedD - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPFer areaON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2 OE1 - OSPF external type 1,
14、OE2 - OSPF external type 2DHCP - DHCP typeVRF ID: 0C C RR/24/24/24/24is directly connected, FastEthernet0/0 is directly connected, Serial1/1 120,1 via (on Serial1/1)120,2 via (on Serial1/1)!注意到所有網段都學習到了路由第十步:相關的查看命令Router-A#show ip rip!顯示 RIP 狀態(tài)RIP protocol: Global verUpdate: 30,Enabled: default( De
15、cided on theerface vercontrol )Expire: 180,Holddown: 120Input-queue: 50Validate-update-source enableNo neighborRouter-A#sh ip rip protocol!顯示協(xié)議細節(jié)RIP iiveSending updates every 30 seconds, next due in 30 secondsInvalid after 180 seconds, holddown 120!注意定時器的值update filter list for allerfais:is:update o
16、ffset list for allRedistributing:erfaDefault vererfacecontrol: send verSend1, receive verRecv 1 21 21 2FastEthernet0/0Serial1/111Automatic network summarization is in effect Routing for Networks:/24/16Distance: 120 (default is 120)!注意默認的管理距離um route count: 1024,Route count:6Router-A#show ip rip data
17、base! 顯示 RIP 數(shù)據(jù)庫FastEthernet0/0/24/24/24/24/24/24directly connected auto-summary directly connectedauto-summarySerial1/1120,1120,2via (on Serial1/1)00:00:13!收到 RIP 廣播的時間via (on Serial1/1)00:00:13Router-A#sh ip route rip!僅顯示 RIP 學習到的路由120,1 via (on Serial1/1) 120,2 via (on Serial1/1)RR/24/24七、注意事項和排錯
18、1.2.3.只能直連的網段時不附加掩碼分配地址時最好是連續(xù)的子網,以免 RIP 匯聚出現(xiàn)錯誤八、配置序列Router-B#showrunning-configBuilding configuration.Current configuration:!ver1.3.2Eservice timestservice timests log dates debug dateno service password-encryption!hostname Router-B!erface FastEthernet0/0ip address no ip directed-broadcast!erfaerial
19、1/0ip address no ip directed-broadcast!erface Async0/0 no ip addressno ip directed-broadcast!router ripnetwork network !九、共同思考1.2.3.為什么 B 沒有配置 RIP 協(xié)議時,A 沒有出現(xiàn) RIP 路由?如果不是連續(xù)的子網,回出現(xiàn)什么結果?RIP 的廣播周期是多少?十、課后練習將地址改為 /24 這個網段重復以上實驗路由器RIP-2 配置一、實驗目的1.2.3.掌握動態(tài)路由的配置方法理解 RIP-2 協(xié)議的工作過程理解 RIP-2 對變長子網掩碼的支持二、應用環(huán)境1.2
20、.3.4.5.在不連續(xù)的變長子網掩碼環(huán)境中,RIP-1 的自動匯總會得出錯誤的路由RIP-2 可以關閉自動匯總,從而得出正確的路由盡量不要分配不連續(xù)的子網在路由器較多的環(huán)境里,手工配置靜態(tài)路由給管理員帶來大的工作負擔在不太穩(wěn)定的網絡環(huán)境里,手工修改表不現(xiàn)實三、實驗設備1.2.3.DCR-1751 CR-V35FCCR-V35MT三臺一條一條四、實驗拓撲五、實驗要求配置表六、 實驗步驟第一步:參照實驗三,按照上表配置所有接口的 IP 地址,保證所有接口全部是 up 狀態(tài),測Router-ARouter-BRouter-CS1/1(DCE)/24S/1/0(DTE)/24F0/0/24F0/0/2
21、4F0/0/24E1/0/24試連通性第二步:配置 ROUTER-A 的 RIP-1 Router-A_config#router ripRouter-A_config_rip# network Router-A_config_rip#network Router-A_config_rip#Z第三步:查看 ROUTER-A 的路由表Router-A# sh ip route!在 RIP-1 里掩碼是沒有意義的Codes: C - connected, S - sic, R - RIP, B - BGP, BC - BGP connectedD - DEIGRP, DEX - external
22、DEIGRP, O - OSPF, OIA - OSPFer areaON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2 OE1 - OSPF external type 1, OE2 - OSPF external type 2DHCP - DHCP typeVRF ID: 0CC/24/24is directly connected, FastEthernet0/0is directly connected, Serial1/1第四步:配置 ROUTER-B 的 RIP-1 協(xié)議Router-B_config#r
23、outer ripRouter-B_config_rip#network Router-B_config_rip#network Router-B_config_rip#Z第五步:查看 ROUTER-B 上的路由表Router-B#show ip routeCodes: C - connected, S - sic, R - RIP, B - BGP, BC - BGP connected D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPFer areaON1 - OSPF NSSA external type 1, ON2 - OS
24、PF NSSA external type 2 OE1 - OSPF external type 1, OE2 - OSPF external type 2DHCP - DHCP typeVRF ID: 0RC C/16/24/24120,1 via (on Serial1/0)is directly connected, Serial1/0is directly connected, FastEthernet0/0 RIP-1 協(xié)議!注意是有類的地址第六步:配置路由器 C 的Router-C_config#router ripRouter-C_config_rip#net Router-C_
25、config_rip#net Router-C_config_rip#Z! RIP-1 是有類的路由協(xié)議第七步:再次查看路由器 B 的路由表Router-B#show ip routeCodes: C - connected, S - sic, R - RIP, B - BGP, BC - BGP connected D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPFer areaON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2 OE1 - OSPF ex
26、ternal type 1, OE2 - OSPF external type 2DHCP - DHCP typeVRF ID: 0R/16120,1 via (on Serial1/0) 120,1 via (on FastEthernet0/0)!由于有類路由的自動匯總,出現(xiàn)了錯誤的路由is directly connected, Serial1/0is directly connected, FastEthernet0/0CC/24/24第八步:在所有路由器上配置 RIP-2 協(xié)議并關閉自動匯總Router-C_config#router ripRouter-C_config#n 2!指
27、明為版本 2!關閉自動匯總Router-C_config# no auto-summaryRouter-B_config#router ripRouter-B_config_rip#ver2Router-B_config_rip#no auto-summaryRouter-A_config#router ripRouter-A_config_rip#ver2Router-A_config_rip#no auto-summary第九步:再次查看所有的路由表B 的路由表Router-B#sh ip routeCodes: C - connected, S - sic, R - RIP, B - B
28、GP, BC - BGP connected D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPFer areaON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2 OE1 - OSPF external type 1, OE2 - OSPF external type 2DHCP - DHCP typeVRF ID: 0R R R CC/16/24/24/24/24120,16 via (on FastEthernet0/0) 120,1 via (on Se
29、rial1/0) 120,1 via (on FastEthernet0/0)is directly connected, Serial1/0is directly connected, FastEthernet0/0!正確的路由A 的路由表Router-A#sh ip routeCodes: C - connected, S - sic, R - RIP, B - BGP, BC - BGP connected D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPFer areaON1 - OSPF NSSA external type
30、 1, ON2 - OSPF NSSA external type 2 OE1 - OSPF external type 1, OE2 - OSPF external type 2DHCP - DHCP typeVRF ID: 0C R CR/24/24/24/24is directly connected, FastEthernet0/0 120,2 via (on Serial1/1) is directly connected, Serial1/1120,1 via (on Serial1/1)!正確的路由Router-C#sh ip routeCodes: C - connected,
31、 S - sic, R - RIP, B - BGPD - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPFer areaON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2OE1 - OSPF external type 1, OE2 - OSPF external type 2R C RC/24/24/24/24120,2 via (onFastEthernet0/0)is directly connected,Ethernet1/0120,1 via (onF
32、astEthernet0/0) is directly connected,FastEthernet0/0!注意到所有網段都學習到了正確掩碼的路由第十步:相關的查看命令Router-A#show ip rip!顯示 RIP 狀態(tài)Router-A#sh ip rip protocol!顯示協(xié)議細節(jié)Router-A#show ip rip database! 顯示 RIP 數(shù)據(jù)庫Router-A#sh ip route rip!僅顯示 RIP 學習到的路由七、注意事項和排錯1.2.3.只能直連的網段時不附加掩碼分配地址時最好是連續(xù)的子網,以免 RIP 匯聚出現(xiàn)錯誤路由器廣域網PPP 封裝配置一、實
33、驗目的1.2.3.掌握廣域網 HDLC 封裝配置理解 DCE、DTE理解封裝匹配二、應用環(huán)境1.企業(yè)環(huán)境中異地的互連通常要經過第的配置不同的網絡,比如網通、電信等等,所以與局域網2.廣域網通常需要、帶寬比較有限、可靠性相比局域網要低三、實驗設備1.2.3.DCR-1751 CR-V35MTCR-V35FC兩臺一條一條四、實驗拓撲五、實驗要求Router-A接口S1/1 DCERouter-BIP 地址接口S1/0 DTEIP 地址六、實驗步驟第一步 Router-A 的配置Routerenable Router #configRouter _config#hostname Router-A!進
34、入模式!進入全局配置模式!修改機器名Router-A_config# tes1/1!進入接口模式!配置 IP 地址!封裝 PPP 協(xié)議!配置 DCE 時鐘頻率Router-A_config_s1/0#ip address Router-A_config_s1/1#encapsulation PPPRouter-A_config_s1/0#physical-layer speed 64000Router-A_config_s1/0#no shutdownRouter-A_config_s1/0#Z!按 ctrl + z 進入模式第二步:查看配置Router-A#showerfa1/1!查看接口狀
35、態(tài)!對端沒有配置,所以協(xié)議是 DOWN!查看 DCESerial1/0 is up, line protocol is downMode=Sync DSpeed=64000DTR=UP,DSR=UP,RTS=UP,CTS=DOWN,DCD=UPerface address is /24MTU 1500 bytes, BW 64 kbit, DLY 2000 usec!查看 IP 地址Encapsulation prototol PPP, link checkOctetsReceived0, Octets Sent 0erval is 10 sec!查看封裝協(xié)議Frames Received 0
36、, Frames Sent 0, Link-check Frames Received0Link-check Frames Sent 89,Loack times 0Frames Discarded 0, Unknown Protocols Frames Received 0, Sent failuile 0 Link-check Timeout 0, Queue Error 0, Link Error 0,60 second input rate 0 bits/sec, 0 packets/sec!60 second output rate 0 bits/sec, 0 packets/sec
37、!0 packets input, 0 bytes, 8 unused_rx, 0 no buffer0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort8 packets output, 192 bytes, 0 unused_tx, 0 underruns error:0 clock, 0 graceerQUICC SCC specific errors:0 recv allocb mblk fail0 transmitter queue full0 recv no buffer0 transmitter hwqueue
38、_full第三步:Router-B 的配置Routerenable Router #configRouter _config#hostname Router-B!進入模式!進入全局配置模式!修改機器名!進入接口模式!配置 IP 地址!封裝 PPP 協(xié)議Router-B_config# tes1/0Router-B_config_s1/0#ip address Router-B_config_s1/1#encapsulation PPPRouter-B_config_s1/0#no shutdownRouter-B_config_s1/0#Z!按 ctrl + z 進入模式第四步:查看配置Rou
39、ter-A#showerfa1/0!查看接口狀態(tài)!接口和協(xié)議都是 upSerial1/0 is up, line protocol is upMode=Sync DTEDTR=UP,DSR=UP,RTS=UP,CTS=DOWN,DCD=UPerface address is /24MTU 1500 bytes, BW 64 kbit, DLY 2000 usec!查看 DTE!查看 IP 地址Encapsulation prototol PPP, link checkOctetsReceived0, Octets Sent 0erval is 10 sec!查看封裝協(xié)議Frames Recei
40、ved 0, Frames Sent 0, Link-check Frames Received0Link-check Frames Sent 89,Loack times 0Frames Discarded 0, Unknown Protocols Frames Received 0, Sent failuile 0 Link-check Timeout 0, Queue Error 0, Link Error 0,60 second input rate 0 bits/sec, 0 packets/sec!60 second output rate 0 bits/sec, 0 packet
41、s/sec!0 packets input, 0 bytes, 8 unused_rx, 0 no buffer0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort8 packets output, 192 bytes, 0 unused_tx, 0 underruns error:0 clock, 0 graceerQUICC SCC specific errors:0 recv allocb mblk fail0 transmitter queue full0 recv no buffer0 transmitter hw
42、queue_full第五步:測試連通性Router-A# (): 56 data bytes!- sistics -5 packets transmitted, 5 packets received, 0% packet lossround-trip min/avg/max = 20/22/30 ms七、注意事項和排錯1.2.3.4.5.注意查看接口狀態(tài),接口和協(xié)議都必須是 UPCR-V35FC 所連的接口為 DCE,CR-V35MT 所連的接口為 DTE協(xié)議是 DOWN,通常是封裝不匹配、DCE 時鐘沒有配置接口是 DOWN,通常是線纜故障在實際工作中,DCE 設備通常由服務提供商配置,本實
43、驗是模擬環(huán)境八、配置序列路由器 A 的序列Router-A#show running-configBuilding configuration.路由器廣域網 PPP 封裝 PAP 驗證配置一、實驗目的1.2.掌握 PAP 驗證配置理解驗證過程二、應用環(huán)境基于安全的考慮,需要路由器雙方經過驗證后才能建立連接三、實驗設備1.2.3.DCR-1751CR-V35MT CR-V35FC兩臺一條一條四、實驗拓撲五、實驗要求Router-A接口S1/1 DCE帳號RouterARouter-BIP 地址IP 地址接口S1/0 DTE帳號RouterBdigitalchinaAdigitalchinaB六、
44、實驗步驟第一步 Router-A 的配置Routerenable Router #configRouter _config#hostname Router-A!進入模式!進入全局配置模式!修改機器名Router-A_config#username RouterB password digitallchinaB!設置帳號Router-A_config# tes1/1!進入接口模式!配置 IP 地址!封裝 PPP 協(xié)議!設置驗證方式Router-A_config_s1/0#ip address Router-A_config_s1/1#encapsulation PPPRouter-A_confi
45、g_s1/0#ppp authentication papRouter-A_config_s1/0#ppp pap sent-username RouterAdigitalchinaA!設置發(fā)送給對方驗證的帳號!配置 DCE 時鐘頻率Router-A_config_s1/0#physical-layer speed 64000Router-A_config_s1/0#no shutdownRouter-A_config_s1/0#Z!按 ctrl + z 進入模式第二步:查看配置Router-A#showerfa1/1!查看接口狀態(tài)!對端沒有配置,所以協(xié)議是 DOWN!查看 DCESerial
46、1/0 is up, line protocol is downMode=Sync DSpeed=64000DTR=UP,DSR=UP,RTS=UP,CTS=DOWN,DCD=UPerface address is /24MTU 1500 bytes, BW 64 kbit, DLY 2000 usec!查看 IP 地址Encapsulation prototol PPP, link checkOctetsReceived0, Octets Sent 0erval is 10 sec!查看封裝協(xié)議Frames Received 0, Frames Sent 0, Link-check Fram
47、es Received0Link-check Frames Sent 89,Loack times 0Frames Discarded 0, Unknown Protocols Frames Received 0, Sent failuile 0 Link-check Timeout 0, Queue Error 0, Link Error 0,60 second input rate 0 bits/sec, 0 packets/sec!60 second output rate 0 bits/sec, 0 packets/sec!0 packets input, 0 bytes, 8 unu
48、sed_rx, 0 no buffer0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort8 packets output, 192 bytes, 0 unused_tx, 0 underruns error:0 clock, 0 graceerQUICC SCC specific errors:0 recv allocb mblk fail0 transmitter queue full0 recv no buffer0 transmitter hwqueue_full第三步:Router-B 的配置Routerenabl
49、e Router #configRouter _config#hostname Router-BRouter-B_config#username Router!進入模式!進入全局配置模式!修改機器名!設置帳號!進入接口模式!配置 IP 地址!封裝 PPP 協(xié)議!設置驗證方式sword digitalchinaARouter-B_config# tes1/0Router-B_config_s1/0#ip address Router-B_config_s1/1#encapsulation PPPRouter-A_config_s1/0#ppp authentication papRouter-A
50、_config_s1/0#ppp pap sent-username RouterBdigitalchinaB!設置發(fā)送給對方驗證的帳號Router-B_config_s1/0#no shutdownRouter-B_config_s1/0#Z!按 ctrl + z 進入模式第四步:查看配置Router-A#showerfa1/0!查看接口狀態(tài)!接口和協(xié)議都是 up!查看 DTESerial1/0 is up, line protocol is upMode=Sync DTEDTR=UP,DSR=UP,RTS=UP,CTS=DOWN,DCD=UPerface address is /24MTU
51、 1500 bytes, BW 64 kbit, DLY 2000 usec!查看 IP 地址Encapsulation prototol PPP, link checkOctetsReceived0, Octets Sent 0erval is 10 sec!查看封裝協(xié)議Frames Received 0, Frames Sent 0, Link-check Frames Received0Link-check Frames Sent 89,Loack times 0Frames Discarded 0, Unknown Protocols Frames Received 0, Sent f
52、ailuile 0 Link-check Timeout 0, Queue Error 0, Link Error 0,60 second input rate 0 bits/sec, 0 packets/sec!60 second output rate 0 bits/sec, 0 packets/sec!0 packets input, 0 bytes, 8 unused_rx, 0 no buffer0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort8 packets output, 192 bytes, 0 unu
53、sed_tx, 0 underruns error:0 clock, 0 graceerQUICC SCC specific errors:0 recv allocb mblk fail0 transmitter queue full0 recv no buffer0 transmitter hwqueue_full第五步:測試連通性Router-A# (): 56 data bytes!- sistics -5 packets transmitted, 5 packets received, 0% packet lossround-trip min/avg/max = 20/22/30 ms
54、七、注意事項和排錯1.2.帳號一定要交叉對應,發(fā)送的帳號記配置 DCE 的時鐘頻率要和對方帳號數(shù)據(jù)庫中的帳號對應八、配置序列Router-A 的序列路由器廣域網PPP 封裝 CHAP 驗證配置一、實驗目的1.2.掌握 CHAP 驗證配置理解驗證過程二、應用環(huán)境基于安全的考慮,需要路由器雙方經過驗證后才能建立連接三、實驗設備1.2.3.DCR-1751CR-V35MT CR-V35FC兩臺一條一條四、實驗拓撲五、實驗要求Router-A接口S1/1 DCE帳號RouterARouter-BIP 地址IP 地址接口S1/0 DTE帳號RouterBdigitalchinadigitalchina六
55、、實驗步驟第一步 Router-A 的配置Routerenable Router #configRouter _config#hostname Router-ARouter-A_config#username RouterB password digitallchina!進入模式!進入全局配置模式!修改機器名!設置帳號Router-A_config# tes1/1!進入接口模式!配置 IP 地址!封裝 PPP 協(xié)議!設置驗證方式!設置發(fā)送給對方驗證的帳號!配置 DCE 時鐘頻率Router-A_config_s1/0#ip address Router-A_config_s1/1#encaps
56、ulation PPPRouter-A_config_s1/0#ppp authentication chap Router-A_config_s1/0#ppp chap hostname RouterA Router-A_config_s1/0#physical-layer speed 64000 Router-A_config_s1/0#no shutdownRouter-A_config_s1/0#Z!按 ctrl + z 進入模式第二步:查看配置Router-A#showerfa1/1!查看接口狀態(tài)!對端沒有配置,所以協(xié)議是 DOWN!查看 DCESerial1/0 is up, li
57、ne protocol is downMode=Sync DSpeed=64000DTR=UP,DSR=UP,RTS=UP,CTS=DOWN,DCD=UPerface address is /24MTU 1500 bytes, BW 64 kbit, DLY 2000 usec!查看 IP 地址Encapsulation prototol PPP, link checkOctetsReceived0, Octets Sent 0erval is 10 sec!查看封裝協(xié)議Frames Received 0, Frames Sent 0, Link-check Frames Received0L
58、ink-check Frames Sent 89,Loack times 0Frames Discarded 0, Unknown Protocols Frames Received 0, Sent failuile 0 Link-check Timeout 0, Queue Error 0, Link Error 0,60 second input rate 0 bits/sec, 0 packets/sec!60 second output rate 0 bits/sec, 0 packets/sec!0 packets input, 0 bytes, 8 unused_rx, 0 no
59、buffer0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort8 packets output, 192 bytes, 0 unused_tx, 0 underruns error:0 clock, 0 graceerQUICC SCC specific errors:0 recv allocb mblk fail0 transmitter queue full0 recv no buffer0 transmitter hwqueue_full第三步:Router-B 的配置Routerenable Router #con
60、figRouter _config#hostname Router-BRouter-B_config#username Router!進入模式!進入全局配置模式!修改機器名!設置帳號!進入接口模式!配置 IP 地址!封裝 PPP 協(xié)議!設置驗證方式sword digitalchinaRouter-B_config# tes1/0Router-B_config_s1/0#ip address Router-B_config_s1/1#encapsulation PPPRouter-A_config_s1/0#ppp authentication chapRouter-A_config_s1/0#
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五版汽車抵押貸款合同借款人借款用途變更通知合同3篇
- 二零二五年度城市軌道交通內部承包合同6篇
- 二零二五版企業(yè)日常經營客戶關系管理與維護合同2篇
- 二零二五年酒店員工入股與酒店服務體驗優(yōu)化合同3篇
- 二零二五年度廁所革命專項基金使用管理合同3篇
- 二零二五年度新能源風能發(fā)電設備研發(fā)制造合同2篇
- 二零二五版企業(yè)法人借款合同擔保協(xié)議3篇
- 2025版大清包勞務合同范本:二零二五年度文化活動組織執(zhí)行合同3篇
- 二零二五年海底光纜線路鋪設及安全保障合同3篇
- 2025年度祠堂宗教活動組織與承包合同2篇
- 2024年石家莊正定國際機場改擴建工程合同
- 2025年度愛讀書學長定制化閱讀計劃合同2篇
- 江西省港口集團有限公司招聘筆試沖刺題2025
- 河南省信陽市浉河區(qū)9校聯(lián)考2024-2025學年八年級上學期12月月考地理試題(含答案)
- 快速康復在骨科護理中的應用
- 國民經濟行業(yè)分類和代碼表(電子版)
- ICU患者外出檢查的護理
- 公司收購設備合同范例
- GB/T 44823-2024綠色礦山評價通則
- 廣東省潮州市2023-2024學年高二上學期語文期末考試試卷(含答案)
- 2024年光伏發(fā)電項目EPC總包合同
評論
0/150
提交評論