Experiment Name: PPP PAP (CHAP) authentication
Experimental Purpose: Mastering the process and configuration of PPP PAP (CHAP) authentication
PPP protocol is located at the data link layer of the OSI seven layer model, and the PPP protocol is divided into two sub-layers according to function: LCP,
NCP. LCP is primarily responsible for chain
Road negotiation, establishment, callback, authentication, data compression, multi-link bundling and other functions.
NCP is primarily responsible for negotiating with upper-level protocols to provide services for network-layer protocols.
PPP is to verify the password during the establishment of the PPP link, verify the connection by establishing
verify not by removing the link.
PPP protocol supports two authentication methods, PAP and CHAP. PAP (Password authentication protocol,
password Authentication protocol) refers to verifying that both parties complete the verification process through two handshakes, It is a method for authenticating users who are trying to log on to the point on the
dot protocol server. The authentication request is initiated by the authenticated party and contains the validated
username and password. A reply is made after validation by the verifier, either through validation or validation failure. During the authentication process, the user name and the secret
Specific implementation code:
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/8A/DA/wKiom1g9PGjwhn5gAABUle3ZcJ8374.png-wh_500x0-wm_3 -wmp_4-s_3338480092.png "title=" code. png "alt=" wkiom1g9pgjwhn5gaabule3zcj8374.png-wh_50 "style=" Padding:0px;margin : 0px;vertical-align:top;border:none;float:none; "/>
Where CHAP's configuration is basically consistent with PAP
Verify:
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/8A/D5/wKioL1g9PGegin8EAABDIp9J11c136.png-wh_500x0-wm_3 -wmp_4-s_1047186488.png "title=" a authentication. png "alt=" wkiol1g9pgegin8eaabdip9j11c136.png-wh_50 "style=" Padding:0px;margin : 0px;vertical-align:top;border:none;float:none; "/>
PAP and CHAP authentication