PPP基本配置與認(rèn)證概述_第1頁(yè)
PPP基本配置與認(rèn)證概述_第2頁(yè)
PPP基本配置與認(rèn)證概述_第3頁(yè)
PPP基本配置與認(rèn)證概述_第4頁(yè)
PPP基本配置與認(rèn)證概述_第5頁(yè)
已閱讀5頁(yè),還剩2頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、 PPP基本配置與認(rèn)證n 實(shí)驗(yàn)?zāi)康?、 串行鏈路上的封裝概念。2、 PPP封裝。3、 掌握PAP認(rèn)證特點(diǎn)和配置方法。4、 掌握CHAP認(rèn)證特點(diǎn)和配置方法。n 實(shí)驗(yàn)要求給出串行通信基本知識(shí)、PPP組成、PAP和CHAP操作和配置。給出PPP配置驗(yàn)證、故障排除的基本命令和基礎(chǔ)理論。n 實(shí)驗(yàn)設(shè)備(環(huán)境、軟件)路由器三臺(tái)、串行DCE線纜2條,交叉線2條n 實(shí)驗(yàn)設(shè)計(jì)到的基本概念和理論給出PPP的基本組成、PPP鏈路建立步驟、PAP和CHAP的認(rèn)證特點(diǎn)。n 實(shí)驗(yàn)過程和主要步驟步驟一:路由器基本配置路由器A的ip配置:RouterA(config)#interface FastEthernet0/0Rout

2、erA(config-if)#ip address 192.168.1.2 255.255.255.0RouterA(config-if)#no shutdownRouterA(config)#interface Serial2/0RouterA(config-if)#ip address 10.10.10.1 255.0.0.0RouterA(config-if)#ip address 10.10.10.1 255.255.255.252RouterA(config-if)#no shutdown路由器B的ip配置:RouterB(config)#interface Serial2/0Rou

3、terB(config-if)#ip address 10.10.10.2 255.0.0.0RouterB(config-if)#ip address 10.10.10.2 255.255.255.252RouterB(config-if)#%LINK-5-CHANGED: Interface Serial2/0, changed state to upno shutdownRouterB(config-if)#clock rate 56000RouterB(config)#interface Serial3/0RouterB(config-if)#ip address 20.20.20.2

4、1 255.0.0.0RouterB(config-if)#ip address 20.20.20.21 255.255.255.252RouterB(config-if)#no shutdownRouterB(config-if)#clock rate 64000路由器C的ip配置:RouterC(config)#interface FastEthernet0/0RouterC(config-if)#ip address 192.168.2.2 255.255.255.0RouterC(config-if)#no shutdownRouterC(config)#interface Seria

5、l3/0RouterC(config-if)#ip address 20.20.20.22 255.0.0.0RouterC(config-if)#ip address 20.20.20.22 255.255.255.252步驟二:配置登錄用戶名和密碼RouterA(config)#username zhengguibing password 123RouterA(config)#line con 0RouterA(config-line)#login localRouterB(config)#username zhengguibing password 123RouterB(config)#

6、line con 0RouterB(config-line)#login localRouterC(config)#username zhengguibing password 123RouterC(config)#line con 0RouterC(config-line)#login local 步驟三: PPP封裝 步驟四:配置PAP和CHAP認(rèn)證PAP認(rèn)證:RouterA(config)#int s2/0RouterA(config-if)#encapsulation ppp%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/

7、0, changed state to downRouterA(config-if)#ppp pap sent-username RouterA password AAARouterB(config)#username RouterA password AAARouterB(config)#int s2/0RouterB(config-if)#encapsulation pppRouterB(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to upRouterB(confi

8、g-if)#ppp authentication pap%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to downRouterB(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to upRouterB(config)#int s2/0 RouterB(config-if)#encapsulation pppRouterB(config-if)#ppp pap sent-us

9、ername RouterB password CCCRouterA(config)#username RouterB password CCCRouterA(config)#int s2/0RouterA(config-if)#encapsulation pppRouterA(config-if)#ppp authentication pap%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to downRouterA(config-if)#%LINEPROTO-5-UPDOWN: Line pr

10、otocol on Interface Serial2/0, changed state to upChap認(rèn)證:RouterB(config)#username RouterC password BBBRouterB(config)#int s3/0RouterB(config-if)#encapsulation pppRouterB(config-if)#ppp authentication CHAPRouterC(config)#username RouterB password BBBRouterC(config)#int s3/0RouterC(config-if)#encapsul

11、ation pppRouterC(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to upRouterC(config-if)#ppp authentication CHAP步驟五:配置路由協(xié)議RouterA(config)#router ospf 1RouterA(config-router)#network 192.168.1.0 0.0.0.255 area 8RouterA(config-router)#network 10.10.10.0 0.0.0.3 area

12、 8RouterB(config)#router ospf 2RouterB(config-router)#network 10.10.10.0 0.0.0.3 area 8RouterB(config-router)#network20.20.20.20 0.0.0.3 area 8RouterC(config)#router ospf 3RouterC(config-router)#network 20.20.20.20 0.0.0.3 area 8RouterC(config-router)#network 192.168.2.0 0.0.0.255 area 8步驟六:查看并驗(yàn)證配置R

13、outerA#ping 10.10.10.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.10.10.2, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 31/31/32 msRouterA#debug ppp authenticationPPP authentication debugging is onRouterC#ping 20.20.20.21Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 20.20.20.21, timeout is 2 secon

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論