网站大量收购独家精品文档,联系QQ:2885784924

RIP协议PPP封装(CHAPPAP验证)实例.doc

  1. 1、本文档共5页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
RIP协议PPP封装(CHAPPAP验证)实例

RIP协议+PPP 封装(CHAP+PAP验证)实例 一. 实验拓扑图和实验要求: 二. 部分配置: (1)R1与R2配Chap R1: R1(config) Hostname R1 R1(config) Username R2 password 121212 //R2被验证方主机名 R1(config) Int S0/0 R1(config-if) Ip address 12.12.12.1 255.255.255.0 R1(config-if) encapsulation ppp R1(config-if) PPP authentication chap R2: R2(config) Hostname R2 R2(config) Username R1 password 121212 //R1为主验证方主机 R2(config) Int S0/0 R2(config-if) Ip address 12.12.12.2 255.255.255.0 R2(config-if) encapsulation ppp R2(config-if) PPP authentication chap (2)R2和R3配PAP验证(采用单向认证,R2启动PAP): R2: R2(config) Hostname R2 R2(config) username cisco password 232323 //设置验证信息 R2(config) int S0/1 R2(config-if) ip address 23.23.23.2 255.255.255.0 R2(config-if) encapsulation PPP R2(config-if) PPP authentication PAP R3: R3(config) Hostname R3 R3(config) int S0/0 R3(config-if) ip address 23.23.23.3 255.255.255.0 R3(config-if) encapsulation PPP R3(config-if) ppp pap sent-username cisco password 232323 //发送验证信息 (3) R1 R2 R3 配置RIP R1: R1(config)# router rip R1(config-router)# network 10.1.1.0 R1(config-router)# network 12.12.12.0 R2: R2(config)# router rip R2(config-router) # network 12.12.12.0 R2(config-router)# network 23.23.23.0 R3: R3(config)# router rip R3(config-router)# network 23.23.23.0 R3(confg-router)# network 192.168.1.0 三. 实验结果验证: 实验完成,实验中PAP验证采用的是单向验证,双向认证为(R1跟R2同时启动pap) { R2: R2(config) username cisco password 232323 R2(config-if) ppp pap sent-username cisco password 232323 R3: R3(config) username cisco password 232323 R3(config-if) ppp pap sent-username cisco password 232323 } 备注: { Rip 是基于特定的软硬件实现 协议包: Request:请求包,向邻居通告自己的身份,请求特定的路由信息 Response:应答包,向邻居通告路由信息 封装: Rip 被UDP 封装,端口号520,目标IP:255.255.255.255,源IP:接口IP 工作流程: 启动Rip 进程,从

文档评论(0)

haihang2017 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档