当前位置: 首页 > news >正文

使用ensp进行ppp协议综合实验

实验拓扑

实验划分

AR1的Serial3/0/0接口:192.168.1.1/24;

AR2的Serial3/0/0接口:192.168.1.2/24;

AR2的Serial3/0/1和4/0/0的聚合接口:192.168.2.2/24;

AR3的Serial3/0/0和3/0/1的聚合接口:192.168.2.3/24;

实验需求

1、R1和R2使用PPP链路直连,R2和R3把2条PPP链路捆绑为PPP MP直连
2、按照图示配置IP地址
3、R2对R1的PPP进行单向chap验证
4、R2和R3的PPP进行双向chap验证

实验结果

(1)、增加接口

设置里面下滑找到2SA添加接口

注意链接的线也需要使用Serial

(2)、配置接口IP并MP聚合R2和R3之间的链路

R1:

[R1]int s3/0/0
[R1-Serial3/0/0]ip address 192.168.1.1 24

R2:

[R2]int s 3/0/0	
[R2-Serial3/0/0]ip address 192.168.1.2 24
[R2]inter Mp-group 0/0/0
[R2-Mp-group0/0/0]ip ad 192.168.2.2 24
[R2-Mp-group0/0/0]q
[R2]inter ser3/0/1
[R2-Serial3/0/1]ppp mp Mp-group 0/0/0
[R2-Serial3/0/1]inter s4/0/0
[R2-Serial4/0/0]ppp mp Mp-group 0/0/0

R3:

[R3]inter Mp-group 0/0/0	
[R3-Mp-group0/0/0]ip address 192.168.2.3 24
[R3]inter s3/0/0
[R3-Serial3/0/0]ppp mp Mp-group 0/0/0
[R3-Serial3/0/0]inter s3/0/1
[R3-Serial3/0/1]ppp mp Mp-group 0/0/0

(3)、单向chap验证

R2做主验证方,R1做被验证方

R2:

[R2]aaa
[R2-aaa]local-user dumj password cipher 123456
[R2-aaa]local-user dumj service-type ppp
[R2]inter s3/0/0
[R2-Serial3/0/0]ppp authentication-mode chap

R1:

[R1]int s3/0/0
[R1-Serial3/0/0]ppp chap user dumj
[R1-Serial3/0/0]ppp chap password cipher 123456

验证:可以ping通,且接口双up

(4)、双向chap验证

R2做主验证方,R3做被验证方

R2:

[R2]aaa
[R2-aaa]local-user dumj password cipher 123456
[R2-aaa]local-user dumj service-type ppp
[R2]inter s3/0/1
[R2-Serial3/0/1]ppp authentication-mode chap
[R2-Serial3/0/1]int s4/0/0
[R2-Serial4/0/0]ppp authentication-mode chap

R3:

[R3]int s3/0/0
[R3-Serial3/0/0]ppp chap user dumj
[R3-Serial3/0/0]ppp chap password cipher 123456
[R3-Serial3/0/0]int s3/0/1
[R3-Serial3/0/1]ppp chap user dumj
[R3-Serial3/0/1]ppp chap password cipher 123456

R3做主验证方,R2做被验证方

R3:

[R3]aaa
[R3-aaa]local-user dumj password cipher 123456
[R3-aaa]local-user dumj service-type ppp
[R3]int s3/0/0
[R3-Serial3/0/0]ppp authentication-mode chap
[R3-Serial3/0/0]int s3/0/1
[R3-Serial3/0/1]ppp authentication-mode chap

R2:

[R2]int s3/0/1
[R2-Serial3/0/1]ppp chap user dumj
[R2-Serial3/0/1]ppp chap password cipher 123456
[R2-Serial3/0/1]inter s4/0/0
[R2-Serial4/0/0]ppp chap user dumj
[R2-Serial4/0/0]ppp chap password cipher 123456
http://www.lryc.cn/news/527054.html

相关文章:

  • 什么是AGI
  • RabbitMQ模块新增消息转换器
  • 验证二叉搜索树(力扣98)
  • vue3 vue2区别
  • IOS 自定义代理协议Delegate
  • 消息队列篇--扩展篇--码表及编码解码(理解字符字节和二进制,了解ASCII和Unicode,了解UTF-8和UTF-16,了解字符和二进制等具体转化过程等)
  • 2024年度总结——理想的风,吹进现实
  • 代码工艺:实践 Spring Boot TDD 测试驱动开发
  • 深度学习|表示学习|卷积神经网络|通道 channel 是什么?|05
  • PCDN的虚拟机与云主机区别
  • 计算机网络 (57)改进“尽最大努力交付”的服务
  • Redis 详解
  • 如何解压rar格式文件?8种方法(Win/Mac/手机/网页端)
  • 网络仿真工具Core环境搭建
  • Coze插件开发之基于已有服务创建并上架到扣子商店
  • ORACLE-主备备-Failover
  • wampserver + phpstrom 调试配置
  • Java Web-Cookie与Session
  • Couchbase UI: Dashboard
  • 每日 Java 面试题分享【第 13 天】
  • 探究 Facebook 隐私安全发展方向,未来走向何方?
  • 第三十一周学习周报
  • 白嫖一个可以公网访问、带评论和图床的博客系统
  • 定时器、计数器
  • Ubuntu Server连接wifi
  • 关于MySQL InnoDB存储引擎的一些认识
  • 深入剖析SpringBoot启动机制:run()方法详尽解读
  • Nginx中部署多个前端项目
  • 1688寻源通:赋能跨境贸易的高效业务平台
  • JVM深入学习(一)