Cisco ppp链路单双认证

ppp链路认证实验

实验拓扑

在这里插入图片描述

实验需求

  1. 路由器A和B通过专线相连,路由器A和B相连网络的掩码为/30网段,两台路由器能通信
  2. 在路由器A与B上实现PAP认证,使两台路由器能互通
  3. 在路由器A与B上实现CHAP认证,使两台路由器能互通;

注意:认证者为R2,被认证者为R1;

实验思路

  1. 给两边路由器配置好IP地址,通过Ping测试联通性
  2. 设置PAP单向认证,通过Ping测试联通性
  3. 配置PAP双向认证,通过Ping测试联通性
  4. 配置CHAP单向认证,通过Ping测试联通性
  5. 配置CHAP双向认证,通过Ping测试联通性

实验步骤

1 配置IP 进行测试联通

办事处

Router>en
Router#conf ter
Enter configuration commands,one per line.End with CNTL/Z.
Router( config)#int s1/2
Router( config-if)#ip add 192.168.1.1 255.255.255.252
Router( config-if)#no shut

总部

Router>en
Router#conf ter
Enter configuration commands,one per line.End with CNTL/Z.
Router(config)#int s1/2
Router(config-if)#ip add 192.168.1.2 255.255.255.252
Router( config-if))#no shut

测试

总部路由器

Router( config-if)#doping192.168.1.1
Type escape sequence to abort.
Sending 5100-byteICMP Echos to 192.168.1.1,timeout is 2 seconds:
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max = 16/19/21ms

  • 0
    点赞
  • 17
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值