Académique Documents
Professionnel Documents
Culture Documents
Introducción
Protocolo de Formato de RIPv1
Formato de RIPv2
Enrutamiento Caso de estudio
RIPv1/RIPv2 Configuración
Propiedad intelectual de Daniel Díaz @ 2014
Redistribución
Profesor Daniel Díaz Ataucuri
Profesor Titular de Telecomunicaciones
Universidad Nacional de Ingeniería
ddiaz@inictel-uni.edu.pe
Universidad Nacional Mayor de San Marcos
http://www.danieldiaza.com
ddiaz@inictel-uni.edu.pe
ddiaz1610@gmail.com
Lima, Enero–
INSTITUTO NACIONAL DE INVESTIGACION Diciembre
Y CAPACITACION de 2014
DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
INTRODUCCIÓN AL
PROTOCOLO RIP
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
RFC 2453 RIP version 2, Noviembre 1998
ddiaz@inictel-uni.edu.pe
RIP difunde su tabla de enrutamiento completa a
cada router vecino en intervalos de 30 segundos
► Dirección MAC=FF FF FF FF FF FF
RIPv1 – vs – RIPv2
RIPv1 envía sus actualizaciones en broadcast:
255.255.255.255
RIPv2 envía sus actualizaciones en multicast:
224.0.0.9
RIPv2 permite autenticación: texto plano o
Propiedad intelectual de Daniel Díaz @ 2014
cifrado MD5.
RIPv1 y RIPv2 se encapsulan en UDP.
ddiaz@inictel-uni.edu.pe
►En puerto utilizado es el 520.
ddiaz@inictel-uni.edu.pe
Cuando expira el route-timeout, se borrará la entrada de la
tabla de enrutamiento cuando expira el route-flush timer.
ACTUALIZACIONES SINCRONIZADAS
Cuando los routers envían actualizaciones al mismo
tiempo, se puede producir colisiones, retardos y
gran consumo de ancho de banda.
►El envío de actualizaciones al mismo tiempo se denomina
sincronización de actualizaciones.
►RIP puede experimentar problemas ya que envía actualizaciones
Propiedad intelectual de Daniel Díaz @ 2014
periódicas.
Cual es la solución.
►Para evitar la sincronización de actualizaciones, se considera una
ddiaz@inictel-uni.edu.pe
variable RIP_JITTER (usado por el IOS de cisco); cuyo valor
fluctúa entre 0% a 15%.
De este modo el intervalo de actualización varía entre 25 a
30 seg. en lugar de los 30 seg.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
FORMATO DEL
PROTOCOLO RIP
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Comando Versión 00 00
RIP es de requerimiento o
Address Family
00 00
respuesta.
Identifier
Máximo 25 por
►Requerimiento (1) pregunta a un
paquete RIP
Dirección IP
00 00 00 00
router por el envío total o parcial
de su tabla de enrutamiento.
Propiedad intelectual de Daniel Díaz @ 2014
00 00 00 00
Métrica
►Respuesta (2) puede ser una
Address Family 00 00
actualización de enrutamiento
Dirección IP
no solicitada o en respuesta a
ddiaz@inictel-uni.edu.pe
00 00 00 00
un requerimiento.
00 00 00 00 Version: Indica versión del
Métrica
protocolo RIP. Está en 1.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Comando Versión 00 00
AFI.
Address Family
►Especifica la familia de dirección
00 00
Identifier usada. RIP está diseñado para
Máximo 25 por
paquete RIP
Dirección IP
llevar información de enrutamiento
00 00 00 00
de varios tipos de protocolos.
►AFI está en 2 para IP.
Propiedad intelectual de Daniel Díaz @ 2014
00 00 00 00
Métrica
ddiaz@inictel-uni.edu.pe
00 00 00 00
Métrica: Indica cuantos
00 00 00 00
Métrica
routers atraviesa RIP.
►El valor está entre 1 a 15.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Máximo 25 por
paquete RIP
Version: Indica la versión Dirección IP
Máscara de subred
del protocolo RIP.
Propiedad intelectual de Daniel Díaz @ 2014
Salto siguiente
ddiaz@inictel-uni.edu.pe
Máscara de subred
excepción
►Si el AFI de la primera entrada Salto siguiente
Salto siguiente
Dirección IP: Indica el prefijo Métrica
Dirección IP
Máscara de Subred:
ddiaz@inictel-uni.edu.pe
Máscara de subred
Contiene la máscara de Salto siguiente
subred de entrada. Métrica
Identificador Indicador/Desplazam.
Protocolo
TTL Suma de Chequeo
11H = 17
Dirección IP de Origen
.
Dirección IP de Destino
Puerto de Origen Puerto de Destino
0208H = 520 0208H = 520
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
Dirección IP
Métrica
Trama Ethernet
S0/1
R1 .42
S0/0
.221 Lo1:132.2.4.7/16
Paquetes RIPv1
S0/0 Fa0/0
Propiedad intelectual de Daniel Díaz @ 2014
40.5.5.28/30
10.2.2.220/30 .41 .29
Red
R3
S0/1
.62
S0/1
.222
ddiaz@inictel-uni.edu.pe
S0/0
R2 .61
RIP v1
Lo2:172.32.6.7/16
0 8 16 31
02 01 00 00
00 02 00 00 00 02 00 00 00 02 00 00
0A 00 00 00 1E 00 00 00 AC 10 00 00
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
Propiedad intelectual de Daniel Díaz @ 2014
00 00 00 02 00 00 00 01 00 00 00 02
00 02 00 00 00 02 00 00 00 02 00 00
Red 20.0.0.0 Métrica 1
00 00 00 00 00 00 00 00 00 00 00 00
ddiaz@inictel-uni.edu.pe
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 01 00 00 00 01 00 00 00 02
S0/0
.70 R5
S0/1
Lo3:210.7.1.8/32 .6
Paquetes RIPv2
Fa0/1
40.5.5.28/30 S0/1
.30
Propiedad intelectual de Daniel Díaz @ 2014
.69 70.8.8.4/30
Red R4
S0/0
.205
S0/0
.5
ddiaz@inictel-uni.edu.pe
S0/1 R6
.206
RIP v2
Lo5:192.168.1.9/26
0 8 16 31
02 02 00 00
32 06 06 44 46 08 08 04 C9 01 01 00
FF FF FF FC FF FF FF FC FF FF FF 80
00 00 00 00 00 00 00 00 00 00 00 00
Propiedad intelectual de Daniel Díaz @ 2014
00 00 00 01 00 00 00 02 00 00 00 02
Red 192.168.1.0 Métrica 2
Red 60.7.7.204 Métrica 1
00 02 00 00 00 02 00 00 00 02 00 00
FF FF FF FC FF FF FF C0 FF FF FF FF
ddiaz@inictel-uni.edu.pe
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 01 00 00 00 02 00 00 00 01
CONFIGURACIÓN DE
PROTOCOLO
RIPv1/RIPv2
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
CONFIGURACION BASICA
Configurar RIPv1:
►Activar el protocolo RIPv1:
router rip
►Anunciar redes:
network <dirección de red>
Propiedad intelectual de Daniel Díaz @ 2014
Configurar RIPv2 en R4
►Activar el protocolo RIPv2:
router rip
►Especificar la versión 2:
ddiaz@inictel-uni.edu.pe
version 2
►Anunciar redes:
network <dirección de red>
PC2 .66
Fa2/0
Rb Rc .65
Fa1/0 Fa1/1
.2 .5 40.1.2.4/30 .6 .10
200.1.1.0/26 .18 200.1.1.128/26
PC1 Ra .1 .9 Re PC3
Propiedad intelectual de Daniel Díaz @ 2014
.1 Fa2/0
.2 .13 .130
Fa2/0 .22 .129
.17
.14 .21
.193
ddiaz@inictel-uni.edu.pe
Rd
Fa2/0
.194 PC4
200.1.1.192/26
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Ra#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
200.1.1.0/26 is subnetted, 1 subnets
C 200.1.1.0 is directly connected, FastEthernet2/0
40.0.0.0/30 is subnetted, 2 subnets
C 40.1.2.12 is directly connected, FastEthernet1/1
C 40.1.2.0 is directly connected, FastEthernet1/0
Ra#
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Rb#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
40.0.0.0/30 is subnetted, 3 subnets Rb#clear ip route *
C 40.1.2.0 is directly connected, FastEthernet1/1
C 40.1.2.4 is directly connected, FastEthernet1/0
C 40.1.2.16 is directly connected, FastEthernet2/0
Rb#
Rc#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
200.1.1.0/26 is subnetted, 1 subnets
C 200.1.1.64 is directly connected, FastEthernet2/0
40.0.0.0/30 is subnetted, 2 subnets
C 40.1.2.8 is directly connected, FastEthernet1/0
C 40.1.2.4 is directly connected, FastEthernet1/1
Rc#
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Rd#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
200.1.1.0/26 is subnetted, 1 subnets
C 200.1.1.192 is directly connected, FastEthernet2/0
40.0.0.0/30 is subnetted, 3 subnets
C 40.1.2.12 is directly connected, FastEthernet1/0
C 40.1.2.16 is directly connected, FastEthernet2/1
C 40.1.2.20 is directly connected, FastEthernet1/1
Rd#
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Re#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
200.1.1.0/26 is subnetted, 1 subnets
C 200.1.1.128 is directly connected, FastEthernet2/0
40.0.0.0/30 is subnetted, 2 subnets
C 40.1.2.8 is directly connected, FastEthernet1/1
C 40.1.2.20 is directly connected, FastEthernet1/0
Re#
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Ra(config)#
Rb>
Rb>enable
Rb#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ddiaz@inictel-uni.edu.pe
Rb(config)#router rip
Rb(config-router)#version 2
Rb(config-router)#network 40.0.0.0
Rb(config-router)#exit
Rb(config)#
Rc(config)#
Rd>
Rd>enable
Rd#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ddiaz@inictel-uni.edu.pe
Rd(config)#router rip
Rd(config-router)#version 2
Rd(config-router)#network 200.1.1.0
Rd(config-router)#network 40.0.0.0
Rd(config-router)#exit
Rd(config)#
Re(config)#
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
UN DETALLE: “SUMMARY”
Desde Ra como llega a 200.1.1.64/26
Ra# show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type
2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route Salto siguiente
40.1.2.14
Gateway of last resort is not set
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
C 40.1.2.12 is directly connected, FastEthernet1/1
C 40.1.2.0 is directly connected, FastEthernet1/0
R 40.1.2.4 [120/1] via 40.1.2.2, 00:00:11, FastEthernet1/0
R 40.1.2.16 [120/1] via 40.1.2.14, 00:00:25, FastEthernet1/1
[120/1] via 40.1.2.2, 00:00:11, FastEthernet1/0
R 40.1.2.20 [120/1] via 40.1.2.14, 00:00:25, FastEthernet1/1 Ra#clear ip route *
Ra# Borra la tabla de enrutamiento.
UN DETALLE: “SUMMARY”
Desde Rd como llega a 200.1.1.0/26
Rd#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type
2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route Salto siguiente
40.1.2.13
Gateway of last resort is not set
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
C 40.1.2.12 is directly connected, FastEthernet1/0
R 40.1.2.0 [120/1] via 40.1.2.18, 00:00:22, FastEthernet2/1
[120/1] via 40.1.2.13, 00:00:10, FastEthernet1/0
R 40.1.2.4 [120/1] via 40.1.2.18, 00:00:22, FastEthernet2/1
C 40.1.2.16 is directly connected, FastEthernet2/1
C 40.1.2.20 is directly connected, FastEthernet1/1
Rd#
Rb(config-router)#no auto-summary
Rb(config-router)#exit Re>enable
Rb(config)# Re#configure terminal
Enter configuration commands, one per line. End with NTL/Z.
Re(config)#router rip
Re(config-router)#no auto-summary
Rc>enable Re(config-router)#exit
ddiaz@inictel-uni.edu.pe
Rc#configure terminal Re(config)#
Enter configuration commands, one per line. End with NTL/Z.
Rc(config)#router rip
Rc(config-router)#no auto-summary
Rc(config-router)#exit
Rc(config)#
ddiaz@inictel-uni.edu.pe
R 40.1.2.8 [120/2] via 40.1.2.14, 00:00:00, FastEthernet1/1
[120/2] via 40.1.2.2, 00:00:10, FastEthernet1/0
C 40.1.2.12 is directly connected, FastEthernet1/1
C 40.1.2.0 is directly connected, FastEthernet1/0
R 40.1.2.4 [120/1] via 40.1.2.2, 00:00:10, FastEthernet1/0
R 40.1.2.16 [120/1] via 40.1.2.14, 00:00:00, FastEthernet1/1
[120/1] via 40.1.2.2, 00:00:10, FastEthernet1/0
R 40.1.2.20 [120/1] via 40.1.2.14, 00:00:06, FastEthernet1/1
Ra#
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
ddiaz@inictel-uni.edu.pe
R 40.1.2.8 [120/1] via 40.1.2.6, 00:00:10, FastEthernet1/0
R 40.1.2.12 [120/1] via 40.1.2.17, 00:00:14, FastEthernet2/0
[120/1] via 40.1.2.1, 00:00:12, FastEthernet1/1
C 40.1.2.0 is directly connected, FastEthernet1/1
C 40.1.2.4 is directly connected, FastEthernet1/0
C 40.1.2.16 is directly connected, FastEthernet2/0
R 40.1.2.20 [120/1] via 40.1.2.17, 00:00:17, FastEthernet2/0
Rb#
ddiaz@inictel-uni.edu.pe
C 40.1.2.8 is directly connected, FastEthernet1/0
R 40.1.2.12 [120/2] via 40.1.2.9, 00:00:12, FastEthernet1/0
[120/2] via 40.1.2.5, 00:00:24, FastEthernet1/1
R 40.1.2.0 [120/1] via 40.1.2.5, 00:00:24, FastEthernet1/1
C 40.1.2.4 is directly connected, FastEthernet1/1
R 40.1.2.16 [120/1] via 40.1.2.5, 00:00:24, FastEthernet1/1
R 40.1.2.20 [120/1] via 40.1.2.9, 00:00:13, FastEthernet1/0
Rc#
ddiaz@inictel-uni.edu.pe
R 40.1.2.8 [120/1] via 40.1.2.22, 00:00:00, FastEthernet1/1
C 40.1.2.12 is directly connected, FastEthernet1/0
R 40.1.2.0 [120/1] via 40.1.2.18, 00:00:00, FastEthernet2/1
[120/1] via 40.1.2.13, 00:00:24, FastEthernet1/0
R 40.1.2.4 [120/1] via 40.1.2.18, 00:00:00, FastEthernet2/1
C 40.1.2.16 is directly connected, FastEthernet2/1
C 40.1.2.20 is directly connected, FastEthernet1/1
Rd#
ddiaz@inictel-uni.edu.pe
R 40.1.2.12 [120/1] via 40.1.2.21, 00:00:22, FastEthernet1/0
R 40.1.2.0 [120/2] via 40.1.2.21, 00:00:22, FastEthernet1/0
[120/2] via 40.1.2.10, 00:00:27, FastEthernet1/1
show ip protocols
R
R
40.1.2.4 [120/1] via 40.1.2.10, 00:00:27, FastEthernet1/1
40.1.2.16 [120/1] via 40.1.2.21, 00:00:22, FastEthernet1/0
►Muestra el protocolo de
C
Re#
40.1.2.20 is directly connected, FastEthernet1/0 enrutamiento configurado
y sus parámetros.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
INTERFAZ PASIVA
Envío
Servidor
Se debe anunciar la red 200.1.1.4/24
actualizaciones?
.221
servidor, para que sea R1
S0/1
.42
22.2.2.220/30
.41
S0/0
R1(config)# router rip S0/1
.61
ddiaz@inictel-uni.edu.pe
R1(config-router)# network 22.2.2.220
R1(config-router)# network 20.3.3.40
R1(config-router)# passive-interface fastethernet 0/0
R1(config-router)# exit
R1#debug ip rip ; permite ver
R1(config)#
actualizaciones según se genere.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
PC2 .13
R5 R6 PC3
.2 .1 .5 .6
.14
200.2.3.0/24 R3 50.5.5.4/30 R4
Propiedad intelectual de Daniel Díaz @ 2014
R5#show ip route
R4#show
R3#showip route
ip route
50.0.0.0/30 is R1#show
R2#showsubnetted,
ip route
ip4 subnets
route
50.0.0.0/30
50.0.0.0/30 is subnetted,
is subnetted,4 subnets
4 subnets
R 50.5.5.0 [120/1]
50.0.0.0/30via 50.5.5.9,
is
50.0.0.0/30 00:00:01,
subnetted,
is FastEthernet0/1
400:00:22,
subnetted, subnets
4 subnets
R R50.5.5.0 [120/2]
50.5.5.0 via
[120/3] 50.5.5.13,
via 50.5.5.6, FastEthernet0/1
00:00:09, FastEthernet0/1
R 50.5.5.4
C [120/1]
C via
50.5.5.0 50.5.5.14,
is
50.5.5.0 directly
is 00:00:24,
connected,
directly FastEthernet0/0
FastEthernet0/0
connected, FastEthernet0/1
C C50.5.5.4 is directly connected, FastEthernet0/0
C R50.5.5.4
50.5.5.8
R R50.5.5.8
is directly
R
is connected,
50.5.5.4 directly
[120/2]
50.5.5.4
[120/1] via
connected,
[120/3]
50.5.5.13, via
FastEthernet0/1
FastEthernet0/1
via 50.5.5.10, 00:00:06,
50.5.5.2,
00:00:22, FastEthernet0/1
00:00:11, FastEthernet0/1
FastEthernet0/1
C 50.5.5.12
C 50.5.5.8 [120/2]
isRdirectly
50.5.5.8 via
connected,
is directly50.5.5.6, 00:00:09,
FastEthernet0/0
connected, FastEthernet0/1
FastEthernet0/1
ddiaz@inictel-uni.edu.pe
C R50.5.5.12
50.5.5.12 50.5.5.8
is directly
[120/1] [120/1]
connected,
via viaFastEthernet0/1
50.5.5.6, 50.5.5.2,
00:00:09,00:00:11, FastEthernet0/1
FastEthernet0/1
R 210.10.10.0/24 [120/1]
R R50.5.5.12 via
50.5.5.12 60.6.6.2,
[120/1] 00:00:08,
via 50.5.5.10,
[120/2] FastEthernet1/0
00:00:06,
via 50.5.5.2, FastEthernet0/1
00:00:11, FastEthernet0/1
R 210.10.10.0/24
R 210.10.10.0/24 [120/2] via
[120/3] 50.5.5.13,
via 50.5.5.6,00:00:22, FastEthernet0/1
00:00:09, FastEthernet0/1
R 200.2.2.0/24
R [120/2]
R via
210.10.10.0/24 50.5.5.9,
210.10.10.0/24 [120/2] 00:00:01,
via
[120/3] FastEthernet0/1
50.5.5.10,
via 00:00:06,
50.5.5.2, FastEthernet0/1
00:00:11, FastEthernet0/1
R 200.2.2.0/24
R 200.2.2.0/24 [120/3] via
[120/4] 50.5.5.13,
via 50.5.5.6, 00:00:22, FastEthernet0/1
00:00:09, FastEthernet0/1
R 200.2.3.0/24
R [120/2]
200.2.2.0/24 via
C 200.2.2.0/24 50.5.5.14,
[120/1] 00:00:24,
via 50.5.5.1,
is connected,
directly FastEthernet0/0
00:00:14,
connected, FastEthernet0/0
FastEthernet0/0
R 200.2.3.0/24
C 200.2.3.0/24 [120/1] via 50.5.5.5,
is directly 00:00:17, FastEthernet0/0
FastEthernet0/0
60.0.0.0/30
R is 200.2.3.0/24
subnetted,
R[120/1] 1
200.2.3.0/24 subnets
[120/3] via
[120/4] 50.5.5.10,
via 00:00:06,
50.5.5.2, FastEthernet0/1
00:00:11, FastEthernet0/1
R 60.0.0.0/8
R 60.0.0.0/8 via 50.5.5.13,
[120/2] via 50.5.5.6,00:00:22, FastEthernet0/1
00:00:09, FastEthernet0/1
C 60.6.6.0
R is 60.0.0.0/8
directly connected,
[120/1] FastEthernet1/0
via 50.5.5.10, 00:00:06, FastEthernet0/1
R 60.0.0.0/8 [120/2] via 50.5.5.2, 00:00:11, FastEthernet0/1
R4# R3#
R5# R2# R1#
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
PC2 .13
R5 R6 PC3
.2 .1 .5 .6
.14
200.2.3.0/24 R3 50.5.5.4/30 R4
Propiedad intelectual de Daniel Díaz @ 2014
Redes
ddiaz@inictel-uni.edu.pe
anunciadas
.10 60.6.6.0/30
.1 .2 .1 .2
.13
R5 R6 PC3
.2 .1 .5 .6
.14
ddiaz@inictel-uni.edu.pe
200.2.3.0/24 R3 50.5.5.4/30 R4
PC2
R5#configure terminal
R5(config)#router rip
R5(config-router)#default-information originate
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
PC2 .13
R5 R6 PC3
.2 .1 .5 .6 Desde RI, R2, R3, R4 y R6 se podrá ir a cualquier
.14 red, debido que sus tablas tiene la red 0.0.0.0
200.2.3.0/24 R3 50.5.5.4/30 R4
R2#show ip route
Propiedad intelectual de Daniel Díaz @ 2014
R1#show
R4#showip route
R3#showip routeip route
50.0.0.0/30 is
50.0.0.0/30 subnetted,
50.0.0.0/30
is 4 subnets
subnetted,
is R6#show
subnetted,
4 subnets ipsubnets
4 subnets route
C C50.5.5.0 is 50.0.0.0/30
directly is subnetted,
connected, 4
FastEthernet0/0
R50.5.5.0
R 50.5.5.0
is50.5.5.0
directly
[120/2] connected,
via 50.5.5.13,
[120/3] via FastEthernet0/1
00:00:02,
50.5.5.6, FastEthernet0/1
00:00:00, FastEthernet0/1
R R50.5.5.4 [120/2]
C50.5.5.4
50.5.5.4 via
[120/3]
is 50.5.5.10,
directly
via R 00:00:05,
50.0.0.0/8
50.5.5.2,
connected, FastEthernet0/1
00:00:24,[120/1] via
FastEthernet0/0 60.6.6.1,
FastEthernet0/1 00:00:04, FastEthernet0/1
C R50.5.5.8 Cis 50.5.5.4
directly is directly
connected, connected,
FastEthernet0/1 FastEthernet0/1
R50.5.5.8
R 50.5.5.8
[120/1]
[120/1]
50.5.5.8 via C 50.5.5.13,
[120/2] 210.10.10.0/24
50.5.5.2,
via via 00:00:24, is directly
00:00:02,
50.5.5.6, connected, FastEthernet0/0
FastEthernet0/1
FastEthernet0/1
00:00:00, FastEthernet0/1
R R50.5.5.12 [120/1]
C50.5.5.12
50.5.5.12 via
[120/2] 50.5.5.10,
is directly
via 00:00:05,
R connected,
200.2.2.0/24
50.5.5.2, 00:00:24, FastEthernet0/1
[120/3] via FastEthernet0/1
FastEthernet0/1 60.6.6.1, 00:00:04, FastEthernet0/1
FastEthernet0/1
ddiaz@inictel-uni.edu.pe
R
R 210.10.10.0/24 50.5.5.12
[120/2] via[120/1] via
50.5.5.10, 50.5.5.6,
00:00:05, 00:00:00,
FastEthernet0/1
R 210.10.10.0/24
R 210.10.10.0/24
R [120/3]
210.10.10.0/24 R[120/3]
[120/2]
via 200.2.3.0/24
50.5.5.2,
via 50.5.5.13,
via [120/3]
00:00:24, via FastEthernet0/1
00:00:02,
50.5.5.6, 60.6.6.1,
FastEthernet0/1
00:00:00, 00:00:04, FastEthernet0/1
FastEthernet0/1
R 200.2.2.0/24
C 200.2.2.0/24 [120/1]
R 200.2.2.0/24 via
is directly50.5.5.1,
[120/3] 00:00:04,
60.0.0.0/30
connected,
via 50.5.5.13, FastEthernet0/0
is00:00:02,
subnetted,
FastEthernet0/0 1 subnets
FastEthernet0/1
R 200.2.3.0/24R 200.2.2.0/24
[120/3] via [120/4]
50.5.5.10, via 50.5.5.6,
00:00:05, 00:00:00,
FastEthernet0/1FastEthernet0/1
R 200.2.3.0/24
R 200.2.3.0/24
C [120/4]
200.2.3.0/24[120/1]
via
isC via 60.6.6.0
50.5.5.2,
50.5.5.5,
directly is
00:00:24,directly
00:00:02,
connected, connected,
FastEthernet0/1 FastEthernet0/1
FastEthernet0/0
FastEthernet0/0
R 60.0.0.0/8
R 60.0.0.0/8[120/1]
R 60.0.0.0/8 via
[120/2] 50.5.5.10,
[120/1]
via 00:00:05,
R*50.5.5.13,
0.0.0.0/0
50.5.5.2,
via FastEthernet0/1
[120/1]
00:00:24,
00:00:02, via 60.6.6.1,
FastEthernet0/1 00:00:04, FastEthernet0/1
FastEthernet0/1
R* R*
0.0.0.0/0 R 60.0.0.0/8
[120/1] via [120/2]
50.5.5.10, via 50.5.5.6,
00:00:05, 00:00:00,
FastEthernet0/1 FastEthernet0/1
R*
0.0.0.0/0
0.0.0.0/0
R* [120/2]
[120/1]
0.0.0.0/0 via R6#
50.5.5.2,
via
[120/2] 50.5.5.13,
via Observar
00:00:24,
00:00:02,
50.5.5.6, que R5FastEthernet0/1
falta adicionar: no- auto-summary
FastEthernet0/1
FastEthernet0/1
00:00:00,
R2# R1# R4# De allí que aparezca en R1, R2, R3 y R4: 60.0.0.0/8
R3#
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
PC2 .13
R5 R6 PC3
.2 .1 .5 .6
.14
200.2.3.0/24 R3 50.5.5.4/30 R4
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
anunciadas
PC2 .13
R5 R6 PC3
.2 .1 .5 .6 .5 Enrutamiento
.14 estático
200.2.3.0/24 R3 50.5.5.4/30 R4 60.6.6.4/30
.6
.1 .2
Propiedad intelectual de Daniel Díaz @ 2014
R7 PC4
220.20.20.0/24
R5#configure terminal
R5(config)#router rip
R7(config)#ip route 0.0.0.0 0.0.0.0 60.6.6.5
R5(config-router)#default-information originate
►De R1 a R6 tienen la
ddiaz@inictel-uni.edu.pe
R5#configure terminal
R5(config)#ip route 220.20.20.0 255.255.255.0 60.6.6.6
ruta por defecto
R5(config)#exit ►“Todos” saben llegar a
R5
►Cuando se llegue a R5, la tabla estática indicará 220.20.20.0
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Fa0/0 .2 .21
.1 .10
.1 .2 .5
.18 .9 R6
Propiedad intelectual de Daniel Díaz @ 2014
Fa0/1
21.2.2.0/30
Fa0/0
.13
R1
R2
.14 .17
.10
R8
ddiaz@inictel-uni.edu.pe
ip route 0.0.0.0 0.0.0.0 21.2.2.2
R5 .129 Fa0/0
ip route 200.1.1.0 255.255.255.128 21.2.2.6
ip route 200.1.1.128 255.255.255.128 21.2.2.10
Fa0/1
21.2.2.0/30
Fa0/0
.13
R1 ip route
R1#show
R2
C .14 .17
21.2.2.0 is directly connected, FastEthernet0/1
.10
C 215.5.5.0/24 is directly connected, FastEthernet0/0
R8#show ip route
R8
ddiaz@inictel-uni.edu.pe
S* 0.0.0.0/0 [1/0] via 21.2.2.2
R1# C
R5
21.2.2.8 is directly connected, FastEthernet0/1 .129 Fa0/0
200.1.1.0/25 is subnetted, 1 subnets
C 200.1.1.128 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 21.2.2.9 .130
R8# PCc
200.1.1.128/25
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Fa0/1
21.2.2.0/30
Fa0/0
R 20.1.1.4
C C R [120/1]
.13
[120/2]
20.1.1.4 isvia
via 20.1.1.22,
20.1.1.2,
directly 00:00:27,
00:00:10,
connected, FastEthernet1/1
FastEthernet0/0
FastEthernet0/0
20.1.1.16
20.1.1.20 is directly
[120/1] connected,
via 20.1.1.9,FastEthernet0/0
00:00:12, FastEthernet0/0
R1 [120/1]
C R 20.1.1.4 via
is
20.1.1.0
R C 20.1.1.4
20.1.1.1,
directly
[120/1]
20.1.1.16[120/2] via00:00:07,
connected,
20.1.1.21, FastEthernet0/1
FastEthernet0/1
via 20.1.1.18,
is directly 00:00:07, FastEthernet1/0
00:00:15,
connected, FastEthernet0/0
FastEthernet0/1
R220.1.1.0
C C 20.1.1.0 is directly
is
R is[120/1] [120/2]
20.1.1.4
connected,
directlyvia connected,
20.1.1.5,
via
[120/1]
FastEthernet0/1
20.1.1.13,
via
FastEthernet0/0
00:00:10,
20.1.1.9, FastEthernet0/0
00:00:26, FastEthernet0/1
00:00:12, FastEthernet0/0
C R 20.1.1.12
20.1.1.12
R R R directly
20.1.1.12[120/1]
[120/1]via .14
connected, .17
20.1.1.2,
via FastEthernet1/0
00:00:10, FastEthernet0/0
20.1.1.0
20.1.1.0 [120/1]
[120/2] via20.1.1.21,
20.1.1.13,
via 00:00:07,
00:00:26,
20.1.1.17, FastEthernet1/0
00:00:02,FastEthernet0/1
FastEthernet0/1.10
R R 20.1.1.8 [120/1]
C 20.1.1.8 [120/1]
20.1.1.8 isvia 20.1.1.22,
via
directly 20.1.1.6, 00:00:00,
connected, FastEthernet1/1
00:00:14, FastEthernet0/1
FastEthernet0/1
C 20.1.1.12 is directly
[120/2] connected,
via 20.1.1.9, FastEthernet0/1
00:00:12, FastEthernet0/0
S R3#
215.5.5.0/24 [1/0] via 21.2.2.1 R8
ddiaz@inictel-uni.edu.pe
R4#
R2#
R R 20.1.1.820.1.1.12[120/1][120/1]R5
via 20.1.1.18, 00:00:15,
via 20.1.1.17, FastEthernet0/0
00:00:02, FastEthernet0/1
.129 Fa0/0
R5#C 20.1.1.8 is directly connected, FastEthernet0/0
No se indica 200.1.1.0/25 is subnetted, 2 subnets
como llegar a S 200.1.1.128 [1/0] via 21.2.2.10
todas las LAN S 200.1.1.0 [1/0] via 21.2.2.6 .130
R6# PCc
200.1.1.128/25
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Observar que no
se anuncia las LAN
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Fa0/0 .2 .21
.1 .10
.1 .2 .5
.18 .9 R6
Propiedad intelectual de Daniel Díaz @ 2014
Fa0/1
21.2.2.0/30
Fa0/0
.13
R1
R2
.14 .17
.10
R8
ddiaz@inictel-uni.edu.pe
R5(config)#router rip R5
R5(config-router)#redistribute static .129 Fa0/0
R5(config)#router rip
R5(config-router)#redistribute static
.130
PCc
200.1.1.128/25
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
C R is Rdirectly
20.1.1.0 20.1.1.4 [120/2]
20.1.1.20
connected, via
[120/1] 20.1.1.18, 00:00:07,
via 20.1.1.9,
FastEthernet0/1 FastEthernet0/0
00:00:15, FastEthernet0/0
C 20.1.1.0[120/1]
is directlyvia connected, FastEthernet0/0
20.1.1.5, 00:00:14, FastEthernet0/0
C 20.1.1.12 isCdirectly [120/2]
20.1.1.16 via
connected,is 20.1.1.13,
directly 00:00:12,FastEthernet0/1
connected,
FastEthernet1/0 FastEthernet0/1
R R 20.1.1.12
20.1.1.12[120/1] via via
[120/1] 20.1.1.2, 00:00:17,
20.1.1.21, FastEthernet0/0
00:00:00, FastEthernet1/0
R R [120/1]
20.1.1.8 R 20.1.1.0 [120/1]
20.1.1.4
via 20.1.1.22, via00:00:14,
[120/1] 20.1.1.13, 00:00:12,
via 20.1.1.9, FastEthernet0/1
00:00:15,
FastEthernet1/1 FastEthernet0/0
R C 20.1.1.8 [120/1]
20.1.1.8 via 20.1.1.6,
is directly connected,00:00:00, FastEthernet0/1
FastEthernet0/1
C is
200.1.1.0/25 R 20.1.1.12
20.1.1.0
subnetted, is2directly
[120/2] connected,
subnets FastEthernet0/1
via 20.1.1.17, 00:00:23, FastEthernet0/1
200.1.1.0/25
200.1.1.0/25 is subnetted,
is subnetted, 2 subnets
2 subnets
R R
200.1.1.128 20.1.1.8
[120/2] via [120/1]
[120/2] via 20.1.1.18,
20.1.1.22, 20.1.1.9,
00:00:15, 00:00:07,
00:00:15, FastEthernet0/0
FastEthernet0/0
FastEthernet1/1
R R 200.1.1.128
200.1.1.128 [120/2]
[120/1]via via20.1.1.6, 00:00:02,
20.1.1.10, FastEthernet0/1
00:00:22, FastEthernet0/1
200.1.1.0/25 is subnetted, 2 subnets
ddiaz@inictel-uni.edu.pe
R via20.1.1.12
[120/2] 20.1.1.14, [120/1] via
00:00:11, 20.1.1.17, 00:00:23, FastEthernet0/1
FastEthernet1/0
R R 200.1.1.0
200.1.1.0[120/2] via via
[120/1] 20.1.1.6, 00:00:03,
20.1.1.10, FastEthernet0/1
00:00:22, FastEthernet0/1
R R [120/2]
200.1.1.0 C 200.1.1.128
20.1.1.8 [120/1]
is directly
via 20.1.1.22, viaconnected,
20.1.1.18,
00:00:17, 00:00:09, FastEthernet0/0
FastEthernet0/0
FastEthernet1/1 Si se indica
R R215.5.5.0/24
215.5.5.0/24 [120/1]
[120/1]via via
20.1.1.2, 00:00:21,
20.1.1.21, FastEthernet0/0
00:00:02, FastEthernet1/0
R
[120/2] 200.1.1.0
200.1.1.0/25
via [120/1]
20.1.1.14, via 20.1.1.18,
is00:00:12,
subnetted, 00:00:09, FastEthernet0/0
2 subnets
FastEthernet1/0 como llegar
R3#R4#
R 215.5.5.0/24
S 215.5.5.0/24 S[1/0] 200.1.1.128 [120/1]
via 21.2.2.1 viavia
[1/0] 20.1.1.13,
21.2.2.1000:00:15, FastEthernet0/1 a las LAN
R2# R5#S 200.1.1.0 [1/0] via 21.2.2.6
R 215.5.5.0/24 [120/2] via 20.1.1.17, 00:00:26, FastEthernet0/1
[120/2] via 20.1.1.9, 00:00:18, FastEthernet0/0
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Observar que SI
se anuncia las LAN,
debido a la
redistribución
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
Porque no se observa el
anuncio de la LAN
215.5.5.0/24 ?
PUCP
R1
R3 R6
R8 PCb
RIPv2
UNMSM
VLSM 4
Propiedad intelectual de Daniel Díaz @ 2014
VLSM 5
110.2.3.0/24
PC2
192.168.1.0/24 VLSM 3
R4 Enlace WAN
ddiaz@inictel-uni.edu.pe
R7
192.168.1.2 220.2.2.2
192.168.1.3 220.2.2.3 Activar servidor DHCP.
60.50.40.0/24
R2 Cuando una de las PC solicite
192.168.1.4 220.2.2.4 una dirección IP dinámica,
192.168.1.63 2202.2.14 ésta se asignará en el rango:
192.168.1.64
192.168.1.64 220.2.2.15 192.168.1.254
192.168.1.254
INSTITUTO NACIONALTABLA DE NAT
DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
BIBLIOGRAFIA
RFC 2453 RIP version 2
Noviembre de 1998.
http://www.ietf.org/rfc/rfc1058.txt
Routing Information Protocol, Autor CISCO
http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/rip.pdf
RFC 1058 Routing Information Protocol
Propiedad intelectual de Daniel Díaz @ 2014
Junio de 1988.
http://www.ietf.org/rfc/rfc1058.txt
RFC 2082 MD5 Authentication
ddiaz@inictel-uni.edu.pe
http://www.ietf.org/rfc/rfc2082.txt
Introducción
Protocolo de Formato de OSPFv2
Enrutamiento Caso de estudio
Configuración
OSPFv2 Redistribución estática
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
Universidad Nacional Mayor de San Marcos
http://www.danieldiaza.com
ddiaz@inictel-uni.edu.pe
ddiaz1610@gmail.com
Lima, Enero–
INSTITUTO NACIONAL DE INVESTIGACION Diciembre
Y CAPACITACION de 2014
DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
CONFIGURACIÓN DE
PROTOCOLO
OSPFv2
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
de paquetes o mensajes.
► Lectura obligada.
ddiaz@inictel-uni.edu.pe
► Velocidad de convergencia. ► Mejor uso del ancho de
► Soporte de VLSM. banda.
► Grandes redes IP: Áreas. ► Se define “costos”.
Enrutamiento jerárquico.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
ddiaz@inictel-uni.edu.pe
Link State Ack (LSA) Cuando un router recibe un paquete LSU,
responde enviando un paquete LSA para
confirmar la recepción de LSU.
Router
El estado de enlace es la descripción Crea una base Llamado también
Base de datos de
de una interfaz y de su relación con los de datos Estado de Enlace
routers vecinos: dirección IP, máscara topológicas
ddiaz@inictel-uni.edu.pe
de subred, tipo de red conectada, etc.
AREA 0
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
REDES MULTIAREAS
SISTEMA AUTÓNOMO
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
ddiaz@inictel-uni.edu.pe
► El Área 0 es denominada también Área Backbone y en ella se
conectan las demás áreas.
FORMATO DEL
PROTOCOLO
OSPFv2
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Cabecera IPv4
► Indica la versión del protocolo Identificador Indicador/Desplazam.
Protocolo
OSPF, Versión 2. TTL
TTL
59H = 89
Suma
Suma de
de Chequeo
Chequeo
Dirección IP
Dirección IP de
de Destino
Destino
Indica el tipo de mensaje que
Longitud del
encapsula OSPF. Versión Tipo
paquete
Propiedad intelectual de Daniel Díaz @ 2014
Protocolo OSPF
► Tipo 3: Link-State Request-LSR Suma de Chequeo Tipo de Autenticación
ddiaz@inictel-uni.edu.pe
► Tipo 4: Link-State Update-LSU Autenticación
Autenticación
► Tipo 5: Link-State
Acknowledgement-LSA Formato del tipo de
Paquete OSPF
Cabecera IPv4
► Indica longitud del paquete OSPF, Identificador Indicador/Desplazam.
Protocolo
incluyendo la cabecera OSPF. TTL
59H = 89
Suma de Chequeo
Dirección IP de Destino
► Indica el ID del router que
Longitud del
originó en paquete OSPF. Versión Tipo
paquete
Propiedad intelectual de Daniel Díaz @ 2014
Protocolo OSPF
entre las IP activas y la Suma de Chequeo Tipo de Autenticación
ddiaz@inictel-uni.edu.pe
Autenticación
Campo ID del Área:
► Indica el área en el que se originó Formato del tipo de
Paquete OSPF
el paquete OSPF.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Cabecera IPv4
► Verifica todo el contenido del paquete OSPF,
Identificador Indicador/Desplazam.
ddiaz@inictel-uni.edu.pe
- 2 Autenticación MD5. Autenticación
Campo Autenticación:
► Campo de 64 bits, contiene la Formato del tipo de
Paquete OSPF
información de autenticación.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
ANÁLISIS DEL
PROTOCOLO
OSPFv2
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Longitud del
Paquetes Hello son paquetes
Versión Tipo=1
paquete OSPF tipo 1.
Protocolo OSPF
ID del Router
► Son enviados periódicamente a
ID del Área
todas las interfaces (incluyendo
Suma de Chequeo Tipo de Autenticación
los loopback) para definir/mantener
Autenticación
los vecinos. Elige el DR/DBR
Propiedad intelectual de Daniel Díaz @ 2014
Prioridad
Intervalo de Hello Opción
de Router
envían cada 10seg (IP 224.0.0.5)
► En segmentos multiacceso sin
ddiaz@inictel-uni.edu.pe
Intervalo de Dead Router
ddiaz@inictel-uni.edu.pe
En la figura, R1, R2 y R3 están conectados a
través de enlaces punto a punto. Por lo
tanto, no ocurre la elección de DR/BDR.
Máscara
Campo Máscara.
► Es la máscara de la red asociada
Protocolo HELLO
Prioridad
Intervalo de Hello Opción
de Router
Intervalo de Dead Router
con la interfaz emisora.
Router Designado (DR) Campo Intervalo de Hello.
Router Designado de Reserva (BDR) ► Define la frecuencia en seg. con
Lista de vecinos que un router envía un paquete Hello.
Propiedad intelectual de Daniel Díaz @ 2014
Campo de Opción:
DN O DC L NP MC E No
usado
ddiaz@inictel-uni.edu.pe
Campo Prioridad de Router:
► Usado para la elección de un router DR o BDR
► Si este campo está en 0, el router nunca será seleccionado como
DR o BDR. Por defecto este campo está en 1.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Máscara
Campo Intervalo Dead
Protocolo HELLO
ddiaz@inictel-uni.edu.pe
Es utilizado para seleccionar el router DR.
Campo de Router Designado de Respaldo (BDR):
► Selecciona el router BDR (cuando no escucha LSA desde el DR)
Lista de vecinos
► Enumera la ID del router OSPF de los routers vecinos.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
04 D3 00 00 OSPF
Hello
01 59H 00 BD
89 2D 00 00
FF FF FF 00
Protocolo HELLO
ddiaz@inictel-uni.edu.pe
00 00 00 00
00 0A 12 01
00 00 00 00
00 00 00 28
D0 03 03 01
00 00 00 00
CONFIGURACIÓN DE
PROTOCOLO
OSPFv2
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
ddiaz@inictel-uni.edu.pe
R1(config-router)# network 40.1.0.8 0.0.0.3 area 0
R1(config)#
R1
Área 1 Área 2
ddiaz@inictel-uni.edu.pe
Selección del Router Designado (DR):
► La interfaz con mayor prioridad permitira el router sea DR.
► Ante iguales prioridades se selecciona el de mayor ID-Router.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
ddiaz@inictel-uni.edu.pe
► Mayor prioridad Router DR.
► Segundo valor de prioridad Router BDR.
► Routers con igual prioridad Será DR el mayor ID-Router
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
LAN UNMSM
LAN UNI RED MULTIAREA 212.2.2.0/26
212.2.2.64/26
.... ....
R5
AREA 1 .2 .5 R6 AREA 2
.1
.65 R3 .1 .6
.13 R1 R8 .13 Rc
Ra .14 .2 AREA 0 .14
.22
.9 .2
Costo 1
.1
.17
20.1.1.16/30 .1
20.1.1.20/30
Costo 2
.9 .9
.21
Propiedad intelectual de Daniel Díaz @ 2014
.10
.18
ddiaz@inictel-uni.edu.pe
.129 R2 R9 .193
Sistema Autónomo
.... ....
212.2.2.128/26 212.2.2.192/26
LAN UNFV LAN INICTEL-UNI
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
LAN UNMSM
LAN UNI RED MULTIAREA 212.2.2.0/26
212.2.2.64/26
.... ....
R5
Rc>enable
AREA 1 Rc#configute .2 terminal
.5 R6 AREA 2
Rc(config)#ip route 0.0.0.0 0.0.0.0 40.4.4.14 .1
.65 R3 .1 .6
.13 R1 R8 .13 Rc
Ra .14 .2 AREA 0 .14
.22
.9 .2
Costo 1
.1
.17
20.1.1.16/30 .1
20.1.1.20/30
Ra>enable
Costo 2
.9 .9
Ra#configute terminal
Ra(config)#ip route 0.0.0.0 0.0.0.0 30.3.3.14
.21
Propiedad intelectual de Daniel Díaz @ 2014
.10
.18
ddiaz@inictel-uni.edu.pe
.129 R2 Rd#configute terminal .193
R9
Rd(config)#ip route 0.0.0.0 0.0.0.0 40.4.4.18
.22
.9 .2
Costo 1
.1
.17
20.1.1.16/30 .1
20.1.1.20/30
Costo 2
.9 .9
.21
Propiedad intelectual de Daniel Díaz @ 2014
.10
.18
ddiaz@inictel-uni.edu.pe
.129 R2 R9 .193
Sistema Autónomo
.... ....
212.2.2.128/26 212.2.2.192/26
LAN UNFV LAN INICTEL-UNI
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
LAN UNMSM
LAN UNI RED MULTIAREA 212.2.2.0/26
212.2.2.64/26
.... ....
R5
AREA 1 .2 .5 R6 AREA 2
.1
.65 R3 .1 .6
.13 R1 R8 .13 Rc
Ra .14 .2 AREA 0 .14
.22
.9 .2
Costo 1
.1
.17
20.1.1.16/30 .1
20.1.1.20/30
Costo 2
.9 .9
.21
Propiedad intelectual de Daniel Díaz @ 2014
.10
.18
ddiaz@inictel-uni.edu.pe
.129 R2 R9 .193
Sistema Autónomo
.... ....
212.2.2.128/26 212.2.2.192/26
LAN UNFV LAN INICTEL-UNI
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
R5
AREA 1 .2 .5 AREA 2
R3 R6
PCa .1 .6 PCc
R1 AREA 0 R8
.65 .2 .9 .2 .65
Costo 1
.1
.17
.1
20.1.1.16/30
.22
20.1.1.20/30
Costo 2
.9 .9 220.2.2.64/26
Propiedad intelectual de Daniel Díaz @ 2014
210.1.1.64/26
.21
.10
.18
ddiaz@inictel-uni.edu.pe
.5
PCb R2 R9 PCd
R2>enable
R2#configute terminal
R2(config)#router ospf 1
R2(config-router)#network 30.3.3.4 0.0.0.3 area 1
R2(config-router)#network 30.3.3.8 0.0.0.3 area 1
ddiaz@inictel-uni.edu.pe
R1>enable
R1#configute terminal R2(config-router)#network 210.1.1.128 0.0.0.63 area 1
R1(config)#router ospf 1 R2(config-router)#exit
R1(config-router)#network 30.3.3.0 0.0.0.3 area 1
R1(config-router)#network 30.3.3.8 0.0.0.3 area 1
R1(config-router)#network 210.1.1.64 0.0.0.63 area 1
R1(config-router)#exit
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
R7>enable
R7#configute terminal
R7(config)#router ospf 1
R7(config-router)#network 20.1.1.8 0.0.0.3 area 0
R7(config-router)#network 20.1.1.12 0.0.0.3 area 0
ddiaz@inictel-uni.edu.pe
R4>enable
R4#configute terminal R7(config-router)#network 20.1.1.20 0.0.0.3 area 0
R4(config)#router ospf 1 R7(config-router)#network 40.4.4.4 0.0.0.3 area 2
R4(config-router)#network 20.1.1.12 0.0.0.3 area 0 R7(config-router)#exit
R4(config-router)#network 20.1.1.16 0.0.0.3 area 0
R4(config-router)#network 30.3.3.4 0.0.0.3 area 1 Los demás router se configuran
R4(config-router)#exit de manera similar.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
fa2/0
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
costo= 108/(Ancho de banda) R1(config-if)#bandwidth 100 000
Expresado en 1000
fa2/0
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
R1(config)#interface fastethernet 2/0 R1#show ip ospf interface fastethernet 1/1
R1(config-if)#ip ospf cost 1 FastEthernet1/1 is up, line protocol is up
R1(config-router)#exit Internet Address 30.3.3.1/30, Area 1
Process ID 1, Router ID 210.1.1.65, Network Type BROADCAST, Cost: 5
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 210.1.1.65, Interface address 30.3.3.1
ddiaz@inictel-uni.edu.pe
R3#
*Jan 14 10:45:40.083: OSPF: Rcv hello from 40.4.4.6 area 0 from FastEthernet2/1 20.1.1.10
*Jan 14 10:45:40.087: OSPF: End of hello processing
R3#
*Jan 14 10:45:41.571: OSPF: Send hello to 224.0.0.5 area 1 on FastEthernet1/0 from 30.3.3.2
*Jan 14 10:45:41.575: OSPF: Send hello to 224.0.0.5 area 0 on FastEthernet2/0 from 20.1.1.1
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
TABLA DE ENRUTAMIENTO DE R2
R2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Costos totales
Gateway of last resort is not set
ddiaz@inictel-uni.edu.pe
es 14. O IA 40.4.4.4 [110/12] via 30.3.3.9, 00:34:41, FastEthernet1/0
210.1.1.0/26 is subnetted, 2 subnets
C 210.1.1.128 is directly connected, FastEthernet2/0
O 210.1.1.64 [110/2] via 30.3.3.9, 00:34:50, FastEthernet1/0
30.0.0.0/30 is subnetted, 3 subnets
C 30.3.3.8 is directly connected, FastEthernet1/0
C 30.3.3.4 is directly connected, FastEthernet1/1
O 30.3.3.0 [110/6] via 30.3.3.9, 00:34:50, FastEthernet1/0
R2#
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
S0/0/1
Lo_2
Lo_10: 10.41.52.3/24 Lo_13: 204.6.21.36/24
Lo_11: 10.41.68.19/24 Lo_14: 204.9.80.94/24
Lo_12: 51.5.6.6/24
Fa0/0 Fa0/1
Propiedad intelectual de Daniel Díaz @ 2014
Área 0 R1 Área 3
Lo_6
Lo_4 Lo_8
Lo_5
Fa0/1 Fa0/0
R2 R3
Lo_12 10.52.177.56/30 Lo_13
Lo_10 S0/0/1 S0/0/0
Fa0/0 Fa0/1
R4 R5
S0/0/0 Área 2 S0/0/1
ddiaz@inictel-uni.edu.pe
Lo_7 Lo_9
Fa0/0 Fa0/0
Lo_4: 210.7.2.31/24
Lo_11 Lo_5: 210.8.8.19/24 Lo_14
Lo_6: 55.0.4.3/17
Lo_7: 55.0.190.90//17
Lo_8: 140.1.160.3/21
200.4.5.0/24 Lo_9: 140.1.170.7/21 210.7.9.0/24
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
OBTENCION DE ROUTER-ID
En el router R1
R1#show ip ospf
Routing Process "ospf 1" with ID 210.8.8.19
En el router R2
Propiedad intelectual de Daniel Díaz @ 2014
R2#show ip ospf
Routing Process "ospf 3" with ID 55.0.190.90
ddiaz@inictel-uni.edu.pe
En el router R3
R3#show ip ospf
Routing Process "ospf 3" with ID 140.1.170.7
OBTENCION DE ROUTER-ID
En el router R4
R4#show ip ospf
Routing Process "ospf 1" with ID 10.41.68.19
En el router R5
Propiedad intelectual de Daniel Díaz @ 2014
R5#show ip ospf
Routing Process "ospf 3" with ID 204.9.80.94
ddiaz@inictel-uni.edu.pe
En el router R6
R6#show ip ospf
Routing Process "ospf 3" with ID 131.4.6.163
En el router R1
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
131.4.6.163 0 FULL/ - 00:00:33 10.2.2.37 Serial0/0/1
55.0.190.90 1 FULL/BDR 00:00:38 10.52.177.62 FastEthernet0/0
140.1.170.7 1 FULL/BDR 00:00:33 10.52.177.53 FastEthernet0/1
R1#
Propiedad intelectual de Daniel Díaz @ 2014
En el router R3
R3#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
ddiaz@inictel-uni.edu.pe
55.0.190.90 1 FULL/BDR 00:00:39 10.52.177.57 GigabitEthernet0/1
210.8.8.19 1 FULL/DR 00:00:34 10.52.177.54 GigabitEthernet0/0
204.9.80.94 0 FULL/ - 00:00:31 10.1.1.30 Serial0/0/0
R3#
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
S0/0/1
Lo_2
Lo_10: 10.41.52.3/24 Lo_13: 204.6.21.36/24
Lo_11: 10.41.68.19/24 Lo_14: 204.9.80.94/24
Lo_12: 51.5.6.6/24
Fa0/0 Fa0/1
Propiedad intelectual de Daniel Díaz @ 2014
Área 0 R1 Área 3
Lo_6
Lo_4 Lo_8
Lo_5
Fa0/1 Fa0/0
R2 R3
Lo_12 10.52.177.56/30 Lo_13
Lo_10 S0/0/1 S0/0/0
R4 Fa0/0 virtual-link Fa0/1
R5
S0/0/0 Área 2 S0/0/1
ddiaz@inictel-uni.edu.pe
Lo_7 Lo_9
Fa0/0 Fa0/0
Lo_4: 210.7.2.31/24
Lo_11 Lo_5: 210.8.8.19/24 Lo_14
Lo_6: 55.0.4.3/17
Lo_7: 55.0.190.90//17
Lo_8: 140.1.160.3/21
200.4.5.0/24 Lo_9: 140.1.170.7/21 210.7.9.0/24
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
CONFIGURANDO VIRTUAL-LINK
Área 0 R1 Área 3
Lo_6
Lo_4 Lo_8
Lo_5
Fa0/1 Fa0/0
R2 R3
Lo_12 10.52.177.56/30 Lo_13
Lo_10 S0/0/1 S0/0/0
R4 Fa0/0 virtual-link Fa0/1
R5
S0/0/0 Área 2 S0/0/1
Lo_7 Lo_9
Fa0/0 Fa0/0
Propiedad intelectual de Daniel Díaz @ 2014
200.4.5.0/24 210.7.9.0/24
ddiaz@inictel-uni.edu.pe
R2>enable R3>enable
R2#configure terminal. R3#configure terminal.
R2(config)#router ospf 2 R3(config)#router ospf 3
R2(config-router)#area 2 virtual-link 140.1.170.7 R3(config-router)#area 2 virtual-link 55.0.190.90
R2(config-router)#exit R3(config-router)#exit
R2(config)# R3(config)#
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
CONFIGURANDO VIRTUAL-LINK
Área 1
205.2.83.128/25 Lo_1
Fa0/0
Lo_0
10.2.2.36/30 R6
S0/0/0
Lo_3
S0/0/1
Lo_2
R1>enable
Fa0/0 Fa0/1 R1#configure terminal
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
R2>enable
Lo_7 R2#configure terminal
Fa0/0
Lo_5: 210.8.8.19/24 R2(config)#router ospf 2
Lo_11 R2(config-router)#area 2 virtual-link 210.8.8.19
R2(config-router)#exit
Lo_7: 55.0.190.90//17 R2(config)#
200.4.5.0/24
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
CONFIGURACIÓN DE
LOS PROTOCOLOS
RIPv2/OSPFv2
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
R5
AREA 1 .2 .5
RIPv2 AREA 2
R3 R6 RIPv2
PCa .1 .6 PCc
R1 AREA 0 R8
.65 .2 .9 .2 .65
Costo 1
.1
.17
.1
20.1.1.16/30
.22
20.1.1.20/30
Costo 2
.9 .9 220.2.2.64/26
Propiedad intelectual de Daniel Díaz @ 2014
210.1.1.64/26
.21
.10
.18
ddiaz@inictel-uni.edu.pe
.5
PCb R9 PCd
R2
RIPv2 RIPv2
Revisión de redistribución RIP y OSPF en: OSPFv2
http://docwiki.cisco.com/wiki/Internetwork_Design_Guide_--_RIP_and_OSPF_Redistribution#RIP_and_OSPF_Redistribution
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
Costo 1
.1
.17
.1
20.1.1.16/30
.22
20.1.1.20/30
Costo 2
.9 .9 220.2.2.64/26
Propiedad intelectual de Daniel Díaz @ 2014
210.1.1.64/26
.21
.10
.18
ddiaz@inictel-uni.edu.pe
.5
PCbospf 1 R2
router router rip R9 PCd
redistribute rip subnets version 2
network 30.3.3.4 0.0.0.3 area 1 redistribute ospf 1 match internal external 1 external 2RIPv2
RIPv2
network 30.3.3.8 0.0.0.3 area 1 network 210.1.1.128
OSPFv2
no auto-summary
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
BW 1544kbps
S0 .197 S1
.202
S1 S0
ddiaz@inictel-uni.edu.pe
.206
router ospf 1 .65 10.0.37.204/30
router rip
.205 .129
BW 100Mbps
BW 100Mbps
redistribute rip subnets version 2
.66 0.0.0.3 area 0
network 10.0.37.196 .130
redistribute ospf 1 match internal external 1 external 2
RIPv2
network 10.0.37.200 0.0.0.3 area 0 RIPv2
network 172.16.0.0
200.37.42.0/24 no auto-summary 200.37.51.0/24
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
TABLA DE ENRUTAMIENTO
Propiedad intelectual de Daniel Díaz @ 2014
ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
Protocolo de Protocolo RIP
enrutamiento Protocolo OSPFv2
BIBLIOGRAFIA
RFC 1058 Routing Information Protocol
Junio de 1988.
http://www.ietf.org/rfc/rfc1058.txt
ddiaz@inictel-uni.edu.pe
http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/rip.pdf
ddiaz@inictel-uni.edu.pe
MUCHAS GRACIAS