设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 1708|回复: 1
收起左侧

PPP Over FR & RIP v2明文认证

[复制链接]
发表于 2010-8-23 22:21:24 | 显示全部楼层 |阅读模式
 R5:
  interface Virtual-Template1    //C、进入模板就和配置PPP一样了,配置IP,和封装。
  ip address 25.0.0.5 255.255.255.0
  ppp authentication chap
  !
  interface Serial0         //A、在接口封装FR,并且打开接口(no sh)
  no ip address
  encapsulation frame-relay
  no frame-relay inverse-arp
  !
  interface Serial0.1 point-to-point //B、创建子接口,再启用一个模板
  frame-relay interface-dlci 602 ppp Virtual-Template1
  
  R2:
  interface Virtual-Template1
  ip address 25.0.0.2 255.255.255.0
  ppp authentication chap
  !
  interface Serial0
  no ip address
  encapsulation frame-relay
  no frame-relay inverse-arp
  !
  interface Serial0.1 point-to-point
  frame-relay interface-dlci 206 ppp Virtual-Template1
  !
  =======================RIP AUTH==========================
  R2:
  key chain cisco   //A、定义一个明文的key,
  key 1
  key-string cisco
  interface Virtual-Template1
  ip address 25.0.0.2 255.255.255.0
  ip rip authentication key-chain cisco  //调用key,完成rip的认证
  ppp authentication chap
  !
  router rip  //启动rip路由协议,version 2,(version 1 没有认证)
  version 2
  passive-interface Loopback0
  network 2.0.0.0
  network 25.0.0.0
  neighbor 25.0.0.5
  no auto-summary
  R5:
  key chain cisco
  key 1
  key-string cisco
  interface Virtual-Template1
  ip address 25.0.0.5 255.255.255.0
  ip rip authentication key-chain cisco
  ppp authentication chap
  !
  router rip
  version 2
  passive-interface Loopback0
  network 5.0.0.0
  network 25.0.0.0
  neighbor 25.0.0.2
  no auto-summary
发表于 2012-11-10 16:56:12 | 显示全部楼层
这个能不能详细解释一下,什么用处
沙发 2012-11-10 16:56:12 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2024-5-19 20:25 , Processed in 0.065257 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

快速回复 返回顶部 返回列表