Documente Academic
Documente Profesional
Documente Cultură
PROTOCOLOS DE
ENRUTAMIENTO
DINÁMICO
Daniel Díaz Ataucuri
Profesor Titular de Telecomunicaciones UNI/UNMSM
Director Ejecutivo del INICTEL-UNI
ddiaz1610@gmail.com
ddiaz@inictel-uni.edu.pe
PROTOCOLO RIPv2
0 7 8 15 16 31
No usado
Comando Versión
(colocado en CERO) Comando:
Address Family Identifier Autenticación o Route Tag ►Requerimiento (1) pregunta a un
RE Dirección IP router por el envío total o parcial
on
ut Máscara de subred de su tabla de enrutamiento.
t r
ey
Salto siguiente ►Respuesta (2) puede ser una
r Métrica
actualización de enrutamiento
(Repetir varias veces hasta un máximo de 25) no solicitada o en respuesta a
Address Family Identifier Autenticación o Route Tag
un requerimiento.
RE Dirección IP Versión:
on
ut Máscara de subred ►Para RIPv2 el valor es 2
t r
Salto siguiente
ey
r Métrica
0 7 8 15 16 31
No usado
Comando Versión
(colocado en CERO) Address Family Identifier (AFI):
Address Family Identifier Autenticación o Route Tag ►AFI = 1; solicita al receptor que envíe una copia
RE Dirección IP de toda su tabla de enrutamiento.
on
ut Máscara de subred ►AFI = 2; Cuando se intercambia información de
t r
ey
Salto siguiente enrutamiento y paquetes IP.
r Métrica ►AFI = 0xFFFF; Indica que los 16 bits siguientes
(Repetir varias veces hasta un máximo de 25) contiene información sobre el tipo de
autenticación.
Address Family Identifier Autenticación o Route Tag
0 7 8 15 16 31
No usado
Comando Versión
(colocado en CERO) Autenticación/Route Tag como Route Tag:
Address Family Identifier Autenticación o Route Tag ► Identifica rutas internas y externas en RIPv2.
RE Dirección IP ► Las rutas internas son las que aprende el
on
ut Máscara de subred propio RIP, ya sea localmente o a través de
t r
ey
Salto siguiente otros enrutadores RIP.
r Métrica ► Las rutas externas son rutas aprendidas de
(Repetir varias veces hasta un máximo de 25) otro protocolo de enrutamiento, como OSPF o
BGP.
Address Family Identifier Autentificación o Route Tag
RE Dirección IP
Dirección IP
on
Máscara de subred
► Puede contener una dirección
ut
t r
Salto siguiente
de red o default.
ey
r Métrica
► En RIP respuesta contiene la
dirección del origen del paquete
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
0 7 8 15 16 31
No usado
Comando Versión
(colocado en CERO) Máscara de red:
Address Family Identifier Autenticación o Route Tag ► Contiene la máscara de subred que va con la
RE Dirección IP dirección IP en el campo anterior.
on
ut Máscara de subred Identifica rutas internas y externas en RIPv2.
t r
ey
Salto siguiente Salto siguiente:
r Métrica
► Este campo contiene la dirección IP del
(Repetir varias veces hasta un máximo de 25) siguiente salto que debe usar el tráfico a este
Address Family Identifier Autentificación o Route Tag
espacio de direcciones IP.
RE Dirección IP
Métrica:
on
Máscara de subred
► El rango sigue siendo de 1 a 15
ut
t r
Salto siguiente
al igual que RIPv1
ey
r Métrica
► Un valor métrico de 16 se
considera inalcanzable.
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
30.7.7.16/30
.1 .1 .6 .1
.9 .14
.18
.10 .13
0 8 16 31
R3
02 02 00 00 0 8 16 31
00 02 00 00 00 02 00 00
Red 200.5.5.0
Red 30.7.7.0
1E 07 07 00 C8 05 05 00
FF FF FF FC FF FF FF 00
00 00 00 00 00 00 00 00
00 00 00 01 00 00 00 02
00 02 00 00 00 02 00 00
Red 200.7.7.0
Red 30.7.7.4
1E 07 07 04 C8 07 07 00
FF FF FF FC FF FF FF 00
00 00 00 00 00 00 00 00
00 00 00 01 00 00 00 02
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
30.7.7.16/30
.1 .1 .6 .1
RIP
.9 .14
.18
.10 .13
0 8 16 31
R3
02 02 00 00 0 8 16 31
00 02 00 00 00 02 00 00
Red 200.5.5.0
Red 30.7.7.8
1E 07 07 08 C8 05 05 00
FF FF FF FC FF FF FF 00
00 00 00 00 00 00 00 00
00 00 00 01 00 00 00 02
00 02 00 00 00 02 00 00
Red 30.7.7.12
Red 200.7.7.0
1E 07 07 0C C8 07 07 00
FF FF FF FC FF FF FF 00
00 00 00 00 00 00 00 00
00 00 00 01 00 00 00 02
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
RIP RIP
R6 Cual es el problema?:
La red WAN (R3, R4, R5 y R6)
R1 R2 no sabe como llegar a la red 215.5.5.0/24
R1 tiene definido
enrutamiento estático R5 Distribuir en el protocolo
R1 no tiene activado RIPv2 , RIP una nueva entrada,
Router Entry, anunciando
por lo tanto no existe mensajes 215.5.5.0
RIPv2 entre R1 y R2
R1 no anuncia 215.5.5.0/24 RIP
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
Fa0/0 .2 .21
.1 .10
.1 .2 .5
.18 .9 R6
Fa0/0
Fa0/1
21.2.2.0/30 .13
R1
R2 R5
.14 .17
.10
R8
ip route 0.0.0.0 0.0.0.0 21.2.2.2 ip route 200.1.1.0 255.255.255.128 21.2.2.6 .129 Fa0/0
ip route 200.1.1.128 255.255.255.128 21.2.2.10
Fa0/0
21.2.2.0/30 .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 directlyR8#show ip route
connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 21.2.2.2
R5connected, FastEthernet0/1 R8
R1# C 21.2.2.8 is directly .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
R8# .130
200.1.1.128/25
PCc
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
Fa0/0
21.2.2.0/30
R 20.1.1.4 [120/1] viais20.1.1.2,
20.1.1.22, 00:00:27,FastEthernet0/0
FastEthernet1/1
C R.13[120/2]
FastEthernet0/1
20.1.1.16 via directly 00:00:10,
connected, .9
FastEthernet0/0
20.1.1.20 [120/1] via 20.1.1.9, 00:00:12, FastEthernet0/0
R1 C C R [120/1]
20.1.1.4
20.1.1.4
C 20.1.1.4
viadirectly
is is20.1.1.1,
20.1.1.16 directly
[120/2] 00:00:07,
connected,
connected, FastEthernet0/1
FastEthernet0/1
via 20.1.1.18,
is directly FastEthernet0/0
00:00:15,
connected, FastEthernet0/0
FastEthernet0/1
C C R220.1.1.0
R is
20.1.1.0 directly
is directlyconnected,
connected, FastEthernet0/1
FastEthernet0/0
R20.1.1.0 [120/1]
[120/2]
20.1.1.4 viavia20.1.1.13,
[120/1] 20.1.1.21, 00:00:07,
00:00:26,
via 20.1.1.9, FastEthernet1/0
FastEthernet0/1
00:00:12, FastEthernet0/0
C R 20.1.1.12
20.1.1.12is directly
[120/1]
[120/1]
R R 20.1.1.0 connected,
viavia
[120/1].14 20.1.1.2,
.17
20.1.1.5,
viavia FastEthernet1/0
00:00:10,
00:00:10,
20.1.1.13, FastEthernet0/0
FastEthernet0/0
00:00:26, FastEthernet0/1
20.1.1.0 [120/2] 20.1.1.17, 00:00:02, FastEthernet0/1
R R 20.1.1.8
R C [120/1]
20.1.1.8 [120/1]
20.1.1.12 via 20.1.1.22,
via
[120/1] 20.1.1.6,
via 00:00:00,
00:00:14,
20.1.1.21, FastEthernet1/1
FastEthernet0/1
00:00:07, .10
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
FastEthernet1/0
R R 20.1.1.820.1.1.12
21.2.2.1
[120/1] via 20.1.1.18,
[120/1] 00:00:15,
via 20.1.1.17, FastEthernet0/0
00:00:02, R8
FastEthernet0/1
R2# C R5#20.1.1.8 is directlyR5 connected, FastEthernet0/1
No se indica C 20.1.1.8 is directly connected, FastEthernet0/0 .129 Fa0/0
como llegar a R4# 200.1.1.0/25 is subnetted, 2 subnets
todas las LAN S 200.1.1.128 [1/0] via 21.2.2.10
S 200.1.1.0 [1/0] via 21.2.2.6 .130
R6# PCc
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO 200.1.1.128/25 ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
Observar que no
se anuncia las LAN
Fa0/0 .2 .21
.1 .10
.1 .2 .5
.18 .9 R6
Fa0/1
Fa0/0
21.2.2.0/30 .13
R1
R2
.14 .17
.10
R5(config)#router rip R5 R8
R5(config-router)#redistribute static .129 Fa0/0
R5(config)#router rip
R5(config-router)#redistribute static
.130
200.1.1.128/25 PCc
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
R2#show ip route
REDISTRIBUCIÓN ESTÁTICA (6)
R R3#show
21.2.2.4 ip
[120/2]
routevia 20.1.1.22, 00:00:12, FastEthernet1/1
[120/2]ip
R R4#show
21.2.2.4 via 20.1.1.14,
[120/2]
route 00:00:08,
via 20.1.1.6, FastEthernet1/0
00:00:00, FastEthernet0/1
C R 21.2.2.0 is directly
R 21.2.2.0
21.2.2.4
R5#show ip connected,
[120/1]
[120/1]via via
route 20.1.1.2, FastEthernet0/0
00:00:17,
20.1.1.10, FastEthernet0/0
00:00:20, FastEthernet0/1
R R 21.2.2.8 [120/2]
R 21.2.2.8
R21.2.2.0
R6#show via 20.1.1.22,
[120/2]
[120/1]
21.2.2.4 via
ipviaroute
[120/1] via00:00:12,
20.1.1.6, 00:00:00,
20.1.1.21, FastEthernet1/1
FastEthernet0/1
00:00:00,
20.1.1.18, FastEthernet1/0
00:00:07, FastEthernet0/0
R [120/2]
20.0.0.0/30
R21.2.2.8via 20.1.1.14,
is subnetted,
[120/1]
C21.2.2.0 21.2.2.4 via600:00:08,
[120/1] subnets
is20.1.1.10,
directly
via FastEthernet1/0
00:00:20,
connected,
20.1.1.13, FastEthernet0/1
FastEthernet1/0
00:00:12, FastEthernet0/1
20.0.0.0/30
R is
20.1.1.20 subnetted,
20.0.0.0/30
R R21.2.2.8 [120/1] 6
is21.2.2.0 subnets
via 20.1.1.6,
subnetted,
[120/1] 00:00:00,
6 subnets
[120/2]
via FastEthernet0/1
via 20.1.1.17,
20.1.1.18, 00:00:23,
00:00:07, FastEthernet0/1
FastEthernet0/0
C 20.1.1.20
C is directly
[120/1]
20.1.1.20
20.0.0.0/30 via connected,
20.1.1.2,
is directly
is[120/2] FastEthernet1/1
00:00:17,
connected,
subnetted, FastEthernet0/0
FastEthernet1/0
via 620.1.1.9,
subnets 00:00:15, FastEthernet0/0
R R 20.1.1.16 [120/1]
20.1.1.16
R R20.1.1.16C20.1.1.20 via
[120/2] 20.1.1.14,
via
[120/1]
21.2.2.8 20.1.1.6,
via
[120/1] 00:00:08,
00:00:00,
is 20.1.1.10,
directly FastEthernet1/0
FastEthernet0/1
00:00:20,
connected,
via 20.1.1.13, FastEthernet0/1
FastEthernet1/1
00:00:12, FastEthernet0/1
R 20.1.1.4 [120/1]
[120/2]
C C20.1.1.4 via
isvia
20.1.1.16 20.1.1.22,
20.1.1.2,
directly
20.0.0.0/30 00:00:12,
00:00:17,
connected,
is subnetted,
is directly FastEthernet1/1
FastEthernet0/0
FastEthernet0/0
connected, 6 subnets
FastEthernet0/0
[120/1]
C R 20.1.1.4
R20.1.1.0via 20.1.1.1,
is directly
[120/1]
R20.1.1.4 20.1.1.20
[120/2]00:00:23,
connected,
via 20.1.1.21,
[120/1] FastEthernet0/1
FastEthernet0/1
via00:00:00,
via 20.1.1.18, 20.1.1.9,FastEthernet1/0
00:00:15,
00:00:07, FastEthernet0/0
FastEthernet0/0
C C 20.1.1.0 is
20.1.1.0 directly connected,
is directly
C[120/1] via connected,
20.1.1.16
[120/2] 20.1.1.5,
via is FastEthernet0/1
FastEthernet0/0
00:00:14,
directly
20.1.1.13, FastEthernet0/0
connected,
00:00:12, FastEthernet0/1
FastEthernet0/1
C R 20.1.1.12 is
20.1.1.12
R R20.1.1.12 directly
[120/1]
R20.1.1.0 connected,
via
[120/1]
20.1.1.4
[120/1]20.1.1.2,
via FastEthernet1/0
00:00:17,
20.1.1.21,
[120/1]
via 20.1.1.13, FastEthernet0/0
00:00:00,
via 20.1.1.9, FastEthernet1/0
00:00:15,
00:00:12, FastEthernet0/0
FastEthernet0/1
R R 20.1.1.8 [120/1]
20.1.1.8
C C20.1.1.8 via
[120/1] 20.1.1.22,
via
is20.1.1.0
R20.1.1.12 directly20.1.1.6, 00:00:14,
connected,
[120/2]
is directly 00:00:00, FastEthernet1/1
FastEthernet0/1
viaFastEthernet0/1
20.1.1.17,
connected, 00:00:23, FastEthernet0/1
FastEthernet0/1
200.1.1.0/25
R is
200.1.1.0/25 subnetted,
200.1.1.0/25 is subnetted,
20.1.1.8 2 subnets
is subnetted, 2
[120/2]via
[120/1] subnets
2 20.1.1.18,
viasubnets
20.1.1.9,00:00:07,
00:00:15, FastEthernet0/0
FastEthernet0/0
R R 200.1.1.128 R [120/2]
R 200.1.1.128
200.1.1.128
200.1.1.0/25 viais20.1.1.22,
[120/2]
20.1.1.12 via
[120/1] 20.1.1.6,
via
subnetted, 00:00:15,
20.1.1.10,
[120/1] 2via FastEthernet1/1
00:00:02, FastEthernet0/1
00:00:22,
20.1.1.17,
subnets FastEthernet0/1
00:00:23, FastEthernet0/1
[120/2]
R R 200.1.1.0
R200.1.1.0 via 20.1.1.14,
[120/2] via[120/1]
[120/1]
C200.1.1.128
20.1.1.8 via 00:00:11,
20.1.1.6,
is 20.1.1.10,
directly FastEthernet1/0
via00:00:03, FastEthernet0/1
00:00:22,
connected,
20.1.1.18, FastEthernet0/1
FastEthernet0/0
00:00:09, FastEthernet0/0
R R 200.1.1.0
R [120/2]
215.5.5.0/24
R 215.5.5.0/24 via
[120/1]
200.1.1.0/25
200.1.1.0 20.1.1.22,
via
[120/1]
[120/1]via 00:00:17,
20.1.1.2,
20.1.1.21,
isvia
subnetted, FastEthernet1/1
00:00:21, FastEthernet0/0
00:00:02,
20.1.1.18, FastEthernet1/0
200:00:09,
subnets FastEthernet0/0 Si se indica
R3#R4#[120/2] S via 20.1.1.14,
R 215.5.5.0/24 200.1.1.128 00:00:12,
[120/1] [1/0] FastEthernet1/0
via 21.2.2.10
via 20.1.1.13, 00:00:15, FastEthernet0/1 como llegar
S 215.5.5.0/24 a las LAN
R5#S[1/0] via 21.2.2.1[1/0] via 21.2.2.6
200.1.1.0
R2# 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
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
Observar que SI
se anuncia las LAN,
debido a la
redistribución
Porque no se observa el
anuncio de la LAN
215.5.5.0/24 ?
20.1.1.4 20.1.1.4
20.1.1.16 20.1.1.16
21.2.2.4 21.2.2.4
21.2.2.8 21.2.2.8
Información
incorporada en el 200.1.1.0
mensaje de
RIPv2 con la re 200.1.1.28
distribución
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
30.7.7.16/30
40.4.4.0/30 40.4.4.4/30
.1 .1 .2 .1 .6 .5 .6 .1
.9 .14
.18
.10 .13
R3
PROTOCOLO RIPng
Comando Versión
No usado
(colocado en CERO)
Version
Dirección IPv6
Versión de RIPng es
RE Dirección IPv6
uno (1).
on
ut Dirección IPv6 Long. de prefijo
t r Dirección IPv6 Longitud en bits de la
ey
r Route Tag
Prefijo de
Longitud
Métrica parte significativa del
Prefijo.
(Repetir varias veces hasta un máximo de 25)
Varía entre 0 y 128
Dirección IPv6
Dirección IPv6
Métrica
RE
on Costo para alcanzar la
Dirección IPv6
ut
t r Dirección IPv6
red de destino.
ey Prefijo de Valor entre 0 y 15.
r Route Tag Métrica
Longitud
Comando Versión
No usado
(colocado en CERO)
Etiqueta de ruta
Dirección IPv6
Route tag.
RE Dirección IPv6
El uso previsto de la
on
Dirección IPv6
etiqueta de ruta es
ut
t r Dirección IPv6 proporcionar un método
ey
r Route Tag
Prefijo de
Métrica
de separación de rutas
Longitud
RIPng "internos" de
(Repetir varias veces hasta un máximo de 25)
rutas RIPng "externos",
Dirección IPv6 que pueden haber sido
RE Dirección IPv6 importados de un EGP o
on
Dirección IPv6 otra IGP.
ut
t r Dirección IPv6
ey Prefijo de
r Route Tag Métrica
Longitud
R1
Fa0/0
.1 2001:f091:89ab::80c/126 R7
:801 R4 21.1.1.12/30
.34 R8
.2 :80d :80e :822
Fa0/1 .33
Fa 0/0 :802 .13 .14 :821
.21 Fa 1/0 .29
2001:f091:89ab::81c/126
:815 .6 :81d Ver DS Etiqueta de flujo
2001:f091:89ab::814/126
21.1.1.28/30
Longitud de carga útil 11h Límite salto
.22
:816 Dirección
DirecciónIPdedeorigen
origen
.5
R2
RIPv2 Dirección IP de destino
.25 :81e
:819 .30
2001:f091:89ab::8018/126 UDP
.26
:81a
:811 :812
:80a .17 .18 PROTOCOLO RIPng
.10 21.1.1.16/30 2001:1fee:5::/64
2001:1fee:3::/64 R5 200.5.5.0/24
:809 2001:f091:89ab::810/126 R6 .37
200.3.3.0/24 .9 :825
PCc .38
:826
R3 R9
PCa
2001:1fee:1::/64
ANÁLISIS DEL PROTOCOLO RIPng PCd 2001:1fee:4::/64
200.4.4.0/24
RFC 2080: “RIPng for IPv6”
200.1.1.0/24 0 7 8 15 16 31
02 01 00 00
R1
Fa0/0 20 01 F0 91
89 AB 00 00
.1 2001:f091:89ab::80c/126 00R7 00 00 00
:801 R4 21.1.1.12/30 00 00 08 14 .34 R8
.2 :80d :80e :822
Fa0/1 .33
Fa 0/0 :802 .13 00.1400 . 7E 01
. :821
.21 Fa 1/0 .29.
2001:f091:89ab::81c/126
:815 .6 20 01
:81d
. F0 91
2001:f091:89ab::814/126 89 AB 00 00
21.1.1.28/30
00 00 00 00
.22 00 00 08 18
:816
.5 00 00 01
R2 7E
RIPv2
.25 :81e
:819 .30
2001:f091:89ab::8018/126
.26
:81a
:811 :812
:80a .17 .18
.10 21.1.1.16/30 2001:1fee:5::/64
2001:1fee:3::/64 R5 200.5.5.0/24
:809 2001:f091:89ab::810/126 R6 .37
200.3.3.0/24 .9 :825
PCc .38
:826
R3 R9
Fa 0/0 Fa 0/0
2001:13A0:1234::2/64
200.1.1.2/30
R1>enable R2>enable
R1#configure terminal R2#configure terminal
R1(config)#ipv6 router rip inictel R2(config)#ipv6 router rip inictel
R1(config-rtr)#exit R2(config-rtr)#exit
R1(config)#interface fastethernet 0/0 R2(config)#interface fastethernet 0/0
R1(config-if)#ipv6 enable R2(config-if)#ipv6 enable
R1(config-if)#ipv6 rip inictel enable R2(config-if)#ipv6 rip inictel enable
R1(config-if)#exit R2(config-if)#exit
R1(config)#interface loopback 61
R1(config-if)#ipv6 enable
R1(config-if)#ipv6 rip inictel enable
R1(config-if)#exit
Ingrese ipv6 enable si NO habilitó previamente
IPv6 en la interfaz
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
R1 R2
2001:13a0:56bc::1/126 Red con RIPng
Fa0/1 Fa1/0
2001:13a0:56bc::2/126
2001:14bc:fc00::/64
2001:f091:89ab::81c/126
:815 .6 :81d
2001:f091:89ab::814/126
21.1.1.28/30
.22
:816
.5
R2
RIPv2
.25 :81e
:819 .30
2001:f091:89ab::8018/126
.26
:81a
:811 :812
:80a .17 .18
.10 21.1.1.16/30 2001:1fee:5::/64
2001:1fee:3::/64 R5 200.5.5.0/24
:809 2001:f091:89ab::810/126 R6 .37
200.3.3.0/24 .9 :825
PCc .38
:826
R3 R9
2001:f091:89ab::81c/126
R1>enable :815 .6 :81d
2001:f091:89ab::814/126
21.1.1.28/30
R1#configure terminal
.22
R1(config)#ipv6 unicast-routing
:816
R1(config)#interface fastethernet 0/0 .5
R1(config-if)#ipv6 address R22001:1fee:1::1/64
RIPv2
R1(config-if)#no shutdown .25 :81e
R1(config-if)#ipv6 enable :819
2001:f091:89ab::8018/126
.30
R1(config-if)#exit .26
:81a 0/1
R1(config)#interface fastethernet :811 :812
:80a .17
R1(config-if)#ipv6 address 2001:f091:89ab::801/126 .18
.10 2001:1fee:5::/64
R1(config-if)#no shutdown
2001:1fee:3::/64 R5 21.1.1.16/30
:809 2001:f091:89ab::810/126 R6 .37 200.5.5.0/24
R1(config-if)#ipv6
200.3.3.0/24 .9 enable :825
R1(config-if)#exit
PCc .38
:826
R3 R9
2001:f091:89ab::81c/126
:815 .6 :81d
2001:f091:89ab::814/126 R4#configure terminal
21.1.1.28/30
.22 R4(config)#ipv6 unicast-routing
:816 R4(config)#interface fastethernet 1/0
Así sucesivamente
.5
con los demás R2 R4(config-if)#ipv6 address 2001:f091:89ab::80d/126
routers RIPv2
R4(config-if)#no shutdown
.25 :81e
:819 R4(config-if)#ipv6 enable
.30
2001:f091:89ab::8018/126 R4(config-if)#exit
.26
:81a R4(config)#interface fastethernet 0/1
:811 :812 address 2001:f091:89ab::815/126
:80a .17 R4(config-if)#ipv6
.18
.10 R4(config-if)#no
21.1.1.16/30
shutdown 2001:1fee:5::/64
2001:1fee:3::/64 R5
:809 R4(config-if)#ipv6 enable
2001:f091:89ab::810/126 R6 .37 200.5.5.0/24
200.3.3.0/24 .9 R4(config-if)#exit :825
PCc R4(config)#interface fastethernet 0/0 .38
:826
R3 R4(config-if)#ipv6 address 2001:f091:89ab::802/126
R9
R4(config-if)#no shutdown
Enrutamiento Estático R4(config-if)#ipv6 enable Enrutamiento Estático
PCe
R4(config-if)#exit
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
2001:f091:89ab::81c/126
R1>enable .6 :81d
:815 R8>enable
2001:f091:89ab::814/126
21.1.1.28/30
R1#configure terminal R8#configure terminal
.22
R1(config)#ipv6 route ::/0 2001:f091:89ab::802 R8(config)#ipv6 route ::/0 2001:f091:89ab::821
:816
.5 R9>enable
R2
RIPv2
R9#configure terminal
.25 :81e
:819 R9(config)#ipv6
.30route ::/0 2001:f091:89ab::825
2001:f091:89ab::8018/126
.26
:81a
:811 :812
:80a .17 .18
.10 21.1.1.16/30 2001:1fee:5::/64
2001:1fee:3::/64 R5 200.5.5.0/24
:809 2001:f091:89ab::810/126 R6 .37
200.3.3.0/24 .9 :825
PCc .38
R3>enable :826
R3 R9
R3#configure terminal
R3(config)#ipv6 route ::/0 2001:f091:89ab::80a
Enrutamiento Estático Enrutamiento Estático PCe
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
2001:f091:89ab::81c/126
:815 .6 :81d
2001:f091:89ab::814/126
21.1.1.28/30
.22 R4>enable
:816 R4#configure terminal
.5
R2 R4(config)# ipv6 route 2001:1fee:1::/64 2001:f091:89ab::801
RIPv2
.25 :81e
:819 R4(config)# ipv6 router rip lima.30
2001:f091:89ab::8018/126 R4(config-rtr)#redistribute static
.26 R4(config-rtr)#exit
:81a
:811
R4(config)#interface :812
fastethernet 0/0
:80a .17 .18
.10 R4(config-if)#ipv6 rip lima enable 2001:1fee:5::/64
2001:1fee:3::/64 21.1.1.16/30
:809 R5 R4(config-if)#exit
2001:f091:89ab::810/126 R6 .37 200.5.5.0/24
200.3.3.0/24 .9 R4(config)#interface fastethernet 0/1 :825
PCc R4(config-if)#ipv6 rip lima enable .38
:826
R3 R4(config-if)#exit R9
R4(config)#interface fastethernet 1/0
R4(config-if)#ipv6 rip lima enable
Enrutamiento Estático Enrutamiento Estático PCe
R4(config-if)#exit
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
2001:f091:89ab::81c/126
R7#configure terminal :815 .6 :81d
2001:f091:89ab::814/126
21.1.1.28/30
R7(config)# ipv6 route 2001:1fee:4::/64 2001:f091:89ab::822
.22
:816
R7(config)# ipv6
.5 router rip lima
R2
R7(config-rtr)#redistribute static
R7(config-rtr)#exit RIPv2
.25 :81e
:819
R7(config)#interface fastethernet 0/0 .30
2001:f091:89ab::8018/126
R7(config-if)#ipv6
.26 rip lima enable
R7(config-if)#exit
:81a
:811 :812
R7(config)#interface
:80a .17 fastethernet 0/1 .18
.10
R7(config-if)#ipv6 rip lima enable
21.1.1.16/30 2001:1fee:5::/64
2001:1fee:3::/64 R5 200.5.5.0/24
:809 R7(config-if)#exit 2001:f091:89ab::810/126 R6 .37
200.3.3.0/24 .9 :825
PCc R7(config)#interface fastethernet 1/0 .38
R7(config-if)#ipv6 rip lima enable :826
R3 R7(config-if)#exit R9
R7(config)#interface fastethernet 1/1
Enrutamiento Estático
R7(config-if)#ipv6 rip lima enable Enrutamiento Estático PCe
R7(config-if)#exit
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
2001:f091:89ab::81c/126
:815 .6 :81d
2001:f091:89ab::814/126 R2(config)# ipv6 router rip lima
21.1.1.28/30
.22 R2(config-rtr)#exit
:816 R2(config)#interface fastethernet 0/0
.5
R2 R2(config-if)#ipv6 rip lima enable
RIPv2
R2(config-if)#exit
.25 :81e
:819 R2(config)#interface fastethernet
.30 0/1
2001:f091:89ab::8018/126 R2(config-if)#ipv6 rip lima enable
.26
:81a R2(config-if)#exit
:811 :812
:80a .17 R2(config)#interface
.18 fastethernet 1/0
.10 R2(config-if)#ipv6 rip lima enable
21.1.1.16/30 2001:1fee:5::/64
2001:1fee:3::/64 R5 200.5.5.0/24
:809 R2(config-if)#exit R6
2001:f091:89ab::810/126 .37
200.3.3.0/24 .9 :825
PCc .38
:826
R3 R9
2001:f091:89ab::81c/126
:815 .6 :81d
2001:f091:89ab::814/126 R5(config)# ipv6 router rip lima
21.1.1.28/30
.22
R5(config-rtr)#redistribute static
:816 R5(config-rtr)#exit
.5 R5(config)#interface fastethernet 0/0
R2
RIPv2 rip lima enable
R5(config-if)#ipv6
.25 :81e
:819 R5(config-if)#exit .30
2001:f091:89ab::8018/126 R5(config)#interface fastethernet 0/1
.26 R5(config-if)#ipv6 rip lima enable
:81a
:811
R5(config-if)#exit :812
:80a .17 .18
.10 R5(config)#interface fastethernet 1/0 2001:1fee:5::/64
2001:1fee:3::/64 21.1.1.16/30
:809 R5 R5(config-if)#ipv6 rip lima enable
2001:f091:89ab::810/126 R6 .37 200.5.5.0/24
200.3.3.0/24 .9 R5(config-if)#exit :825
PCc .38
:826
R3 R9
2001:f091:89ab::81c/126
R6(config-rtr)#exit .6 :81d
:815
R6(config)#interface fastethernet 0/0
2001:f091:89ab::814/126
21.1.1.28/30
R6(config-if)#ipv6
.22 rip lima enable
:816
R6(config-if)#exit
.5
R2
R6(config)#interface fastethernet 0/1
R6(config-if)#ipv6 RIPv2
rip lima enable
.25 :81e
R6(config-if)#exit
:819 .30
2001:f091:89ab::8018/126
R6(config)#interface fastethernet 1/0
.26
R6(config-if)#ipv6
:81a rip lima enable
:811 :812
R6(config-if)#exit
:80a .17 .18
.10 21.1.1.16/30 2001:1fee:5::/64
2001:1fee:3::/64 R5 200.5.5.0/24
:809 2001:f091:89ab::810/126 R6 .37
200.3.3.0/24 .9 :825
PCc .38
:826
R3 R9
2001:f091:89ab::81c/126
:815 .6 :81d
2001:f091:89ab::814/126
21.1.1.28/30
.22
:816
.5
R2
RIPv2
.25 :81e
:819 .30
2001:f091:89ab::8018/126
.26
:81a
:811 :812
:80a .17 .18
.10 21.1.1.16/30 2001:1fee:5::/64
2001:1fee:3::/64 R5 200.5.5.0/24
:809 2001:f091:89ab::810/126 R6 .37
200.3.3.0/24 .9 :825
PCc .38
:826
R3 R9
PROTOCOLO OSPFv2
Tráfico se distribuye
Ruta 2
Costo de Ruta 1 = Costo de Ruta 2
PROTOCOLO OSPFv2
RFC 2328: “OSPF Version 2”
PROTOCOLO OSPFv2
RFC 2328: “OSPF Version 2”
PROTOCOLO OSPFv2
RFC 2328: “OSPF Version 2”
0 8 16 31 Campo Versión:
Ver HLEN ToS Longitud Total ► Indica la versión del protocolo
Cabecera
Identificador
Protocolo
Indicador/Desplazam. OSPF, Versión 2.
TTL Suma de Chequeo
Campo Tipo:
IPv4
59H = 89
Dirección IP de Origen
PROTOCOLO OSPFv2
RFC 2328: “OSPF Version 2”
59H = 89
Dirección IP de Origen
Autenticación
loopback si esta está activa.
Formato del tipo de
Paquete OSPF
Campo ID del Área:
► Indica el área en el que se originó
el paquete OSPF.
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
PROTOCOLO OSPFv2
59H = 89
Dirección IP de Origen Campo Tipo de Autenticación:
Dirección IP de Destino ► Indica el tipo de autenticación a usar en el paquete.
Longitud del
Versión Tipo
paquete
Se configura por áreas.
ID del Router La RFC 2328 define dos tipos de autenticación:
ID del Área
- 0 Ninguna
Protocolo
Autenticación
- 2 Autenticación MD5.
Formato del tipo de
Paquete OSPF
Campo Autenticación:
► Campo de 64 bits, contiene la
información de autenticación.
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
0 8 16 31
Identificador Indicador/Desplazam.
Protocolo
224. 00 . 00 . 05
TTL Suma de Chequeo
IPv4
59H = 89
Dirección IP de Origen
224. 00 . 00 . 06
Dirección IP de Destino
Versión Tipo
Longitud del Encapsulado
paquete
ID del Router
ID del Área Dirección MAC de Destino:
Protocolo
Autenticación
Dirección MAC de Origen:
De la interfaz emisora
Formato del tipo de
Paquete OSPF
Direcc. Direcc. Tipo Protocolo IPv4 llevando
destino origen 0800 OSPFv2
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
Versión Tipo = 1
Longitud del
paquete
Paquetes Hello son paquetes OSPF tipo 1.
ID del Router ► Son enviados periódicamente a
ID del Área
todas las interfaces (incluyendo
Protocolo
Longitud del
Campo Máscara.
Versión Tipo = 1
ID del Router
paquete
► Es la máscara de la red asociada con la interfaz
ID del Área emisora.
Protocolo
Autenticación
► Define la frecuencia en seg. con que un router
Máscara envía un paquete Hello.
Prioridad
Intervalo de Hello Opción
de Router
Campo de Opción:
Protocolo
Longitud del
Campo Intervalo Dead Router.
Versión Tipo = 1
ID del Router
paquete
► Número en segundos antes de declarar caído
ID del Área el router vecino.
Protocolo
PROTOCOLO OSPFv2
RFC 2328: “OSPF Version 2”
•ip ospf hello-intervalsegundos
•ip ospf dead-intervalsegundos
R2 17.7.7.4/30 R3
.5 .6 .9
.2
17.7.7.24/30
17.7.7.28/30
Tarea: R1 .1 .25 .29 .10 R4
AREA 0
Analizar
17.7.7.36/30
17.7.7.32/30
.13 .26 .30 .22
todos los .33 .14 .21 .37
mensajes .17 .18
OSPFv2 .34 17.7.7.16/30 .38
Ra R5 R6 Rb
.1 .1
LAN 1 LAN 2
.2 .2
210.11.11.0/24 220.22.22.0/24
220.3.3.0/24
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
AREA 1 .2 .5 AREA 2
R3 R6 40.4.4.12/30
PCa 30.3.3.12/30 .1 .6 PCc
Ra R1 AREA 0 R8 Rc
.2 .1 .13 .2 .9 .2 .13 .1 .2
Costo 1
.1
.17
.1
.22
20.1.1.16/30
20.1.1.20/30
.14 .14
Costo 2
210.1.1.0/25 .9 .9 Costo 1
Costo 1 220.2.2.0/24
.21
.18 .10
.14 20.1.1.12/30 .13
Rd
210.1.1.128/25 .6 Costo 3 .6 .10
30.3.3.16/30 .10 40.4.4.16/30
.129 .17 .5 R4 R7 .18
.5
.18 .17 .1
PCb Rb Costo 1 R9 Costo 1
.130 R2 .2
Costo 1
.1
.17
R4(config-if)#ip ospf cost 2 .1
.22
20.1.1.16/30
20.1.1.20/30
.14 .14
Costo 2
210.1.1.0/25 .9 R4(config-if)#ip no shut .9 Costo 1
Costo 1 220.2.2.0/24
R4(config-if)#exit
.21
.18 .10
R4(config)#int fast 1/0
f1/1 .14 .13
R4(config-if)#ip
20.1.1.12/30 addr 20.1.1.14 255.255.255.252 Rd
210.1.1.128/25 .6 f1/0 Costo 3
R4(config-if)#ip ospf cost
.6 3 .10
30.3.3.16/30 .10 40.4.4.16/30
.129 .17 f0/0 R4 R7
R4(config-if)#ip no shut
.5 .5 .18
.18 R4(config-if)#exit .17 .1
PCb Rb Costo 1 R9 Costo 1
.130 R2 R4(config)#router ospf 1 .2
R4(config-router)#network 30.3.3.4 0.0.0.3 area 1
R4(config-router)#network 20.1.1.12 0.0.0.3 area 0
R4(config-router)#network 20.1.1.16 0.0.0.3 area 0 PCd
220.3.3.0/24
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
Costo 1
.1
.17
.1
.22
20.1.1.16/30
20.1.1.20/30
f0/0 f1/0.14 Ra(config-if)# ip addr 30.3.3.13 255.255.255.252 .14
Costo 2
210.1.1.0/25 .9 .9 Costo 1
Costo 1 Ra(config-if)#no shut 220.2.2.0/24
.21
.18
Ra(config-if)#exit .10
f1/1 .14 Ra(config)#ip route
.13 0.0.0.0 0.0.0.0 30.3.3.14
20.1.1.12/30
Rd
210.1.1.128/25 .6 f1/0 Costo 3 .6 .10
30.3.3.16/30 .10 40.4.4.16/30
.129 .17 f0/0 R4 R7
.5 R1#conf term .5 .18
.18 R1(config)#ip route 210.1.1.0 255.255.255.128.17 30.3.3.13
PCb Rb Costo 1 R9 Costo 1 .1
R2 R1(config)#router ospf 1 .2
.130
R1(config-router)#network 30.3.3.12 0.0.0.3 area 1
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 PCd
220.3.3.0/24
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
Costo 1
.1C
.17
.1
.22
20.1.1.0 is directly connected, FastEthernet0/0
20.1.1.16/30
20.1.1.20/30
.14 .14
Costo 2
210.1.1.0/25 .9 O 20.1.1.12 [110/8] via 20.1.1.6, 01:11:17, FastEthernet1/0
.9 Costo 1
Costo 1 O 20.1.1.8 [110/12] via 20.1.1.6, 01:11:17, FastEthernet1/0 220.2.2.0/24
.21
40.0.0.0/30 is subnetted, 5 subnets
.18 .10
O IA 40.4.4.8 [110/6] via 20.1.1.6, 01:03:43, FastEthernet1/0
O IA 40.4.4.12 [110/6].14 via 20.1.1.6, .13
01:03:47, FastEthernet1/0
20.1.1.12/30
O IA 40.4.4.0 [110/5] via 20.1.1.6, 01:03:47, FastEthernet1/0 Rd
.6 Costo 3 .6 .10
210.1.1.128/25 30.3.3.16/30 .10 O IA 40.4.4.4 [110/6] via 20.1.1.6, 01:03:48, FastEthernet1/0 40.4.4.16/30
.129 .17 O .5
IA 40.4.4.16R4[110/7] via 20.1.1.6, 01:03:48, FastEthernet1/0
R7 .18
30.0.0.0/30 is subnetted, 5 subnets .5
.18 O IA 30.3.3.16 [110/13] via 20.1.1.1, 00:56:07, FastEthernet0/0 .17 .1
PCb Rb Costo 1 R9 Costo 1
O IA 30.3.3.12 [110/11] via 20.1.1.1, 00:56:16, FastEthernet0/0
.130 R2 O IA 30.3.3.8 [110/12] via 20.1.1.1, 00:56:12, FastEthernet0/0 .2
O IA 30.3.3.4 [110/18] via 20.1.1.6, 00:56:07, FastEthernet1/0
[110/18] via 20.1.1.1, 00:56:07, FastEthernet0/0
O IA 30.3.3.0 [110/10] via 20.1.1.1, 00:56:16, FastEthernet0/0 PCd
R5#
220.3.3.0/24
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
Costo 1
.1
.17
.1
.22
8 40.4.4.14 120 msec 100 msec 112 msec
20.1.1.16/30
20.1.1.20/30
.14 .14
Costo 2
210.1.1.0/25 .9 .9 Costo 1
Costo 1 220.2.2.0/24
.21
.18 .10
.14 20.1.1.12/30 .13
Rd
210.1.1.128/25 .6 Costo 3 .6 .10
30.3.3.16/30 .10 40.4.4.16/30
.129 .17 .5 R4 R7 .18
.5
.18 .17 .1
PCb Rb Costo 1 R9 Costo 1
.130 R2 .2
PCd
220.3.3.0/24
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
Costo 1
.1
.17
.1
.22
20.1.1.16/30
20.1.1.20/30
5 30.3.3.5 112 msec 120 msec 120 msec .14
.14
Costo 2
.9 .9 Costo 1
210.1.1.0/25
Costo 1 6 30.3.3.17 156 msec 144 msec 144 msec 220.2.2.0/24
.21
.18 .10
.14 20.1.1.12/30 .13
Rd
210.1.1.128/25 .6 Costo 3 .6 .10
30.3.3.16/30 .10 40.4.4.16/30
.129 .17 .5 R4 R7 .18
.5
.18 .17 .1
PCb Rb Costo 1 R9 Costo 1
.130 R2 .2
PCd
220.3.3.0/24
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
Costo 1
.1
.17
.1
.22
20.1.1.16/30
20.1.1.20/30
.14 .14
Costo 2
210.1.1.0/25 .9 .9 Costo 1
Costo 1 220.2.2.0/24
.21
.18 .10
.14 20.1.1.12/30 .13
Rd
210.1.1.128/25 .6 Costo 3 .6 .10
30.3.3.16/30 .10 40.4.4.16/30
.129 .17 .5 R4 R7 .18
.5
.18 .17 .1
PCb Rb Costo 1 R9 Costo 1
.130 R2 .2
R(config)#router ospf 1
R(config-router)#redistribute static subnets PCd
220.3.3.0/24
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
Costo 1
.1
.17
.1
.22
20.1.1.16/30
20.1.1.20/30
O 20.1.1.12 [110/8] via 20.1.1.6, 02:09:34, FastEthernet1/0
.14 .14
Costo 2
210.1.1.0/25 .9 O 20.1.1.8 [110/12] via 20.1.1.6, 02:09:34, FastEthernet1/0 .9 Costo 1
Costo 1 40.0.0.0/30 is subnetted, 5 subnets 220.2.2.0/24
.21
O IA 40.4.4.8 [110/6] via 20.1.1.6, 02:01:59, FastEthernet1/0
O IA 40.4.4.12 [110/6] via 20.1.1.6, 02:02:04,.10
.18 FastEthernet1/0
O IA 40.4.4.0 [110/5] via 20.1.1.6, 02:02:04,.13
.14 FastEthernet1/0
20.1.1.12/30
O IA 40.4.4.4 [110/6] via 20.1.1.6, 02:02:06, FastEthernet1/0 Rd
O IA.640.4.4.16 [110/7] viaCosto 3 02:02:06, FastEthernet1/0
20.1.1.6, .6 .10
210.1.1.128/25 30.3.3.16/30 .10 40.4.4.16/30
210.1.1.0/25 is subnetted, 2 subnets
.129 .17 .5 R4 R7 .18
O E2 210.1.1.128 [110/20] via 20.1.1.1, 00:00:28, FastEthernet0/0 .5
.18 O E2 210.1.1.0 [110/20] via 20.1.1.1, 00:00:28, FastEthernet0/0
Rb Costo 1 30.0.0.0/30 is subnetted, 5 subnets .17 .1
PCb O IA 30.3.3.16 [110/13] via 20.1.1.1, 01:54:23, FastEthernet0/0
R9 Costo 1
.130 R2 O IA 30.3.3.12 [110/11] via 20.1.1.1, 01:54:32, FastEthernet0/0 .2
O IA 30.3.3.8 [110/12] via 20.1.1.1, 01:54:28, FastEthernet0/0
R(config)#router
O IA 30.3.3.4 [110/18] ospf 1
via 20.1.1.6, 01:54:23, FastEthernet1/0
[110/18] via 20.1.1.1, 01:54:23,static
FastEthernet0/0
R(config-router)#redistribute subnets
O IA 30.3.3.0 [110/10] via 20.1.1.1, 01:54:32, FastEthernet0/0
PCd
220.3.3.0/24
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com
SISTEMAS DE TELECOMUNICACIONES II
PROTOCOLO OSPFv3
CONFIGURACIÓN OSPFv3
Lo_61
2001:13a0:777:1/64
R1 Area 0 R2
2001:13A0:1234::1/64
S1
S0
2001:13A0:1234::2/64
R1>enable
R1#configure terminal
R1(config)#ipv6 router ospf 1 R2>enable
R1(config-rtr)#exit R2#configure terminal
R1(config)#interface serial 0 R2(config)#ipv6 router ospf 1
R1(config-if)#ipv6 enable R2(config-rtr)#exit
R1(config-if)#ipv6 ospf 1 area 0 R2(config)#interface serial 1
R1(config-if)#exit R1(config-if)#ipv6 enable
R1(config)#interface loopback 61 R2(config-if)#ipv6 ospf 1 area 0
R1(config-if)#ipv6 enable R2(config-if)#exit
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#exit
Ingrese ipv6 enable si NO habilitó previamente
IPv6 en la interfaz
R1 R2 Red con
2001:13a0:56bc::1/126
OSPFv3
Fa0/1 Fa1/0
2001:13a0:56bc::2/126
2001:14bc:fc00::/64
....
AREA 1 R6 AREA 2
R3
R1 R8
Ra AREA 0 Rc
Costo 1
Costo 2
LAN UNFV LAN INICTEL-UNI
2001:1ABC:4::/64
2001:1ABC:2::/64 212.2.2.192/26
212.2.2.128/26 Costo 3
R4 R7
Rb Rd
R2 R9
Sistema Autónomo
.... ....
Profesor Daniel Díaz Ataucuri PROTOCOLOS DE ENRUTAMIENTO DINÁMICO ddiaz1610@gmail.com