网络分类简述与数据链路层协议

网络分类简述与数据链路层协议

  • 实验拓扑
  • 实验要求
  1. R1和R2使用PPP链路直连,R2和R3把2条PPP链路捆绑为PPP MP直连
  2. 按照图示配置IP地址
  3. R2对R1的PPP进行单向chap验证
  4. R2和R3的PPP进行双向chap验证
  • 实验思路
  1. 给R1和R2的s3/0/0接口配置IP地址,网段192.168.1.0/24
  2. R2---主验证方,R1----被验证方,配置PPP协议。R2开启PPP协议,设置用户wqq,密码:123123,进入s3/0/0接口开启PPP协议,R1的s3/0/0接口配置PPP协议
  3. R2、R3链路聚合,创建MP-Group组,创建IP地址将接口加入MP-Group组
  4. R2---主验证方,R3----被验证方,配置PPP协议。
  5. R3---主验证方,R2----被验证方,配置PPP协议。
  • 实验步骤
  1. 配置IP地址

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

R2\]int s3/0/0 \[R2-Serial3/0/0\]ip add 192.168.1.2 24 1. 配置R2对R1的PPP R2: \[R2\]aaa \[R2-aaa\]local-user wqq password cipher 123123 Info: Add a new user. \[R2-aaa\]lo \[R2-aaa\]local-user wqq se \[R2-aaa\]local-user wqq service-type ppp \[R2-aaa\]int s3/0/0 \[R2-Serial3/0/0\]ppp au \[R2-Serial3/0/0\]ppp authentication-mode chap \[R2-Serial3/0/0\]link- \[R2-Serial3/0/0\]link-protocol ppp R1: \[R1\]int s3/0/0 \[R1-Serial3/0/0\]ppp chap user wqq \[R1-Serial3/0/0\]ppp chap password cipher 123123 \[R1-Serial3/0/0

测试:

  1. R2与R3链路聚合,创建MP-Group组,创建IP地址将接口加入MP-Group组

在R2上创建组并配置IP地中,将R2两个接口加入组中

R2\]int MP-Group 0/0/0 \[R2-Mp-group0/0/0\]ip add 192.168.2.2 24 \[R2-Mp-group0/0/0\]int s3/0/1 \[R2-Serial3/0/1\]ppp mp MP-Group 0/0/0 \[R2-Serial3/0/1\]int s4/0/0 \[R2-Serial4/0/0\]ppp mp MP-Group 0/0/0 在R2上创建组并配置IP地中,将R2两个接口加入组中 \[R3\]int MP-Group 0/0/0 \[R3-Mp-group0/0/0\]ip add 192.168.2.3 24 \[R3-Mp-group0/0/0\]int s3/0/0 \[R3-Serial3/0/0\]ppp mp MP-Group 0/0/0 \[R3-Serial3/0/0\]int s3/0/1 \[R3-Serial3/0/1\]ppp mp MP-Group 0/0/0 1. R2---主验证方,R3----被验证方,配置PPP协议。 \[R2\]aaa \[R2-aaa\]local-user wqq password cipher 123123 \[R2-aaa\]local-user wqq se \[R2-aaa\]local-user wqq service-type ppp \[R2-aaa\]int s3/0/1 \[R2-Serial3/0/1\]ppp au \[R2-Serial3/0/1\]ppp authentication-mode chap \[R2-Serial3/0/1\]link- \[R2-Serial3/0/1\]link-protocol ppp \[R2-Serial3/0/1\]int s4/0/0 \[R2-Serial4/0/0\]ppp authentication-mode chap \[R2-Serial4/0/0\]link-protocol ppp \[R3\]int s3/0/0 \[R3-Serial3/0/0\]ppp chap user wqq \[R3-Serial3/0/0\]ppp chap password cipher 123123 \[R3-Serial3/0/0\]int s3/0/1 \[R3-Serial3/0/1\]ppp chap user wqq \[R3-Serial3/0/1\]ppp chap password cipher \*\*\*\*\*\* 测试: ![](https://file.jishuzhan.net/article/1775132644594421762/95933e7364e221b9bf84bab7d2d4e511.webp) 5、R3---主验证方,R2----被验证方,配置PPP协议。 \[R3\]aaa \[R3-aaa\]local-user wqq password cipher 123123 Info: Add a new user. \[R3-aaa\]local-user wqq se \[R3-aaa\]local-user wqq service-type ppp \[R3-aaa\]int s3/0/0 \[R3-Serial3/0/0\]ppp au \[R3-Serial3/0/0\]ppp authentication-mode chap \[R3-Serial3/0/0\]link- \[R3-Serial3/0/0\]link-protocol ppp \[R3-Serial3/0/0\]int s3/0/1 \[R3-Serial3/0/1\]ppp authentication-mode chap \[R3-Serial3/0/1\]link-protocol ppp \[R2\]int s3/0/1 \[R2-Serial3/0/1\]ppp chap user wqq \[R2-Serial3/0/1\]ppp chap password cipher 123123 \[R2-Serial3/0/1\]int s4/0/0 \[R2-Serial4/0/0\]ppp chap user wqq \[R2-Serial4/0/0\]ppp chap password cipher \*\*\*\*\*\* 测试: ![](https://file.jishuzhan.net/article/1775132644594421762/78491dd54cd001bd181e11182ed8da0e.webp)

相关推荐
网安Ruler15 小时前
UDS 协议分析及模拟测试
网络
皮卡蛋炒饭.16 小时前
进程得控制
linux·运维·服务器
weiwx8316 小时前
Nginx location 和 proxy_pass 配置详解
服务器·网络·nginx
西门吹-禅17 小时前
【sap fiori cds up error】
java·服务器·sap cap cds
互成19 小时前
加密系统哪款最好用?2026年五款加密系统深度对比测评
运维·网络·安全
minji...19 小时前
Linux 库制作与原理(三)深入动静态链接原理
linux·运维·服务器·c++
mftang19 小时前
WebSocket 通信协议详细解析
网络·websocket·网络协议
bukeyiwanshui19 小时前
Linux实践
linux·运维·服务器
ChoSeitaku19 小时前
NO.2|proto3语法|消息类型|通讯录|文件读取|enum类型
java·服务器·前端
野指针YZZ19 小时前
TCP包 wireshark抓包分析-RK3588
网络·tcp/ip·wireshark