PPP协议配置简介(doc 9页).doc_第1页
PPP协议配置简介(doc 9页).doc_第2页
PPP协议配置简介(doc 9页).doc_第3页
PPP协议配置简介(doc 9页).doc_第4页
PPP协议配置简介(doc 9页).doc_第5页
已阅读5页,还剩4页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

实验七 PPP协议配置一、实验目的1、掌握PPP协议的配置;2、掌握PAP和CHAP协议配置;二、实验设备Quidway S3928以太网交换机 1 台Quidway S3026以太网交换机 1 台Quidway S2116以太网交换机 1 台Quidway AR28-12路由器2台Quidway AR28-31路由器1台计算机3台,网线若干根,V.35DTE、DCE电缆线3对三、实验原理及内容:(一)PAP配置为了模拟实际环境,我们在实验中采用背靠背直接相连来模拟广域网连接。下面是简单实验的模拟实验环境,共2台路由器(其中RB为AR28-31),1台交换机,2台PC。1、路由器各接口IP地址设置如下:RTARTBE1202001/24202011/24S0192001/24192021/242、PC机的IP地址和缺省网关的IP地址如下:PCAPCBIPAddress2020022420201224Gateway202001202011为了保证配置不受影响,请在实验之前清除路由器的所有配置后重新启动。3、配置主机地址,参考下面的命令配置PAP协议: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协议配置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配置网络拓扑图如上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. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论