View Single Post
Tuổi 15-10-2009, 10:03 AM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
Lab. PPP authentication CHAP

Lab. PPP authentication CHAP



Topology

Yêu cầu

Router R2 sẽ chứng thực cho router R1 bằng giao thức CHAP. Mặc định sẽ gửi hostname đi để chứng thực.

Các bước cấu hình
  • Cấu hình cơ bản
R1(config)#int S0/0/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#exit
R2(config)#int S0/0/1
R2(config-if)#ip address 192.168.1.2 255.255.255.0
R2(config-if)#exit
  • Cấu hình chứng thực CHAP
R1(config)#username R2 password cisco
R1(config)#int S0/0/0
R1(config-if)#encapsulation ppp
R2(config)#username R1 password cisco
R2(config)#interface serial 0/0/1
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap
Kiểm tra cấu hình



Sử dụng các lệnh sau:
Router#ping
Router#debug ppp authentication



  Trả lời ngay kèm theo trích dẫn này