网络分类简述与数据链路层协议
- 实验拓扑

- 实验要求
- R1和R2使用PPP链路直连,R2和R3把2条PPP链路捆绑为PPP MP直连
- 按照图示配置IP地址
- R2对R1的PPP进行单向chap验证
- R2和R3的PPP进行双向chap验证
- 实验思路
- 给R1和R2的s3/0/0接口配置IP地址,网段192.168.1.0/24
- R2---主验证方,R1----被验证方,配置PPP协议。R2开启PPP协议,设置用户wqq,密码:123123,进入s3/0/0接口开启PPP协议,R1的s3/0/0接口配置PPP协议
- R2、R3链路聚合,创建MP-Group组,创建IP地址将接口加入MP-Group组
- R2---主验证方,R3----被验证方,配置PPP协议。
- R3---主验证方,R2----被验证方,配置PPP协议。
- 实验步骤
- 配置IP地址
R1int s3/0/0
R1-Serial3/0/0ip add 192.168.1.1 24
R1-Serial3/0/0
R2int s3/0/0
R2-Serial3/0/0ip add 192.168.1.2 24
- 配置R2对R1的PPP
R2:
R2aaa
R2-aaalocal-user wqq password cipher 123123
Info: Add a new user.
R2-aaalo
R2-aaalocal-user wqq se
R2-aaalocal-user wqq service-type ppp
R2-aaaint s3/0/0
R2-Serial3/0/0ppp au
R2-Serial3/0/0ppp authentication-mode chap
R2-Serial3/0/0link-
R2-Serial3/0/0link-protocol ppp
R1:
R1int s3/0/0
R1-Serial3/0/0ppp chap user wqq
R1-Serial3/0/0ppp chap password cipher 123123
R1-Serial3/0/0
测试:

- R2与R3链路聚合,创建MP-Group组,创建IP地址将接口加入MP-Group组
在R2上创建组并配置IP地中,将R2两个接口加入组中
R2int MP-Group 0/0/0
R2-Mp-group0/0/0ip add 192.168.2.2 24
R2-Mp-group0/0/0int s3/0/1
R2-Serial3/0/1ppp mp MP-Group 0/0/0
R2-Serial3/0/1int s4/0/0
R2-Serial4/0/0ppp mp MP-Group 0/0/0
在R2上创建组并配置IP地中,将R2两个接口加入组中
R3int MP-Group 0/0/0
R3-Mp-group0/0/0ip add 192.168.2.3 24
R3-Mp-group0/0/0int s3/0/0
R3-Serial3/0/0ppp mp MP-Group 0/0/0
R3-Serial3/0/0int s3/0/1
R3-Serial3/0/1ppp mp MP-Group 0/0/0
- R2---主验证方,R3----被验证方,配置PPP协议。
R2aaa
R2-aaalocal-user wqq password cipher 123123
R2-aaalocal-user wqq se
R2-aaalocal-user wqq service-type ppp
R2-aaaint s3/0/1
R2-Serial3/0/1ppp au
R2-Serial3/0/1ppp authentication-mode chap
R2-Serial3/0/1link-
R2-Serial3/0/1link-protocol ppp
R2-Serial3/0/1int s4/0/0
R2-Serial4/0/0ppp authentication-mode chap
R2-Serial4/0/0link-protocol ppp
R3int s3/0/0
R3-Serial3/0/0ppp chap user wqq
R3-Serial3/0/0ppp chap password cipher 123123
R3-Serial3/0/0int s3/0/1
R3-Serial3/0/1ppp chap user wqq
R3-Serial3/0/1ppp chap password cipher ******
测试:

5、R3---主验证方,R2----被验证方,配置PPP协议。
R3aaa
R3-aaalocal-user wqq password cipher 123123
Info: Add a new user.
R3-aaalocal-user wqq se
R3-aaalocal-user wqq service-type ppp
R3-aaaint s3/0/0
R3-Serial3/0/0ppp au
R3-Serial3/0/0ppp authentication-mode chap
R3-Serial3/0/0link-
R3-Serial3/0/0link-protocol ppp
R3-Serial3/0/0int s3/0/1
R3-Serial3/0/1ppp authentication-mode chap
R3-Serial3/0/1link-protocol ppp
R2int s3/0/1
R2-Serial3/0/1ppp chap user wqq
R2-Serial3/0/1ppp chap password cipher 123123
R2-Serial3/0/1int s4/0/0
R2-Serial4/0/0ppp chap user wqq
R2-Serial4/0/0ppp chap password cipher ******
测试:
