




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、精選優(yōu)質(zhì)文檔-傾情為你奉上實驗六:PPP基本配置與認證n 實驗?zāi)康?、 串行鏈路上的封裝概念。2、 PPP封裝。3、 掌握PAP認證特點和配置方法。4、 掌握CHAP認證特點和配置方法。n 實驗要求給出串行通信基本知識、PPP組成、PAP和CHAP操作和配置。給出PPP配置驗證、故障排除的基本命令和基礎(chǔ)理論。n 實驗拓撲(可選)n 實驗設(shè)備(環(huán)境、軟件)路由器三臺、串行DCE線纜2條,交叉線2條n 實驗設(shè)計到的基本概念和理論PPP不是專用協(xié)議.鏈路質(zhì)量管理功能監(jiān)視鏈路的質(zhì)量.PPP 允許同時使用多個網(wǎng)絡(luò)層協(xié)議。PPP 支持認證 PPP 組件:HDLC LCP NCPPPP 允許多個網(wǎng)絡(luò)層協(xié)議在
2、同一通信鏈路上運行。 對于所使用的每個網(wǎng)絡(luò)層協(xié)議,PPP 都分別使用獨立的 NCP。 NCP 包含了功能字段,功能字段中包含的標準化代碼用于指示 PPP 封裝的網(wǎng)絡(luò)層協(xié)議。與一次性身份驗證的 PAP 不同,CHAP 定期執(zhí)行消息詢問,以確保遠程節(jié)點仍然擁有有效的口令值。CHAP 通過使用唯一且不可預(yù)測的可變詢問消息值提供回送攻擊防護功能。 n 實驗過程和主要步驟一、 設(shè)備端口地址的分配情況設(shè)備端口IP地址子網(wǎng)掩碼PC0F192.1681.1255.255.255.0PC1F192.168.2.1255.255.255.0Router0F0/0192.168.1.2255.255.255.0S2
3、/010.10.10.1255.255.255.252Router1S2/010.10.10.2255.255.255.252S3/020.20.20.22255.255.255.252Router2F0/0192.168.2.2255.255.255.0S3/020.20.20.21255.255.255.252二、 路由器Router0上的配置Router>enableRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname R0R0(confi
4、g)#username R1 password rR0(config)#interface f0/0R0(config-if)#ip address 192.168.1.2 255.255.255.0R0(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upR0(config-if)#exitR0(config)#int
5、erface s2/0R0(config-if)#ip address 10.10.10.1 255.255.255.252R0(config-if)#encapsulation pppR0(config-if)#ppp authentication CHAPR0(config-if)#no shut%LINK-5-CHANGED: Interface Serial2/0, changed state to downR0(config-if)#exitR0(config)#ip route 20.20.20.20 255.255.255.252 s2/0R0(config)#ip route
6、192.168.2.0 255.255.255.0 s2/0R0(config)#end%SYS-5-CONFIG_I: Configured from console by consoleR0#copy running-config startup-configDestination filename startup-config? Building configuration.OKR0#三、 路由器Router1上的配置Router>enableRouter#config tEnter configuration commands, one per line. End with CN
7、TL/Z.Router(config)#hostname R1R1(config)#username R0 password rR1(config)#username R2 password rR1(config)#interface s2/0R1(config-if)#ip address 10.10.10.2 255.255.255.252R1(config-if)#encapsulation pppR1(config-if)#ppp authentication CHAPR1(config-if)#clock rate 9600R1(config-if)#no shut%LINK-5-C
8、HANGED: Interface Serial2/0, changed state to upR1(config-if)#exit%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to upR1(config)#interface s3/0R1(config-if)#ip address 20.20.20.22 255.255.255.252R1(config-if)#clock rate 9600R1(config-if)#encapsulation pppR1(config-if)#ppp a
9、uthentication CHAPR1(config-if)#no shut%LINK-5-CHANGED: Interface Serial3/0, changed state to upR1(config-if)#exitR1(config)#ip r%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up% Incomplete command.R1(config)#ip route 192.168.1.0 255.255.255.0 s2/0R1(config)#ip route 19
10、2.168.2.0 255.255.255.0 s3/0R1(config)#end%SYS-5-CONFIG_I: Configured from console by consoleR1#copy running-config startup-configDestination filename startup-config? Building configuration.OKR1#四、 路由器Router2上的配置Router>enableRouter#config tEnter configuration commands, one per line. End with CNTL
11、/Z.Router(config)#hostname R2R2(config)#username R1 password rR2(config)#interface f0/0R2(config-if)#ip address 192.168.2.2 255.255.255.0R2(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state
12、to upR2(config-if)#exitR2(config)#interface s3/0R2(config-if)#ip address 20.20.20.21 255.255.255.252R2(config-if)#encapsulation pppR2(config-if)#ppp authentication CHAPR2(config-if)#no shut%LINK-5-CHANGED: Interface Serial3/0, changed state to downR2(config-if)#exitR2(config)#ip route 10.10.10.0 255.255.255.252 s3/0R2(config)#ip route 192.168.1.0 255.255.255.0 s3/0R2(config)#end%SYS-5-CONFIG_I: Configured from console by consoleR2#copy running-config startup-configDestination filename startup-config? Building configuration.
溫馨提示
- 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)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 數(shù)學(xué)等比數(shù)列試題及答案
- 2025年數(shù)字出版與電子信息知識考試測試題及答案
- 拍賣基礎(chǔ)知識試題及答案
- 西方國家的文化政策對政治的影響試題及答案
- 西方網(wǎng)絡(luò)政治與公民參與試題及答案
- 今日頭條java校招面試題及答案
- 招聘護士試題及答案
- 南瑞集團java面試題及答案
- 2025年建筑材料與結(jié)構(gòu)力學(xué)考試題及答案
- 軟件設(shè)計師考試2025年專業(yè)技巧試題及答案
- 復(fù)雜應(yīng)用的C語言設(shè)計考題及答案
- 中華護理學(xué)會團體標準|2024 針刺傷預(yù)防與處理課件
- 國家開放大學(xué)國開電大《健康管理實務(wù)》形考及期末終考題庫
- 2025安全生產(chǎn)月全員安全主題宣講課件二十六(41ye)
- 浙江省杭州市保俶塔中學(xué)2025屆八下數(shù)學(xué)期末經(jīng)典試題含解析
- 2025水利工程總承包合同
- 2025入團積極分子發(fā)展對象考試題庫及答案詳解(必刷)
- 2025河南省農(nóng)業(yè)信貸擔保有限責任公司招聘32人筆試參考題庫附帶答案詳解
- 2025 年發(fā)展對象培訓(xùn)考試題及答案
- 《高效吸引目標客戶》課件
- 江蘇鎮(zhèn)江歷年中考作文題與審題指導(dǎo)(2003-2020)
評論
0/150
提交評論