CCNA(Stand-ALONE)Lab 16-PPP With CHAP Authentication

简介:
Objective: Understand how Point-to-Point Protocol (PPP) encapsulation works and how to secure the connection with Challenge Handshake Authentication Protocol (CHAP).
Lab Equipment: Router 1 and Router 4 from the eRouters menu
Background Reading: Lab Primer Lesson 8: PPP with CHAP Authentication
1. Enter global configuration mode on Router 1, and change the host name to R1.
Router>enable
Router#conf t
Router(config)#hostname R1
R1(config)#

2. The enable secret password will be used along with the host name to access the other router. Set R1’s enable secret password to sameone.
R1(config)#enable secret sameone

3. On R1, configure a user name of R4 with the password myboson.
R1(config)#username R4 password myboson

4. Assign an IP address of 10.1.1.1 255.255.255.0 to R1’s serial 0 interface.
R1(config)#interface serial 0
R1(config-if)#ip address 10.1.1.1 255.255.255.0

5. On R1, set the encapsulation for the serial 0 interface to PPP.
R1(config-if)#encapsulation ppp

6. Next, set PPP authentication to CHAP on the serial 0 interface.
R1(config-if)#ppp authentication chap

7. Now, make sure the serial 0 interface is enabled.
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#

8. Connect to Router 4, and configure a host name of R4.
Router>enable
Router#config t
Router(config)#hostname R4
R4(config)#

9. Set an enable secret password of myboson on R4.
R4(config)#enable secret myboson

10. Add a user name of R1 with a password of sameone.
R4(config)#username R1 password sameone

11. Assign an IP address of 10.1.1.2 255.255.255.0 to the serial 0 interface on R4, and then enable the interface.
R4(config)#interface serial 0
R4(config-if)#ip address 10.1.1.2 255.255.255.0
R4(config-if)#no shutdown

12. configure the serial 0 PPP authentication to CHAP on R4.
R4(config-if)#ppp authentication chap

13. Enable PPP encapsulation on the serial 0 interface of R4. Now, watch the interface state change to up.
R4(config-if)#encapsulation ppp
R4(config-if)#exit
R4(config)#exit
R4#

14. To verify that the configuration is correct, ping Router1’s serial 0 interface from Router4.
R4#ping 10.1.1.1
************************************************




本文转自redking51CTO博客,原文链接:http://blog.51cto.com/redking/72266 ,如需转载请自行联系原作者

相关文章
|
安全 Shell 开发工具
|
安全 Shell 开发工具
|
网络虚拟化