说明:R1,R3,R5,R7,R9的S1/1的地址为1.1.1.1/24,R2,R4,R6,R8,R10的S1/1的地址为1.1.1.2/24,实验步骤省略配置hostname和IP地址的过程!
一:PAP的单向认证,R1为认证方
R1(config)#username R2 password 0 123
R1(config)#interface serial 1/1
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication pap
R2(config)#interface serial 1/1
R2(config-if)#encapsulation ppp
R2(config-if)#ppp pap sent-username R2 password 0 123