实验报告
一、题目
实验拓扑如上
二、实验思路
- 先给R1 R2的S3/0/0配置IP
- 给R2 R3链路聚合 配置MP-Group
- 开启R2 PPP协议
- 单向验证
- 双向验证
三、实验过程
1.配置R1,R2,IP
[R1]int Serial 3/0/0
[R1-Serial3/0/0]ip address 192.168.1.1 24
[R2]int Serial 3/0/0
[R2-Serial3/0/0]ip address 192.168.1.2 24
2.R2R3链路聚合
[R2]int Mp-group 0/0/0
[R2]int Serial 3/0/1
[R2-Serial3/0/1]ppp mp Mp-group 0/0/0
[R2]int Serial 4/0/0
[R2-Serial4/0/0]ppp mp Mp-group 0/0/0
[R2]int Mp-group 0/0/0
[R2-Mp-group0/0/0]ip address 192.168.2.2 24
[R3]int Mp-group 0/0/0
[R3]int Serial 3/0/0
[R3-Serial3/0/0]ppp mp Mp-group 0/0/0
[R3]int Serial 3/0/1
[R3-Serial3/0/1]ppp mp Mp-group 0/0/0
[R3]int Mp-group 0/0/0
[R3-Mp-group0/0/0]ip address 192.168.2.3 24
3.开启ppp协议
[R2]aaa
[R2-aaa]local-user wangdaye password c
[R2-aaa]local-user wangdaye password cipher wdy12345
[R2-aaa]local-user wangdaye service-type ppp
[R2]int Serial 3/0/0
[R2-Serial3/0/0]ppp authentication-mode ?
chap Enable CHAP authentication
pap Enable PAP authentication
[R2-Serial3/0/0]ppp authentication-mode chap
[R1]int Serial 3/0/0
[R1-Serial3/0/0]ppp chap user wangdaye
[R1-Serial3/0/0]ppp chap password cipher wdy12345
4.单向
5.双向
R2-R3
[R2-aaa]local-user wangdaye password cipher wdy12345
[R2-aaa]local-user wangdaye service-type ppp
[R2-Serial3/0/1]ppp authentication-mode chap
[R2-Serial3/0/1]link-protocol ppp
[R2]int Serial 4/0/0
[R2-Serial4/0/0]ppp au
[R2-Serial4/0/0]ppp authentication-mode chap
[R2-Serial4/0/0]link-
[R2-Serial4/0/0]link-protocol ppp
[R3-aaa]local-user wangdaye password cipher wdy12345
[R3]int Serial 3/0/0
[R3-Serial3/0/0]ppp chap user wangdaye
[R3-Serial3/0/0]ppp chap password cipher wdy12345
[R3-Serial3/0/0]ppp pap local-user wangdaye password cipher wdy12345
R3-R2
[R3-aaa]local-user wangdaye password cipher wdy12345
[R3-aaa]local-user wangdaye service-type ppp
[R3-Serial3/0/0]ppp authentication-mode chap
[R3-Serial3/0/1]ppp authentication-mode chap
[R3-Serial3/0/1]link-protocol ppp
[R3-Serial3/0/0]link-protocol ppp
[R2]int Serial 3/0/1
[R2-Serial3/0/1]ppp chap user wangdaye
[R2-Serial3/0/1]ppp chap pass
[R2-Serial3/0/1]ppp chap password ci
[R2-Serial3/0/1]ppp chap password cipher wdy12345
[R2-Serial3/0/1]ppp pap local
[R2-Serial3/0/1]ppp pap local-user wangdaye pass
[R2-Serial3/0/1]ppp pap local-user wangdaye password ci
[R2-Serial3/0/1]ppp pap local-user wangdaye password cipher wdy12345
[R2-Serial3/0/1]q
[R2]int Serial 4/0/1
[R2-Serial4/0/1]ppp chap user wangdaye
[R2-Serial4/0/1]ppp chap password cipher wdy12345
[R2-Serial4/0/1]ppp pap local
[R2-Serial4/0/1]ppp pap local-user wangdaye pass
[R2-Serial4/0/1]ppp pap local-user wangdaye password ci
[R2-Serial4/0/1]ppp pap local-user wangdaye password cipher wdy12345