版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
1、Configuring Serial Point-To-Point EncapsulationLAN Extension into a WAN第1頁/共17頁Outline Overview HDLC Encapsulation Configuration PPP Layered Architecture PPP Configuration PPP Session Establishment PPP Authentication Protocols PPP Authentication Configuration Serial Encapsulation Configuration Verif
2、ication PPP Authentication Configuration Troubleshooting Summary第2頁/共17頁HDLC Frame Format 使用一個私有的區(qū)域來支持多協(xié)議的環(huán)境. 只支持單協(xié)議環(huán)境. 不支持認(rèn)證 優(yōu)點:簡單,易于配置第3頁/共17頁Configuring HDLC EncapsulationRouter(config-if)#encapsulation hdlc Enables HDLC encapsulation Uses the default encapsulation on synchronous serial interface
3、s第4頁/共17頁An Overview of PPP PPP can carry packets from several protocol suites using NCP. 負(fù)責(zé)對上層網(wǎng)絡(luò)協(xié)議提供支持(TCP/IP,IPX,AppleTalk) PPP controls the setup of several link options using LCP. 負(fù)責(zé)對下層物理鏈路進行建立控制.上層NCP(Network Control Protocol)下層LCP(Link Control Protocol)第5頁/共17頁PPP Session EstablishmentPPP sess
4、ion establishment:1. Link establishment 階段2. Authentication 階段(可選)Two PPP authentication protocols: PAP and CHAP3. Network layer protocol 階段第6頁/共17頁PPP Authentication Protocols: PAP Passwords sent in plaintext第7頁/共17頁PPP Authentication Protocols: CHAP This is an example of the Santa Cruz router auth
5、enticating to the HQ router. Hash values, not actual passwords, are sent across the link. The local router or external server is in control of authentication attempts. 第8頁/共17頁Configuring PPP and Authentication Overview第9頁/共17頁Configuring PPP and AuthenticationRouterX(config-if)# encapsulation ppp E
6、nables PPP encapsulationRouterX(config)# hostname name Assigns a hostname to your routerRouterX(config)# username name password password Identifies the username and password of remote router RouterX(config-if)# ppp authenticationchap | chap pap | pap chap | pap Enables PAP or CHAP authentication第10頁
7、/共17頁PPP and CHAP Configuration Examplehostname RouterXusername RouterY password sameone!int serial 0 encapsulation ppp ppp authentication chaphostname RouterYusername RouterX password sameone!int serial 0 encapsulation ppp ppp authentication chap第11頁/共17頁Verifying the PPP Encapsulation Configuratio
8、nRouterX# show interface s0Serial0 is up, line protocol is up Hardware is HD64570 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation PPP, loopback not set, keepalive set (10 sec) LCP Open Open: IPCP, CDPCP Last input 00:00:05, output 00:00:05, output hang never Last
9、 clearing of show interface counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 38021 packets input, 5656110 bytes, 0 no buffer Received 23488 broadcasts, 0 runts, 0
10、giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 38097 packets output, 2135697 bytes, 0 underruns 0 output errors, 0 collisions, 6045 interface resets 0 output buffer failures, 0 output buffers swapped out 482 carrier transitions DCD=up DSR=up DTR=up RTS=up CTS=upNCP
11、第12頁/共17頁LAB 1:PAP(Passsword Authentication Protocol)Step1:為對方創(chuàng)建賬號/密碼 R1(config)# Username BBB password 222 R2(config)# Username AAA password 222Step2:指定認(rèn)證方式 R1(config)#in s1/0 encap PPP ppp authentication pap no shut R2(config)#in s1/0 encap PPP ppp authentication pap no shutStep3:將對方為自己創(chuàng)建的賬號/密碼發(fā)送給
12、對方檢驗 R1(config-if)#ppp pap sent-username AAA password 111 R2(config-if)#ppp pap sent-username BBB password 222Step4:觀察認(rèn)證過程 #debug ppp authentication 第13頁/共17頁LAB 2:CHAP (Challenge Handshake Authentication Protocol)Step1:為對方創(chuàng)建賬號/密碼 R1(config)# Username R2 password AAA R2(config)# Username R1 password
13、 AAAStep2:指定認(rèn)證方式 R1(config)#in s1/0 ppp authentication chap no shut R2(config)#in s1/0 ppp authentication chap no shutStep3:觀察認(rèn)證過程 #debug ppp authentication第14頁/共17頁Verifying PPP AuthenticationRouterX# debug ppp authentication4d20h: %LINK-3-UPDOWN: Interface Serial0, changed state to up4d20h: Se0 PP
14、P: Treating connection as a dedicated line4d20h: Se0 PPP: Phase is AUTHENTICATING, by both4d20h: Se0 CHAP: O CHALLENGE id 2 len 28 from ”left4d20h: Se0 CHAP: I CHALLENGE id 3 len 28 from ”right4d20h: Se0 CHAP: O RESPONSE id 3 len 28 from ”left4d20h: Se0 CHAP: I RESPONSE id 2 len 28 from ”right4d20h:
15、 Se0 CHAP: O SUCCESS id 2 len 44d20h: Se0 CHAP: I SUCCESS id 3 len 44d20h: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to upThe debug ppp authentication command shows successful CHAP output第15頁/共17頁Summary PPP is a common Layer 2 protocol for the WAN. There are two components of PPP: LCP negotiates the connection and NCP encapsulates traffic. You can configure PPP
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年度成品油公路運輸合同模板(含供應(yīng)鏈金融)4篇
- 2025年度美容美發(fā)產(chǎn)品線上直播銷售與粉絲經(jīng)濟合作協(xié)議4篇
- 中小企業(yè)專項貸款合同(2024年度)版B版
- 二零二五年度害蟲防治與社區(qū)安全合同4篇
- 2025年度個人承包工程結(jié)算審計合同2篇
- 二零二五版木托盤租賃與物流標(biāo)準(zhǔn)化服務(wù)合同4篇
- 2025版現(xiàn)代農(nóng)業(yè)園區(qū)建設(shè)合作協(xié)議4篇
- 二零二五版民房建筑節(jié)能減排工程合同范本4篇
- 2025年害蟲防治與設(shè)施設(shè)備維護合同4篇
- 2025年度新型苗木種植基地購銷合作合同4篇
- 銷售與銷售目標(biāo)管理制度
- 人教版(2025新版)七年級下冊英語:寒假課內(nèi)預(yù)習(xí)重點知識默寫練習(xí)
- 2024年食品行業(yè)員工勞動合同標(biāo)準(zhǔn)文本
- 全屋整裝售后保修合同模板
- 高中生物學(xué)科學(xué)推理能力測試
- GB/T 44423-2024近紅外腦功能康復(fù)評估設(shè)備通用要求
- 2024-2030年中國減肥行業(yè)市場發(fā)展分析及發(fā)展趨勢與投資研究報告
- 運動技能學(xué)習(xí)
- 2024年中考英語專項復(fù)習(xí):傳統(tǒng)文化的魅力(閱讀理解+完型填空+書面表達)(含答案)
- 音樂培訓(xùn)合同與培訓(xùn)機構(gòu)的合作
- 移動商務(wù)內(nèi)容運營(吳洪貴)任務(wù)四 圖文類內(nèi)容的打造
評論
0/150
提交評論