




已閱讀5頁,還剩4頁未讀, 繼續(xù)免費閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
實驗七 PPP協(xié)議配置一、實驗?zāi)康?、掌握PPP協(xié)議的配置;2、掌握PAP和CHAP協(xié)議配置;二、實驗設(shè)備Quidway S3928以太網(wǎng)交換機 1 臺Quidway S3026以太網(wǎng)交換機 1 臺Quidway S2116以太網(wǎng)交換機 1 臺Quidway AR28-12路由器2臺Quidway AR28-31路由器1臺計算機3臺,網(wǎng)線若干根,V.35DTE、DCE電纜線3對三、實驗原理及內(nèi)容:(一)PAP配置為了模擬實際環(huán)境,我們在實驗中采用背靠背直接相連來模擬廣域網(wǎng)連接。下面是簡單實驗的模擬實驗環(huán)境,共2臺路由器(其中RB為AR28-31),1臺交換機,2臺PC。1、路由器各接口IP地址設(shè)置如下:RTARTBE1202001/24202011/24S0192001/24192021/242、PC機的IP地址和缺省網(wǎng)關(guān)的IP地址如下:PCAPCBIPAddress2020022420201224Gateway202001202011為了保證配置不受影響,請在實驗之前清除路由器的所有配置后重新啟動。3、配置主機地址,參考下面的命令配置PAP協(xié)議:sysrasysname RARAinterface e0/1RA-Ethernet0/1ip addr 24RA-Ethernet0/1interface s0/0RA-Serial0/0ip addr 24RA-Serial0/0RA-Serial0/0ppp authentication-mode papRA-Serial0/0qRAlocal-user routerbRA-luser-routerbpassword simple helloRA-luser-routerbservice-type pppRA-luser-routerbquitRAsaveRAripRA-ripnetwork RA-ripnetwork RA-ripqRAsysQuidwaysysname RBRBINTERFACE E0/1RB-Ethernet0/1ip addr 24RB-Ethernet0/1interface s0/0RB-Serial0/0ip addr 24RB-Serial0/0RB-Serial0/0ppp pap local-user routerb password simple helloRB-Serial0/0qRBripRB-ripnetwork RB-ripnetwork 4、PC1與PC互相能夠ping通。該實驗配置簡單,但涉及的原理非常重要,在完成實驗時一定要掌握兩種驗證的原理和工作方式以及兩者的異同。E0/1/24PC1/24PC2/24RARBS0/0/24S1/1/24PC3/24RCS1/0/24S0/1/24E0/1/24E0/1/245、三臺路由器的PAP協(xié)議配置system-viewQuidwaysysname RARAinterface e0/1RA-Ethernet0/1ip addr 24RA-Ethernet0/1interface s0/0RA-Serial0/0ip addr 24RA-Serial0/0qRAripRA-ripnetwork RA-ripnetwork RA-ripqRAinterface s0/0RA-Serial0/0ppp authentication-mode papRA-Serial0/0qRAlocal-user routerbRA-luser-routerbpassword simple helloRA-luser-routerbservice-type pppRA-luser-routerbqRAsaveRAdisp ip rou Routing Table: public netDestination/Mask Protocol Pre Cost Nexthop Interface/8 DIRECT 0 0 InLoopBack0/32 DIRECT 0 0 InLoopBack0/24 DIRECT 0 0 Serial0/0/32 DIRECT 0 0 InLoopBack0/32 DIRECT 0 0 Serial0/0/24 RIP 100 1 Serial0/0/24 DIRECT 0 0 Ethernet0/1/32 DIRECT 0 0 InLoopBack0/24 RIP 100 1 Serial0/0/24 RIP 100 2 Serial0/0RAinterface s0/0RA-Serial0/0shutdownRA-Serial0/0undo shutdownRA-Serial0/0RA-Serial0/0disp cur# sysname RA#radius scheme system#domain system#local-user admin password cipher .USE=B,53Q=QMAF41! service-type telnet terminal level 3 service-type ftplocal-user routerb password simple hello service-type ppp#interface Aux0 async mode flow#interface Ethernet0/0 ip address dhcp-alloc#interface Ethernet0/1 ip address RA-Serial0/0system-viewQuidwaysysname RBRBinterface e0/1RB-Ethernet0/1ip addr 24RB-Ethernet0/1interface s1/0RB-Serial1/0ip addr 24RB-Serial1/0interface s1/1RB-Serial1/1ip addr 24RB-Serial1/1qRBripRB-ripnetwork RB-ripnetwork RB-ripnetwork RB-ripqRBinterface s1/0RB-Serial1/0ppp pap local-user routerb password simple helloRB-Serial1/0qRBinterface s1/1RB-Serial1/1ppp authentication-mode papRB-Serial1/1qRBlocal-user routercRB-luser-routercpassword simple helloRB-luser-routercservice-type pppRB-luser-routercqRBinterface s1/1RB-Serial1/1shutdownRB-Serial1/1undo shutdownRBdisp cur# sysname RB#radius scheme system#domain system#local-user admin password cipher .USE=B,53Q=QMAF41! service-type telnet terminal level 3 service-type ftplocal-user routerc password simple hello service-type ppp#interface Aux0 async mode flow#interface Ethernet0/0 ip address dhcp-alloc#interface Ethernet0/1 ip address #interface Ethernet3/0 ip address dhcp-alloc#interface Serial1/0 link-protocol ppp ppp pap local-user routerb password simple hello ip address #interface Serial1/1 link-protocol ppp ppp authentication-mode pap ip address #interface NULL0#rip network network network # FTP server enable#user-interface con 0user-interface aux 0user-interface vty 0 4 authentication-mode scheme#returnRBsystem-viewQuidwaysysname RCRCinterface e0/1RC-Ethernet0/1ip addr 24RC-Ethernet0/1interface s0/1RC-Serial0/1ip addr 24RC-Serial0/1qRCripRC-ripnetwork RC-ripnetwork RC-ripqRCinterface s0/1RC-Serial0/1ppp pap local-user routerc password simple helloRC-Serial0/1qRCdisp cur# sysname RC#radius scheme system#domain system#local-user admin password cipher .USE=B,53Q=QMAF41! service-type telnet terminal level 3 service-type ftp#interface Aux0 async mode flow#interface Ethernet0/0 ip address dhcp-alloc#interface Ethernet0/1 ip address #interface Serial0/0 clock DTECLK1 link-protocol ppp ip address dhcp-alloc#interface Serial0/1 clock DTECLK1 link-protocol ppp ppp pap local-user routerc password simple hello ip address #interface NULL0#rip network network # FTP server enable#user-interface con 0user-interface aux 0user-interface vty 0 4 authentication-mode scheme#returnRC(二)CHAP配置網(wǎng)絡(luò)拓撲圖如上1、兩臺路由器配置命令sysrasysname RARAinterface e0/1RA-Ethernet0/1ip addr 24RA-Ethernet0/1interface s0/0RA-Serial0/0ip addr 24RA-Serial0/0ppp authentication-mode chapRA-Serial0/0ppp chap user routeraRA-Serial0/0ppp chap password simple aaaRA-S
溫馨提示
- 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)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 財務(wù)主管職位離職信息保密及競業(yè)限制合同
- 北京農(nóng)商銀行理財合同復(fù)印
- 畜牧局考試題庫及答案
- 安全生產(chǎn)責(zé)任制的核心是什么內(nèi)容
- 安全生產(chǎn) 約談記錄
- 質(zhì)檢部的主要職責(zé)
- 安全生產(chǎn)許可證申領(lǐng)程序
- 衛(wèi)生院安全自查報告
- 防近月活動方案
- 施工企業(yè)安全生產(chǎn)教育培訓(xùn)制度
- 神經(jīng)生物學(xué)試題(卷)與答案解析6套
- GB∕T 10544-2022 橡膠軟管及軟管組合件 油基或水基流體適用的鋼絲纏繞增強外覆橡膠液壓型 規(guī)范
- FANUC機器人R-2000iA機械單元維護手冊
- 中國當代文學(xué)專題-國家開放大學(xué)2022年1月期末考試復(fù)習(xí)資料-漢語言本科復(fù)習(xí)資料
- SHR-500A高速混合機
- 擠密夯實水泥土樁復(fù)合地基工程監(jiān)理細則
- 機動車維修經(jīng)營備案表
- 井下作業(yè)質(zhì)量管理制度
- 超星爾雅學(xué)習(xí)通《國際金融》2020章節(jié)測試含答案(上)
- 污水處理工程調(diào)試和試運行手冊通用
- 國家開放大學(xué)電大??啤掇r(nóng)村社會學(xué)》期末試題及答案
評論
0/150
提交評論