You are on page 1of 3

Actividad 2.4.

6: ccna 4
Configuracin de la autenticacin PAP y CHA

*configurar ospf
R1(config)#router ospf 1
R1(config-router)#network 10.1.1.0 0.0.0.3 area 0
R1(config-router)#network 192.168.10.0 0.0.0.255 area 0
R1(config-router)#exit
R1(config)#

*habilita la autenticacion ppp y la autentication chap


R1(config)#interface s 0/0/0

R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication pap
*autenticacion chap
R1(config-if)#ppp pap sent-username R1 password cisco123
R1(config-if)#exit
R1(config)#username R2 password cisco123
------R2(config)# router ospf 1
R2(config-router)#networ 209.165.200.224 0.0.0.3 area 0
R2(config-router)#networ 10.1.1.0 0.0.0.3 area 0
R2(config-router)#networ 10.2.2.0 0.0.0.3 area 0
R2(config-router)#exit
R2(config)#

*habilita la autenticacion ppp y la autentication chap

R2(config)#interface serial 0/0/0


R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication pap
*autentication pap
R2(config-if)#ppp pap sent-username R2 password cisco123
R2(config-if)#exit
R2(config)#username R1 password cisco123

R2(config)#interface s 0/0/1
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap
R2(config-if)#exit
R2(config)#username R3 password cisco123
*ruta predeterminada estatica (establecer y distribuir ruta)
R2(config)#ip route 0.0.0.0 0.0.0.0 s 0/1/0
R2(config)#router ospf 1
R2(config-router)#default-information originate
R2(config-router)#end
-------------R2(config)#username R3 password cisco123
R2(config)#ip route 0.0.0.0 0.0.0.0 s 0/1/0
R2(config)#router ospf 1
R2(config-router)#default-information originate
R2(config-router)#end

You might also like