本文主要是介绍ppp验证实验,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
实际操作图
1,IP划分分配
[r1]interface Serial 4/0/0
[r1-Serial4/0/0]ip add 192.168.1.1 24
[r2]interface Serial 4/0/0
[r2-Serial4/0/0]ip address 192.168.1.2 24
[r2]int Mp-group 0/0/0
[r2-Mp-group0/0/0]ip add 192.168.2.1 24
[r3]int Mp-group 0/0/0
[r3-Mp-group0/0/0]ip address 192.168.2.2 24
pp中mp使物理口合并IP划分给逻辑口上
2单项验证chap
[r2]aaa
[r2-aaa]local-user wangdaye password cipher wdy12345
Info: Add a new user.
[r2-aaa]local-user wangdaye service-type ppp
[r2]interface Serial 4/0/0
[r2-Serial4/0/0]ppp authentication-mode chap
[r1]interface Serial 4/0/0
[r1-Serial4/0/0]ppp chap user wangdaye
[r1-Serial4/0/0]ppp chap password cipher wdy12345
3双向验证chap
[r2]interface Serial 3/0/0
[r2-Serial3/0/0]ppp mp Mp-group 0/0/0
[r2]interface Serial 3/0/1
[r2-Serial3/0/1]ppp mp Mp-group 0/0/0
[r2]int Mp-group 0/0/0
[r3]interface Serial 4/0/0
[r3-Serial4/0/0]ppp mp Mp-group 0/0/0
[r3]interface Serial 4/0/1
[r3-Serial4/0/1]ppp mp Mp-group 0/0/0
[r2]aaa
[r2-aaa]local-user fudaye password cipher fdy12345
[r2-aaa]local-user fudaye service-type ppp
[r2]interface Serial 3/0/0
[r2-Serial3/0/0]ppp authentication-mode chap
[r2]interface Serial 3/0/1
[r2-Serial3/0/1]ppp authentication-mode chap
[r2-Serial3/0/0]ppp chap user goudaye
[r2-Serial3/0/0]ppp chap password cipher gdy12345
[r2-Serial3/0/1]ppp chap user goudaye
[r2-Serial3/0/1]ppp chap password cipher gdy12345
[r3]aaa
[r3-aaa]local-user goudaye password cipher gdy12345
Info: Add a new user.
[r3-aaa]local-user goudaye service-type ppp
[r3]interface Serial 4/0/1
[r3-Serial4/0/1]ppp authentication-mode chap
[r3]interface Serial 4/0/0
[r3-Serial4/0/0]ppp authentication-mode chap
[r3-Serial4/0/0]ppp chap user fudaye
[r3-Serial4/0/0]ppp chap password cipher fdy12345
[r3]interface Serial 4/0/1
[r3-Serial4/0/1]ppp chap user fudaye
[r3-Serial4/0/1]ppp chap password cipher fdy12345
这篇关于ppp验证实验的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!