注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 Pass4sure CCNA640-802 v3..
 帮助

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


2008-04-18 12:58:05
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://redking.blog.51cto.com/27212/72266
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
************************************************

本文出自 “大唐网络” 博客,请务必保留此出处http://redking.blog.51cto.com/27212/72266





    文章评论
 
2008-06-23 14:28:43
特别关注!谢谢!!

2008-06-23 14:28:50
特别关注!谢谢!!

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: