cisco路由器ppp认证方式
一、实验拓扑
二、实验要求:
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过程
-
WIFUND实施思科无线网络基础考试要点
200-355WIFUND实施思科无线网络基础考试时间为90分钟,涵盖与CCNA无线认证相关的60-70道考题。200-355WIFUND考试检验考生RadioFrequency(PF)及802.11等知识点,同时检测考生是否具备安装,配置,监控及基础故障排除小型企业的无线网络的'能力。下面的信息提供了实施...
-
需要网络工程师认证的人群
思科认证网络支持工程师认证证书说明了你拥有足够的网络知识去提供服务给中小型企业。以下是yjbys小编收集的需要网络工程师认证,希望大家认真阅读!A.大学生面对激烈竞争,每个大学生都在为使自己在人才市场上脱颖而出而努力,多一张国际通行证无疑是为他们在就业及...
-
思科认证无线路由密码设置方法
思科无线路由密码怎么设置?本文以TP-Link无线路由为例,其他无线路由密码设置其相似,路由器部分设置无线路由密码:(路由器地址及访问密码只提供默认值请自行替换自己设置的值)。◆打开浏览器在地址栏输入回车弹出设置无线路由密码提示窗。◆在密码提示窗输入用户名...
-
cisco交换机安全配置设定命令大全
思科交换机的安全怎么设置,下面yjbys为大家分交换机安全设置的配置命令,希望对同学们学习思科交换机有所帮助!一、交换机访问控制安全配置1、对交换机特权模式设置密码尽量采用加密和md5hash方式switch(config)#enablesecret5pass_string其中0SpecifiesanUNENCRY...