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
推荐阅读
- AuthenticationinRIPv2
- 我和女友与M636的"恩怨"
- PPP Over FR & RIP v2明文认证
- Men's Hairstyles 百变男士发型怎么用
- 来往5.3发布 新增"实时头像"和“附近”功能
- 工具篇 手足再飛H797--之"神"
- 忒逋婬鵁H797--眳"朸" 閉?萇赽抎
- 超级手机病毒看这个"XXshenqi.apk"怎么删除/防范
- PowerAMP显示太多失败文件无法播放
- 安装PowerAMP储存空间不足怎么办