Pap and chap Authentication in PPP
The experimental results show that there are two authentication methods in PPP: pap and chap, which can be used alone or in combination. And one-way authentication can be carried out as well as two-way authentication.
Pap verifies whether the remote user name and password match. Chap sends a challenge packet, and then the remote end uses md5 to calculate the user name and password of its own database and returns a value, and then verifies whether the value is consistent with the calculated value at the sender.
Basic configuration of the router:
Configure PAP authentication:
Verify PAP authentication
Configure CHAP authentication:
Verify CHAP: