Chinaunix首页 | 论坛 | 博客
  • 博客访问: 573806
  • 博文数量: 130
  • 博客积分: 7473
  • 博客等级: 少将
  • 技术积分: 1466
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-10 22:29
文章分类

全部博文(130)

文章存档

2012年(1)

2011年(22)

2010年(2)

2009年(58)

2008年(47)

分类: 系统运维

2008-12-29 16:41:04

实验步骤:
++++++++++++++++++++++++++++++++++
router 0
++++++++++++++++++++++
en
conf t
no ip do lo
line c 0
exec-t 0 0
logg sync
exit
in s0/1
ip add 192.168.1.1 255.255.255.0
no sh
encap ppp
ppp authentication pap
sh
no sh
exit
username a password 0 123
in s0/1
peer default ip add 192.168.1.2
compress predictor
ip tcp header-compression
++++++++++++++++++++++++++++++
router 1
++++++++++++++++++++++++++
en
conf t
no ip do lo
line  c  0
exec-t 0 0
logg sync
exit
in s0/0
encapsulation ppp
sh
no sh
ip add negotiated
ppp pap sent-username a password 0 123
compress predictor
ip tcp header-compression
chap认证
实验步骤:
router 0
+++++++++++++++++++++++++++++
en
conf t
no ip do lo
line c 0
exec-t 0 0
logg sync
exit
in s0/1
ip add 192.168.1.1 255.255.255.0
no sh
encapsulation ppp
ppp authentication chap
peer default  ip add 192.168.1.2
ppp chap hostname a
username b pass 0 123
in s0/1
sh
no sh
+++++++++++++++++++++++++++++++
router 1
+++++++++++++++++++++++++++++++
en
conf t
no ip do lo
line  c 0
exec-t 0 0
logg sync
exit
in s0/0
encap ppp
no sh
no sh
ip add negotiated
ppp chap hostname b
exit
username a pass 0 123
阅读(1123) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~