0% found this document useful (0 votes)
148 views3 pages

PPP CHAP PAP + Ospf

The document describes the configuration of PPP connections between routers using PAP and CHAP authentication. It provides configuration examples to establish PPP sessions over serial interfaces between Router1-Router2 using CHAP authentication, and between Router4-Router3 using PAP authentication. It also shows a configuration for a PPPOE client on Router5 to provide broadband internet access to Router2 and Router3.

Uploaded by

jose.scribd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
148 views3 pages

PPP CHAP PAP + Ospf

The document describes the configuration of PPP connections between routers using PAP and CHAP authentication. It provides configuration examples to establish PPP sessions over serial interfaces between Router1-Router2 using CHAP authentication, and between Router4-Router3 using PAP authentication. It also shows a configuration for a PPPOE client on Router5 to provide broadband internet access to Router2 and Router3.

Uploaded by

jose.scribd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

PPP: Protocolo Punto a Punto, proporciona conexiones router a router y host a red, sobre circuitos síncronos y asíncronos.

Establece,
configura, mantiene y termina una conexión punto a punto.

PAP: Autenticación PPP, Protocolo de enlace de dos vías, de texto plano.

CHAP: Autenticación PPP, Protocolo de enlace de tres vías, de texto encriptado.

Comandos Configuración Interfaz, Encapsulación PPP, Autenticación CHAP:

R1#conf t R2#conf t
R1(config)#hostname router1 R2(config)#hostname router2
router1(config)#username router2 password cisco router2(config)#username router1 password cisco
router1(config)#interface serial 2/0 router2(config)#interface serial 2/0
router1(config-if)#ip add 172.16.0.1 255.255.255.252 router2(config-if)#ip add 172.16.0.2 255.255.255.252
router1(config-if)#clock rate 64000 router2(config-if)#no shutdown
router1(config-if)#no shu router2(config-if)#encapsulation PPP
router1(config-if)#no shutdown router2(config-if)#ppp authentication chap
router1(config-if)#encapsulation PPP router2(config-if)#do ping 172.16.0.1
router1(config-if)#ppp authentication chap router2(config)#router rip
router1(config-if)#do ping 172.16.0.2 router2(config-router)#version 2
router1(config)#router rip router2(config-router)#no auto-summary
router1(config-router)#version 2 router2(config-router)#network 172.16.0.0
router1(config-router)#network 192.168.1.0 router2(config-router)#network 80.80.80.0
router1(config-router)#network 172.160.0.0 router2(config-router)#
router1(config-router)#no auto-summary show interface serial1/0
show interface serial1/0

Comandos Configuración Interfaz, Encapsulación PPP, Autenticación PAP:

R4#conf t R3#conf t
R4(config)#hostname router4 R3(config)#hostname router3
router4(config)#username router3 password cisco router3(config)#username router4 password cisco
router4(config)#interface s2/0 router3(config)#interface s2/0
router4(config-if)#ip add 172.16.1.1 255.255.255.252 router3(config-if)#ip add 172.16.1.2 255.255.255.252
router4(config-if)#clock rate 64000 router3(config-if)#no shutdown
router4(config-if)#no shutdown router3(config-if)#encapsulation PPP
router4(config-if)#encapsulation PPP router3(config-if)#ppp authentication pap
router4(config-if)#ppp authentication pap router3(config-if)#ppp pap sent-username router3 password cisco
router4(config-if)#ppp pap sent-username router4 password cisco router3(config-if)#do ping 172.16.1.1
router4(config-if)#do ping 172.16.1.2 router3(config)#router rip
router4(config)#router rip router3(config-router)#version 2
router4(config-router)#version 2 router3(config-router)#network 80.80.80.0
router4(config-router)#network 192.168.2.0 router3(config-router)#network 172.16.1.0
router4(config-router)#network 172.16.1.0 router3(config-router)#no auto-summary

ASIGNAR IP A PC-1: ASIGNAR IP A PC-2:


PC-1> ip 192.168.1.10/24 192.168.1.1 PC-2> ip 192.168.2.10/24 192.168.2.1
Checking for duplicate address... Checking for duplicate address...
PC1 : 192.168.1.10 255.255.255.0 gateway 192.168.1.1 PC1 : 192.168.2.10 255.255.255.0 gateway 192.168.2.1
OPCIONAL DNS: OPCIONAL DNS:
PC1>ip dns 192.168.1.100 PC1>ip dns 192.168.2.100
ASIGNAR IP A INTERFAZ F0/0 DE router1: ASIGNAR IP A INTERFAZ F0/0 DE router4:
router1#conf t router4#conf t
router1(config)#interface f0/0 router4(config)#interface f0/0
router1(config-if)#ip add 192.168.1.1 255.255.255.0 router4(config-if)#ip add 192.168.2.1 255.255.255.0
router1(config-if)#no shutdown router4(config-if)#no shutdown
router1(config-if)#do ping 192.168.1.10 router4(config-if)#do ping 192.168.2.10

PPPOE PPPOE
R5#
R5#conf t
R5(config)#hostname router5
router5(config)#username router2 password cisco
router5(config)#username router3 password cisco
router5(config)#ip local pool POOLparaPPPoE 172.16.2.1 172.16.2.5
router5(config)#interface virtual-template 1
router5(config-if)#ip address 172.16.2.6 255.255.255.248
router5(config-if)#mtu 1492
router5(config-if)#peer default ip address pool POOLparaPPPoE
router5(config-if)#ppp authentication chap callin
router5(config-if)#exit
router5(config)#bba-group pppoe global
router5(config-bba-group)#virtual-template 1
router5(config-bba-group)#exit
router5(config)#interface f0/0
router5(config-if)#pppoe enable group global
router5(config-if)#no shutdown
router5(config-if)#
router2# router3#
router2#conf t router3#conf t
router2(config)#interface f0/0 router3(config)#interface f0/0
router2(config-if)#pppoe enable router3(config-if)#pppoe enable
router2(config-if)#pppoe-client dial-pool-number 1 router3(config-if)#pppoe-client dial-pool-number 1
router2(config-if)#exit router3(config-if)#exit
router2(config)#interface dialer 1 router3(config)#interface dialer 2
router2(config-if)#mtu 1492 router3(config-if)#mtu 1492
router2(config-if)#ip address negotiated router3(config-if)#ip address negotiated
router2(config-if)#encapsulation ppp router3(config-if)#encapsulation ppp
router2(config-if)#dialer pool 1 router3(config-if)#dialer pool 1
router2(config-if)#ppp authentication chap callin router3(config-if)#ppp authentication chap callin
router2(config-if)#ppp chap hostname router2 router3(config-if)#ppp chap hostname router3
router2(config-if)#ppp chap password cisco router3(config-if)#ppp chap password cisco
router2(config-if)#exit router3(config-if)#exit
router2(config)#ip route 0.0.0.0 0.0.0.0 dialer 1 router3(config)#ip route 0.0.0.0 0.0.0.0 dialer 2
router2(config)#exit router3(config)#exit
router2#debug ppp authentication router3#debug ppp authentication
router2#debug pppoe events router3#debug pppoe events
router2(config)#interface f0/0 router3(config)#interface f0/0
router2(config-if)#no shutdown router3(config-if)#no shutdown
router2# router3#

You might also like