实验拓扑

实验思路
- 配IP
- R2为主验证方,R1为被验证方
- R2和R3互为主被
实验配置
[R1]int s4/0/0
[R1-Serial4/0/0]ppp chap user wangdaye
[R1-Serial4/0/0]ppp chap password cipher 12345
[R1-Serial4/0/0]shutdown
[R1-Serial4/0/0]undo shutdown
[R2]int s4/0/0
[R2-Serial4/0/0]ip add 192.168.1.2 24
[R2]int Mp-group 0/0/0
[R2]int s3/0/0
[R2-Serial3/0/0]ppp mp Mp-group 0/0/0
[R2-Serial3/0/0]int s4/0/1
[R2-Serial4/0/1]ppp mp Mp-group 0/0/0
[R2]int Mp-group 0/0/0
[R2-Mp-group0/0/0]ip add 192.168.2.2 24
[R2]aaa
[R2-aaa]local-user wangdaye password cipher 12345
[R2-aaa]local-user wangdaye service-type ppp
[R2]int s4/0/0
[R2-Serial4/0/0]ppp authentication-mode chap
[R2]aaa
[R2-aaa]local-user hhy password cipher 12345
[R2-aaa]local-user hhy service-type ppp
[R2]int s3/0/0
[R2-Serial3/0/0]ppp authentication-mode chap
[R2-Serial3/0/0]int s4/0/1
[R2-Serial4/0/1]ppp authentication-mode chap
[R2]int s3/0/0
[R2-Serial3/0/0]ppp chap user hhh
[R2-Serial3/0/0]ppp chap password cipher 12345
[R2-Serial3/0/0]int s4/0/1
[R2-Serial4/0/1]ppp chap user hhh
[R2-Serial4/0/1]ppp chap password cipher 12345
[R3]int mp
[R3]int Mp-group 0/0/0
[R3]int s3/0/1
[R3-Serial3/0/1]ppp mp Mp-group 0/0/0
[R3-Serial3/0/1]int s4/0/0
[R3-Serial4/0/0]ppp mp Mp-group 0/0/0
[R3]int s3/0/1
[R3-Serial3/0/1]ppp chap user hhy
[R3-Serial3/0/1]ppp chap password cipher 12345
[R3]int s4/0/0
[R3-Serial4/0/0]ppp chap user hhy
[R3-Serial4/0/0]ppp chap password cipher 12345
[R3]aaa
[R3-aaa]local-user hhh password cipher 12345
[R3-aaa]local-user hhh service-type ppp
[R3-aaa]int s3/0/1
[R3-Serial3/0/1]ppp authentication-mode chap
[R3-Serial3/0/1]int s4/0/0
[R3-Serial4/0/0]ppp authentication-mode chap
测试:


1042

被折叠的 条评论
为什么被折叠?



