PPP Over FR & RIP v2明文认证

王朝other·作者佚名  2008-05-31
宽屏版  字体: |||超大  

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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有