实验三: PPP认证

 

实验目的:

1 PAP的单向认证

2 CHAP的单向认证

3 PAP/CHAP的双向认证

4 IP地址分配左边为1,右边为2

实验拓扑:

clip_image002

PAP单向认证:R2为认证方(server),R1为被认证方(client)

R1的配置:

interface Serial0/0

ip address 11.0.0.1 255.0.0.0

encapsulation ppp

ppp pap sent-username ceshi password 0 ceshi

R2的配置:

username ceshi password ceshi

interface Serial0/0

ip address 11.0.0.2 255.0.0.0

encapsulation ppp

ppp authentication pap

CHAP单向认证:R2为认证方(server),R1为被认证方(client)

R1的配置:

interface Serial0/0

ip address 11.0.0.1 255.0.0.0

encapsulation ppp

ppp chap hostname ceshi

ppp chap password 0 ceshi

R2的配置:

username ceshi password ceshi

interface Serial0/0

ip address 11.0.0.2 255.0.0.0

encapsulation ppp

ppp authentication chap

PAP/CHAP双向认证:

R1的配置:

username R2 password 0 cisco

interface Serial0/0

ip address 11.0.0.1 255.0.0.0

encapsulation ppp

ppp authentication chap

R2的配置:

username R1 password 0 cisco

interface Serial0/0

ip address 11.0.0.2 255.0.0.0

encapsulation ppp

ppp authentication chap

你可能感兴趣的:(职场,IP地址,休闲,PPP认证)