Zusammenfassung der Ressource
PPP (Protocol
Point-to-Point)
- DESCRIPCION
- Comunicacion
serial: Bit a Bit
- Comunicaciones
externas: WAN
- Interfaces: RS232,
V.35, HSSI
- DTE = Router
- DCE = Modem
- Predecesor: HDLC
- Conexiones: Router to
Router, Host to Net
- Conexion : Routers
diferentes (no
cisco), PPP
- Opera en la capa
2 y 3 OSI
- PPP: sus protocolos
(HDLC, LCP, NCP)
- DUPLEX: sincrono
/ asincrono
- CONFIGURACION
- Configurando PPP
- R#show controllers s0/0/0
- R#show interfaces s0/0/0
- R3(config)#interface serial 0/0
- R3(config-if)#encapsulation ppp
- R3(config-if)#compress [predictor | stac]
- R3(config-if)#ppp quality 80
- Router(config-if)#ppp multilink
- R#debug ppp packet
- Configurando
Autenticacion PPP
- R1(config)#username <R3> password <cisco123>
- R1(config-if)#ppp authentication pap
- R1(config)#interface s0/0/0
- R1(config-if)#ppp pap sent-username <R1> password <cisco123>
- R1(config)#username <R3> password <cisco123>
- y luego el proceso inverso en el otro peer
- R1(config)#interface s0/0/0
- R1(config-if)#ppp authentication chap
- y luego en el otro peer
- Configurando Interface
Ethernet ATM PPPoE
- RCPE(config)#interface Ethernet 0/1
- RCPE(config-if)#pppoe enable
- RCPE(config-if)#pppoe-client dial-pool-number <1>
- Configurando Interface
PPPoE Dialer
- RCPE(config)#interface Dialer0
- RCPE(config-if)#ip address negotiated
- RCPE(config-if)#ip mtu 1492
- RCPE(config-if)#encapsulation ppp
- RCPE(config-if)#dialer pool 1
- OPERACION
- Formato de
trama PPP
- SEÑALADOR 1B:
Comienzo y fin de
trama 01111110
- DIRECCION
1B: broadcast
11111111
- CONTROL 1B:
negociacion entre
peers, actua LCP
- PROTOCOLO 2B:
id protocolo
capa superior
- DATOS var:
datagrama
superior(1500 B)
- FCS 4B: Deteccion
errores,
checksum
- Establecimiento de
sesion PPP
- FASE 1 :
Establecimiento del
enlace y
negociacion de la
configuracion (LCP)
- FASE 2 :
Determinacion
de la calidad
del enlace
(LCP)
- FASE 3 :
Negociacion de la
configuracion del
protocolo de capa
de red, transporte
de paquetes capa
3 (NCP)
- Opciones de
Configuracion
- AUTENTICACION:
Entre Routers
(PAP/CHAP)
- COMPRESION:
Reduce tamaño
trama (Stacker /
Predictor
- DETECCION ERRORES:
Libre de bucles
(Opciones Calidad /
Numero Magico)
- MULTIENLACE:
Varias
interfaces WAN
(Balanceo de
carga)
- DEVOLUCION
LLAMADAS: Aumenta
seguridad (Cliente /
Servidor)
- AUTENTICACION
- PAP: Proceso
de 2 vias y
solo una vez,
Sin
encriptacion
- CHAP: Proceso
de 3 vias y
periodico, Con
encriptacion
(hash)
- HASH=user+id+pass+numero
- PPP sobre Ethernet -
PPPoE
- RFC-2516
- CPE to PE_Aggregator PPP/HDLC,
conexion: Sobre Infraestructura
CAPA 1 (dsl, FO,Cu) y CAPA2(METH,
FR, ATM)
- FASE
DESCUBRIMIENTO:
- PADI_cpe: Pide servicio,
envia mac broadcast
- PADO_pe: Se ofrece servicios,
nombre, mac destino
- PADR_cpe: Solicita servicios
y pide pasar a sesion PPP
- PADS-ACK_pe: Asigna
IDsesion, MAC PE y confirma
sesion PPP
- Conocer las
MAC de los 2
extremos
CPE-PE
- FASE SESION
PPP:
- inicia tx datos PPP
- MRU PPPoE 1492 B
- Encapsula PPP
sobre trama
Ethernet