




版權(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 南陽(yáng)市宛城區(qū)2025屆五年級(jí)數(shù)學(xué)第二學(xué)期期末復(fù)習(xí)檢測(cè)試題含答案
- 江蘇省南通市四校聯(lián)盟2025屆高考模擬金典卷數(shù)學(xué)試題(七)試題含解析
- 洛陽(yáng)職業(yè)技術(shù)學(xué)院《高等數(shù)學(xué)AⅡ》2023-2024學(xué)年第二學(xué)期期末試卷
- 江蘇省田家炳中學(xué)2025年高三下學(xué)期第三次月考試題綜合試題含解析
- 松花粉培訓(xùn)課件
- 湛江市大成中學(xué)高二上學(xué)期第一次月考物理試題
- 2025汽車租賃合同 標(biāo)準(zhǔn)版
- 顱內(nèi)血管畸形護(hù)理查房
- 2025吉林油田物資采購(gòu)合同
- 2025物業(yè)管理公司提供耗材服務(wù)的合同模板
- GB/T 3683-2023橡膠軟管及軟管組合件油基或水基流體適用的鋼絲編織增強(qiáng)液壓型規(guī)范
- 辦公用品供貨服務(wù)計(jì)劃方案
- 人防工程巡查檢測(cè)投標(biāo)方案
- 高中校本課程-徑向切槽復(fù)合循環(huán)指令G75教學(xué)設(shè)計(jì)學(xué)情分析教材分析課后反思
- 基于PLC的智能家居控制系統(tǒng)設(shè)計(jì)
- 外研版小學(xué)英語單詞表(一起)一至六年級(jí)1643
- 渡槽節(jié)制網(wǎng)加密測(cè)量報(bào)告
- 江蘇中能硅業(yè)科技發(fā)展有限公司硅烷法多晶硅產(chǎn)能替代項(xiàng)目環(huán)評(píng)報(bào)告
- 【中考數(shù)學(xué)幾何最值模型】第6講 阿氏圓問題 課件
- 鐵路集裝箱平車(F-TR鎖)裝卸作業(yè)標(biāo)準(zhǔn)
- 國(guó)家開放大學(xué)《漢語通論》形考任務(wù)1-4+終結(jié)性考核參考答案
評(píng)論
0/150
提交評(píng)論