cisco路由器ppp认证方式
来源:才华咖 本文已影响2.73W人
来源:才华咖 本文已影响2.73W人
一、实验拓扑
二、实验要求:
1、要求配置ppp协议
2、分别用pap、chap认证
3、配置总部的路由器给分部的路由器分配ip地址,并且从地址池中分配,
4、pc1最终能ping铜pc2
三、实验步骤:
1、配置各路由器接口的ip地址 如图---
2、封装ppp协议
R1(config)#interface s1/0
R1(config-if)#encapsulation ppp
R1(config-if)#clock rate 64000
R1(config-if)#ip address
R1(config-if)#no shut
R2(config)#interface s1/0
R2(config-if)#encapsulation ppp
R2(config-if)#no shut
R2(config-if)#clock rate 64000 配置DCE端时钟频率
3、配置IP地址池协商,并从地址池中获取
R1(config)#interface s1/0
R1(config-if)#peer default ip address pool aaa
R1(config-if)#ip local pool aaa
R2(config)#interface s1/0
R2(config-if)#ip address negotiated
查看 s1/0接口的`地址
R2#show interface s1/0
Serial1/0 is up, line protocol is up
Hardware is M4T
Internet address is 如果获取不到地址将接 shutdown 然后再 no shudown
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, LCP Open
Open: CDPCP, IPCP, crc 16, loopback not set
Keepalive set (10 sec)
4、启用rip协议 并查看路由表
R1(config)#router rip
R1(config-router)#network
R1(config-router)#network
查看路由表
R1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter ar
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-I
ia - IS-IS inter area, * - candidate default, U - per-user s
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
C is directly connected, FastEthernet0/0
is variably subnetted, 2 subnets, 2 masks
C is directly connected, Serial1/0
C is directly connected, Serial1/0
R [120/1] via , 00:00:47, Serial1/0
R2(config)#router rip
R2(config-router)#network
R2(config-router)#network
R2(config-router)#exit
查看路由表
R2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BG
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF in
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA externa
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2
ia - IS-IS inter area, * - candidate default, U - per-
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
is subnetted, 2 subnets
C is directly connected, Serial1/0
C is directly connected, Serial1/0
C is directly connected, FastEthernet0/0
5、配置PAP认证
R1(config)#username abc password 0 123
R1(config)#interface s1/0
R1(config-if)#ppp authentication pap
R2(config)#interface s1/0
R2(config-if)#ppp pap sent
R2(config-if)#ppp pap sent-username abc password 0 123
查看show run
interface Serial1/0
ip address negotiated
encapsulation ppp
serial restart-delay 0
clockrate 64000
ppp pap sent-username abc password 0 123
6、配置chap认证
R1(config)#username abc password 0 123 以对方的主机名作为用户名,密码要和对方的路由器一致
R1(config)#interface s1/0
R1(config-if)#ppp authentication pap
R1(config-if)#exit
R1(config)#username R2 password 0 123
R1(config)#interface s1/0
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication chap chap 认证
R2(config)#username R1 password 0 123
R2(config)#interface s1/0
R2(config-if)#encapsulation ppp
R2#debug ppp authentication
PPP authentication debugging is on 验证chap过程
思科认证实施Cisco IP交换网络考试
ACCD认证 Photoshop 试题
H3C路由器PPP连接的故障如何来解决
cisco路由器voip配置解析2016
华为认证CHS HCNP-R S-IEEP V2.0认证考试大纲
PHP中session和cookie无效的解决方法
思科认证辅导:cisco路由器忘记密码恢复
Cisco认证综合技术:提高VoIP服务质量的四个步骤
实施Cisco IP路由考试要点
华为认证HCNP-Storage-CDPS考试大纲
Adobe Photoshop CS6认证考试大纲
Adobe Photoshop CS专家认证模拟试题
IP-COM无线路由器限速设置方法
PHP创建和使用sessioncookie变量的方法
关闭Photoshop CS5右上角CS live的方法
Photoshop CS 认证试题详解
《People Description》的英语教学反思
tplink迷你路由器AP模式设置方法介绍
有关JavaScript中的prototype.bind()方法介绍
CSS 各种定位(position)方式的区别
晨读英语美文《Companionship of Books》
Photoshop CS6 GPU 常见问题解决方案
PPP资产证券化新政
解决php fsockopen的方法
Cisco路由器限速方法
Chimp Cops Arbitrate Disputes美文欣赏
Photoshop CS4/CS5/CS6永久序列号汇总
Zend studio for eclipse中使php可以调用mysql相关函数的设置方
2017年Adobe中国认证考试Photoshop CS模拟试题
cisco路由器ppp认证方式
Adobe认证Premiere Pro CS4考试大纲
最新Photoshop CS认证试题
php通过Chianz.com获取IP地址与地区的方法
2016年思科认证辅导:cisco路由器忘记密码恢复
Adobe认证Premiere Pro CS6考试大纲
PHP解密Unicode及Escape加密字符串
Why Public Speaking Is So Important 公共演说的重要性大学英语
Cisco笔试$Cisco$
Music Appreciation初中英语作文
路由器ap模式是什么意思