Você está na página 1de 40

PROTOCOLO IPv6

PROTOCOLO IPv6

Profesor Daniel Daz Ataucuri


ddiaz@inictel-uni.edu.pe
http://www.danieldiaza.com
Propiedad intelectual de Daniel Daz @ 2013

Catedrtico Titular a Tiempo Parcial FIEE-UNI / UNMSM


Director de Investigacin y Desarrollo
Tecnolgico del INICTEL-UNI

ddiaz@inictel-uni.edu.pe
Lima, Abril-Diciembre de 2013
Palacio Real-Espaa

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

QUE NECESITA INTERNET


Evolucionar (no revolucionar) sus protocolos a otros
que ofrezcan menor retardo E2E, mejor seguridad,
ms direcciones IP, entre otros.
Cambiar su arquitectura de red.
DiffServ. MPLS.
Propiedad intelectual de Daniel Daz @ 2013

IntServ. MPLS/DiffServ
Las redes IP deben ofrecer una adecuada QoS.
Porque todo esto?

ddiaz@inictel-uni.edu.pe
Las
Las aplicaciones
aplicaciones de
de tiempo
tiempo real
real exigen
exigen cada
cada vez
vez
ms
ms recursos
recursos de
de la
la red
red

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

ESTRUCTURA DEL PROTOCOLO


0 4 8 12 16 24 31
IPv6
Ver DS Etiqueta de flujo
Longitud de carga til Cabe.sigte Lmite salto
40 bytes
Direccin
DireccinIPde
deorigen
origen

Direccin IP de destino
Propiedad intelectual de Daniel Daz @ 2013

Cabecera extensin 1
Cabecera extensin 2
.

ddiaz@inictel-uni.edu.pe
.
.
Cabecera extensin n

PDU de la capa superior

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

CAMPOS DE IPv6
0 4 8 12 16 24 31
Versin
Ver DS Etiqueta de flujo Indica la versin del protocolo.
Longitud de carga tilCabe.sigte Lmite
Lmite salto
salto Valor en 6=0110
Longitud de carga til
40 bytes

Direccin
DireccinIPdedeorigen
origen
Indica el tamao de la carga til en
bytes (cabecera de extensin +
Propiedad intelectual de Daniel Daz @ 2013

Direccin IP de destino PDU de capa superior).


Lmite de saltos
Opcional

Cabecera de extensin
Se disminuye en la unidad en

ddiaz@inictel-uni.edu.pe
cada nodo.
PDU de la capa superior Si Hop Limit llega a cero, el
router descarta el paquete
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

CAMPOS DE IPv6-Campo DS
0 4 8 12 16 24 31
Asigna prioridad a cada
Ver DS Etiqueta de flujo
paquete, aun si es de la
Longitud de carga tilCabe.sigte Lmite salto
misma fuente.
40 bytes

Direccin
DireccinIPdedeorigen
origen

Define la arquitectura
Propiedad intelectual de Daniel Daz @ 2013

Direccin IP de destino
DiffServ
Opcional

Cabecera de extensin

ddiaz@inictel-uni.edu.pe
Cuando est en 0000 0000,
PDU de la capa superior corresponde al best effort.

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

CAMPO DS-DIFFERENTED
SERVICE
En la RFC 2474 Definition of the Differentiated
Services Field in IPv4 and IPv6 Headers se define
este campo.

0 1 2 3 4 5 6 7
Propiedad intelectual de Daniel Daz @ 2013

Bits ms DSCP
DSCP CU
CU RFC 2474
significativo

Differentiated Service CodePoint Currently Podra ser usado para

ddiaz@inictel-uni.edu.pe
Unused notificar congestin

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

CAMPO ETIQUETA DE FLUJO


0 4 8 12 16 24 31
Que es un flujo?
Ver DS Etiqueta de flujo
Etiqueta flujo Es una secuencia de paquetes
Longitud de carga tilCabe.sigte Lmite salto enviados desde un host transmisor
a otro receptor (unicast) o a varios
receptores (multicast).
40 bytes

Direccin
DireccinIPdedeorigen
origen
Propiedad intelectual de Daniel Daz @ 2013

Direccin IP de destino Direccin


Etiqueta
IP de + de flujo
Opcional

Cabecera de extensin origen

ddiaz@inictel-uni.edu.pe
PDU de la capa superior
Flujo

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

USO DE LA ETIQUETA DE FLUJO


Los routers deben tratar adecuadamente los paquetes
de datos pertenecientes a un flujo.
SEALIZACIN
Flujo 1 Flujo 1
Asignar Asignar
Flujo 1 calidad Internet
Internet calidad
Flujo 1 Flujo 1
Asignar Q1 Q1
Propiedad intelectual de Daniel Daz @ 2013

Asignar Asignar
calidad calidad calidad
Q1 Q1 Q1

ddiaz@inictel-uni.edu.pe
Flujo 1

Flujo 1 con Q1
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

CAMPO CABECERA SIGUIENTE


0 4 8 12 16 24 31 Identifica el tipo de cabecera
Ver DS Etiqueta de flujo
que sigue a la cabecera
Longitud de carga til Cabe.sigte Lmite salto bsica IPv6.
Las cabeceras de extensin,
40 bytes

Direccin
DireccinIPdedeorigen
origen
tambin tienen este campo.
Propiedad intelectual de Daniel Daz @ 2013

Direccin IP de destino Las cabeceras de extensin


slo son procesadas por los
Opcional

Cabecera de extensin routers si se indica.

ddiaz@inictel-uni.edu.pe
PDU de la capa superior Las cabeceras de extensin
son procesadas en orden.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

VALORES DE CABECERA
SIGUIENTE
Propiedad intelectual de Daniel Daz @ 2013

ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

DIRECCIONES DEL
PROTOCOLO
Propiedad intelectual de Daniel Daz @ 2013

IPv6

ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

DIRECCIONES EN IPv6
0 4 8 12 16 24 31 En la RFC 3513 se define
la Arquitectura de las
Ver DS Etiqueta de flujo
Longitud de carga til Cabe.sigte Lmite salto
Direcciones IPv6
(Abril de 2003).
40 bytes

Direccin
DireccinIPdedeorigen
origen
En la RFC 4291 se define
Propiedad intelectual de Daniel Daz @ 2013

Direccin IP de destino
la Arquitectura de las
Direcciones IPv6
(Febrero de 2006) y
Opcional

Cabecera de extensin

ddiaz@inictel-uni.edu.pe
actualiza a la RFC 3513.
PDU de la capa superior

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

NOTACION DE LAS DIRECCIONES


IPv6en 08 grupos de 16 bits
Una direccin IPv6 se divide
cada uno unidos por :
128 bits
Propiedad intelectual de Daniel Daz @ 2013

bbbb
bbbbbbbb
bbbbbbbb
bbbbbbbb
bbbb
16 bits

Cada grupo se expresa en hexadecimal.

ddiaz@inictel-uni.edu.pe
Ejemplo de una direccin IPv6
2001 : 1a13 : 0000 : 0000 : 12bc : 0045 : fe00 : 0001

0001 0010 1011 1100


INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

CONVENCIONES EN DIRECCIONES
IPv6
Los bits en 0 a la izquierda se pueden comprimir.
2001 : 1a13 : 0000 : 0000 : 12bc : 0045 : 0fe0 : 0001
Se puede escribir como:
2001 : 1a13 : 0 : 0 : 12bc : 45 : fe0 : 1

Campos sucesivos en 0 se pueden representar con ::


Propiedad intelectual de Daniel Daz @ 2013

2001 : 1a13 : 0 : 0 : 12bc : 45 : fe0 : 1


Se puede escribir como:
Slo un :: en
2001 : 1a13 :: 12bc : 45 : fe0 : 1

ddiaz@inictel-uni.edu.pe
una direccin

Otro ejemplo:
FF02:0:0:0:0:0:0:1 = FF02::1

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

PREFIJO DE DIRECCION IPv6


Prefijos de direccin IPv6 es similar a la forma de
los prefijos de direccin IPv4 en notacin CIDR.

Direccin
DireccinIPv6
IPv6/ /longitud
longitudde
deprefijo
prefijo

Ejemplo, el prefijo de la Red AcadmicA Peruana


Propiedad intelectual de Daniel Daz @ 2013

RAAP es:
2001 : 13a0 :: / 32

ddiaz@inictel-uni.edu.pe
Esto quiere decir que :
2001 : 13a0 : 0000 :0000 : 0000: 0000: 0000 : 0000
Identifica Para ser distribuido
la RAAP dentro de la RAAP
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

DIRECCIONES EN IPv6
(Segn la RFC 3513-Abril de 2003)

Prefijo de red
LINK LOCAL FE80::/10
03 tipos de direcciones UNICAST

Prefijo de red
UNICAST SITE - LOCAL FECO::/10
ADDRESS UNICAST

Prefijo de red
Propiedad intelectual de Daniel Daz @ 2013

GLOBAL UNICAST Diferente al anterior

Es una direccin
ANYCAST Global unicast

ddiaz@inictel-uni.edu.pe
ADDRESS

Prefijo de red
MULTICAST FF00::/8
ADDRESS

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

DIRECCIONES EN IPv6
(Segn la RFC 4291-Febrero de 2006)

Prefijo de red
LINK LOCAL FE80::/10
03 tipos de direcciones UNICAST

UNICAST
ADDRESS

Prefijo de red
Propiedad intelectual de Daniel Daz @ 2013

GLOBAL UNICAST Diferente al anterior

Es una direccin
ANYCAST Global unicast

ddiaz@inictel-uni.edu.pe
ADDRESS

Prefijo de red
MULTICAST FF00::/8
ADDRESS

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

DIRECCIONES UNICAST LINK-LOCAL


Son direcciones que slo pueden ser alcanzados por
nodos ubicados en el mismo enlace local.
Link-local son requeridos por procesos de Neighbor
Discovery y son configurados automticamente.

El prefijo es FE80::/10
Propiedad intelectual de Daniel Daz @ 2013

10 bits 54 bits 64 bits

0 ID Interfaz

ddiaz@inictel-uni.edu.pe
1111 1110 10

FE80::/10

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

EXTENDED UNIVERSAL IDENTIFIER (EUI-


(RFC 2464: Transmission of IPv6 Packets over Ethernet Netorks)
64)
Direccin IEEE 802 de 48 bits
24 bits 24 bits

ccccccug cccccccc cccccccc xxxxxxxx xxxxxxxx xxxxxxxx


ID de la compaa y administrado por la IEEE ID de extensin y seleccionado por el fabricante

u 0 ; la IEEE administra la direccin. g 0 ; direccin unicast.


Propiedad intelectual de Daniel Daz @ 2013

u 1 ; localmente administrada la direccin. g 1 ; direccin multicast.

ccccccug cccccccc cccccccc FF FE xxxxxxxx xxxxxxxx xxxxxxxx

ddiaz@inictel-uni.edu.pe
24 bits 24 bits
64 bits
u es complementado

Direccin EUI-64

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

OBTENCIN DE UNA DIRECCION EUI-64


Direccin MAC: Prefijo de red:
00-02-3F-76-A0-7D FE80::/10
OUI
Neighbor solicitation
NOTA:
ipv6 if
Para ver interfaces
00-02-3F-76-A0-7D
IPv6 en una PC Neighbor advertisement
Propiedad intelectual de Daniel Daz @ 2013

00-02-3F FF-FE 76-A0-7D

0000 0000

ddiaz@inictel-uni.edu.pe
0000 0010

02-02-3F FF-FE 76-A0-7D


FE80::202:3FFF:FE76:A07D
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

ENCADENAMIENTO DE LAS
CABECERAS DE EXTENSION
Ver Pri Etiqueta de flujo
Longitud de carga til Cab sigte=0 Lmite salto
Direccin origen

Direccin destino
Cab sigte=43
Opcin salto-a-asalto
Propiedad intelectual de Daniel Daz @ 2013

Cab sigte=44
Informacin de encaminamiento
Cab sigte=51
Informacin de fragmentacin

ddiaz@inictel-uni.edu.pe
Cab sigte=6
Autenticacin de datos

Cabecera TCP y datos


INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

IPv6 PARA EL FUTURO


Cab sig=100

Ver Pri Etiqueta de flujo


Longitud de carga til Cab sig=0 Lmite salto
Direccin origen
Direccin destino
Cabsigte=43
Cab sigte=0
Nueva Cabecera =100 Opcin
Opcinpara
salto-a-asalto
el futuro_2050
(por ejemplo)
Cab sigte=44
Propiedad intelectual de Daniel Daz @ 2013

Informacin de encaminamiento
Cab sigte=51
Informacin de fragmentacin
Cab sigte=6
Autenticacin de datos

ddiaz@inictel-uni.edu.pe
Cabecera TCP y datos

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

CABECERA DE
0
FRAGMENTACION
8 16 24
(2/2) 31

Cabecera siguiente Reservado Desplaz de fragmento ResM


Identificador de fragmento

Cabecera siguiente
Campo de 08 bits, indica el tipo de cabecera que sigue.
Desplazamiento de fragmento
Propiedad intelectual de Daniel Daz @ 2013

Campo de 13 bits. Indica de ubicacin del fragmento dentro del


datagrama original. Se mide en 08 bytes.
Bit M

ddiaz@inictel-uni.edu.pe
M=1 indica ms (More) fragmento. M=0 es el ltimo fragmento.
Identificador de fragmento
Campo de 32 bits e indica a que datagrama IP original pertenece
el fragmento.
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

PROCESO DE LA
FRAGMENTACION
No
Nofrag.
frag. Parte
Partefragmentable
fragmentable

No
Nofrag.
frag. Frag.
Frag.11 Frag.
Frag.22 ..
.. Frag.
Frag.nn
Propiedad intelectual de Daniel Daz @ 2013

Cabecera de
Cabecera de Frag. 1
No
Nofrag.
frag. fragmentacin
fragmentacin Frag. 1

Cabecera de
Cabecera de Frag. 2
No
Nofrag.
frag. fragmentacin
fragmentacin Frag. 2
.. PROCESO DE

ddiaz@inictel-uni.edu.pe
FRAGMENTACIN
..
Cabecera de
Cabecera de Frag. n
No
Nofrag.
frag. fragmentacin Ms detalle en la
fragmentacin Frag. n
RFC 2460

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

DUAL STACK
Los routers de la red soportan ambos protocolos IP:
IPv4 e IPv6.
Ambos protocolos tienen independiente
enrutamiento, QoS, seguridad, multicast, entre otros.
Se comparten los recursos de la red.
Propiedad intelectual de Daniel Daz @ 2013

IPv6 IPv6
Red IPv4/IPv6

ddiaz@inictel-uni.edu.pe
IPv4 IPv4

Host Host
IPv4/IPv6 IPv4/IPv6

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

DUAL STACK
2001:13A0:1234::1/64
200.1.1.1/30
S1 APLICACIN
APLICACIN
S0
200.1.1.2/30
2001:13A0:1234::2/64
TCP/UDP
TCP/UDP

IPv6
IPv6 IPv4
IPv4
Propiedad intelectual de Daniel Daz @ 2013

Ver HLENTipo Serv. Longitud total Ver DS Etiqueta de flujo


Longitud de carga til Cabe.sigteLmite salto
Identificador Indic Desplaz de frag.
CAPA
CAPADE
DEENLACE
ENLACE
TTL Protocolo Suma de chequeo
Ambos protocolos Direccin
DireccinIPdedeorigen
origen
Direccin IP de origen
Direccin IP de destino
son aceptados por
los routers Direccin IP de destino

ddiaz@inictel-uni.edu.pe
Opciones-relleno

Cabecera de extensin

PDU de la capa superior

PDU de la capa superior

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

DUAL STACK: Configuracin bsica


Lo_41 210.2.2.2/24
Lo_61 2001:13a0:777:1/64 R1 200.1.1.1/30 R2
2001:13A0:1234::1/64
S1
S0
2001:13A0:1234::2/64
200.1.1.2/30

R1>enable R1>enable
R1#configure terminal R1#configure terminal
R1(config)#interface serial 0 R1(config)#ipv6 unicast-routing
R1(config-if)#ip address 200.1.1.1 255.255.255.252 R1(config)#interface serial 0
Propiedad intelectual de Daniel Daz @ 2013

R1(config-if)#no shutdown R1(config-if)#ipv6 address 2001:13a0:1234::1/64


R1(config-if)#ipv6 enable

R2>enable R2>enable
R2#configure terminal R2#configure terminal
R2(config)#interface serial 1 R2(config)#ipv6 unicast-routing
R2(config-if)#ip address 200.1.1.2 255.255.255.252 R2(config)#interface serial 1

ddiaz@inictel-uni.edu.pe
R2(config-if)#no shutdown R2(config-if)#ipv6 address 2001:13a0:1234::2/64
R2(config-if) #ipv6 enable

R1(config)#interface loopback 41 R1config)#interface loopback 61


R1(config-if)#ip address 210.2.2.2 255.255.255.0 R1(config-if)#ipv6 address 2001:13a0:777::1/64
R1(config-if)#no shutdown R1 (config-if) #ipv6 enable

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

DUAL STACK: Tablas Estticas


Criterio idntico al utilizado en la definicin de
las tablas estticas en IPv4.
Se debe identificar la direccin IPv6 del salto siguiente.
Comando similar al de las redes con IPv4.
ipv6 route <prefijo de la red/longitud del prefijo> <direccin IPv6 del salto siguiente>
Propiedad intelectual de Daniel Daz @ 2013

Lo_61
2001:13a0:777:1/64
R1 R2 2001:13A0:999::2/64
2001:13A0:1234::1/64
S1
S0
2001:13A0:1234::2/64

ddiaz@inictel-uni.edu.pe
R1>enable
R1#configure terminal
R1(config)#ipv6 route 2001:13a0:999::/64
2001:13a0:1234::2

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

DUAL STACK: RIP para IPv6 (RIPng)


Lo_41 210.2.2.2/24
Lo_61 2001:13a0:777:1/64 R1 200.1.1.1/30 R2
2001:13A0:1234::1/64
S1
S0
2001:13A0:1234::2/64
200.1.1.2/30
Propiedad intelectual de Daniel Daz @ 2013

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 serial 0 R2(config)#interface serial 1
R1(config-if)#ipv6 rip inictel R2(config-if)#ipv6 rip inictel enable

ddiaz@inictel-uni.edu.pe
enable R2(config-if)#exit
R1(config-if)#exit
R1(config)#interface loopback 61
R1(config-if)#ipv6 rip inictel
enable
R1(config-if)#exit

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

DUAL STACK: 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 R2>enable
Propiedad intelectual de Daniel Daz @ 2013

R1#configure terminal R2#configure terminal


R1(config)#interface serial 0 R2(config)#interface serial 1
R1(config)#ipv6 enable R1(config)#ipv6 enable
R1(config-if)#ipv6 ospf 1 area 0 R2(config-if)#ipv6 ospf 1 area 0
R1(config-if)#exit R2(config-if)#exit
R1(config)#interface loopback

ddiaz@inictel-uni.edu.pe
61
R1(config)#ipv6 enable
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#exit

http://ironbark.bendigo.latrobe.edu.au/subjects/INW/lectures/15/

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

REDISTRIBUCION: OSPFv3 CON RIPng


R1#configure
R1#configureterminal
terminal
R1(config)#
R1(config)#ipv6
ipv6unicast-routing
unicast-routing
R1(config)#
R1(config)# interfaceFastEthernet
interface FastEthernet1/0
1/0
R1(config-if)#
R1(config-if)# ip address210.1.1.65
ip address 210.1.1.65 255.255.255.192
255.255.255.192
R1(config-if)# ipv6 address 2001:1A13:9000::1/64
R1(config-if)# ipv6 address 2001:1A13:9000::1/64
R1(config-if)#
R1(config-if)#ipv6
ipv6enable
enable
RIPv2 AREA 1 R1(config-if)#
R1(config-if)# ipv6rip
ipv6 riplima
limaenable
enable
2001:1a13:9000::/64 R3 R1(config-if)# exit
R1(config-if)# exit
00/126
cf::60
PCa a13 : 4
30 R1(config)#
R1(config)#interface
interfaceFastEthernet1/1
.65R1
2001:1
30 . 3.3.0/ R1(config-if)#
FastEthernet1/1
.6001 .2 R1(config-if)#ipipaddress
address30.3.3.1
30.3.3.1255.255.255.252
255.255.255.252
.1 .1 Fa1/1 5 R1(config-if)# ip ospf cost 5
R1(config-if)# ip ospf cost 5
Fa1/0 C osto R1(config-if)#
R1(config-if)#ipv6
ipv6address
address2001:1A13:4CF::6001/126
2001:1A13:4CF::6001/126
.9
:4cf::600 .6009

210.1.1.64/26 R1(config-if)# ipv6 enable


R1(config-if)# ipv6 enable
Propiedad intelectual de Daniel Daz @ 2013

8/126

Fa2/0
R1(config-if)#
R1(config-if)#ipv6
ipv6ospf
ospfcost
cost55
30.3.3.8 1
/30
Costo

R1(config-if)#
R1(config-if)#ipv6
ipv6ospf
ospf11area
area11
osto R1(config-if)# exit
C 0 R1(config-if)# exit
RIPv2 1 / 30
3. 4 R1(config)#
R1(config)#interface
interfaceFastEthernet2/0
3

3. FastEthernet2/0
1

30. .6
a

210.1.1.128/26 .10 R1(config-if)#


R1(config-if)# ip address30.3.3.9
ip address 30.3.3.9255.255.255.252
:1

255.255.255.252
1

R1(config-if)#
R1(config-if)#ipipospf
ospfcost
cost11
0

.129 .5
20

ddiaz@inictel-uni.edu.pe
R1(config-if)#
R1(config-if)#ipv6
ipv6address
address2001:1A13:4CF::6009/126
2001:1A13:4CF::6009/126
R1(config-if)# ipv6 enable
R1(config-if)# ipv6 enable
PCb R2
R1(config-if)#
R1(config-if)#ipv6
R1(config-if)#
ipv6ospf
ospfcost
cost11
R1(config-if)#ipv6
ipv6ospf
ospf11area
area11
R1#configure
R1#configureterminal
terminal R1#configure
R1#configureterminal
terminal
R1(config)#ipv6
R1(config)#ipv6router
routerrip
riplima
lima R1(config)#ipv6
R1(config)#ipv6router
routerospf
ospf11
R1(config-rtr)#
R1(config-rtr)#redistribute
redistributeospf
ospf11metric
metric11match
matchinternal
internalexternal
external11 R1(config-rtr)#redistribute
R1(config-rtr)#redistributerip
riplima
limainclude-connected
include-connected
external
external 2 include-connected
2 include-conne cted R1(config-rtr)#exit
R1(config-rtr)#exit
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

TUNEL
Propiedad intelectual de Daniel Daz @ 2013

ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

TNEL IPv6 SOBRE IPv4


Permite enviar trfico IPv6 sobre la WAN en IPv4,
sin la necesidad de actualizar los routers de la WAN.
Tneles IPv6 sobre IPv4 (IPv6-over-IPv4 tunnels) encapsula
paquetes IPv6 dentro de IPv4.
Ver HLEN Tipo Serv. Longitud total
Identificador Indic Desplaz de frag.
TTL Protocolo Suma de chequeo

Existe
Existe una
una variedad
variedad de
de tipo
tipo de
de tnel
tnel que
que son
son usados
Propiedad intelectual de Daniel Daz @ 2013

Direccin IP de origen
Direccin IP de destino usados
Ver DS Etiqueta de flujo
Opciones-relleno
Longitud de carga til Cabe.sigteLmite salto
para
para diferentes
diferentespropsitos:
propsitos:
Manually
ManuallyConfigured
ConfiguredTunnel
Tunnel(MCT)
(MCT)
Direccin
DireccinIPdedeorigen
origen
PDU de la capa superior
IPv6-over-IPv4
IPv6-over-IPv4generic
genericrouting
routingencapsulation
encapsulation(GRE)
(GRE)tunnel
tunnel
Direccin IP de destino
Tunnel Broker
Tunnel Broker

ddiaz@inictel-uni.edu.pe
6to4
6to4Tunnel
Tunnel
Cabecera de extensin Intra-Site
Intra-SiteAutomatic
AutomaticTunnel
TunnelAddressing
AddressingProtocol
Protocol(ISATAP)
(ISATAP)Tunnel
Tunnel
IPv6
IPv6over
overMPLS
MPLS(6PE)
(6PE)
PDU de la capa superior

INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI


PROTOCOLO IPv6

TUNEL MANUAL (1/4)


R3
Fa
a 0/0 0
.5 / 1 C 2001:1234:2::/64
F .2 10 ost
4 . 7. o 220.20.20.0/24
st o /30 7.4 3
C o . 7. 0 / 30
2001:1234:1::/64 .7
10 AREA 0 Fa R4
210.10.10.0/24 0/0 PC2
0/ 1 .6
R2 Fa
.1 PROVEEDOR DE INTERNET .1
PC1 .18 30
. .2
Red con IPv4 Fa 3.
3.
.2

Fa
0/
.9

0/
Propiedad intelectual de Daniel Daz @ 2013

1
/0

1
Co

30
3
30
/0

/0
1 Fa0
0

o
1

6/
st

Co
0/ 3

0
10
Fa

st
.2

.1
o

Fa0/
Co
st .2
. 7.

.7
1 .
. 2.

o .1
7.

.7
.17
o

Costo 2 1
.2

10
8/

10
st

.13 .14

Fa
AREA 2
20

30
Co
Fa0/

0/
Fa

1
/0

1
/1

Fa1/1
Fa1/1
1

/0
10.7.7.12/30
.1
0

Fa

.1
Fa

R7

ddiaz@inictel-uni.edu.pe
AREA 1 R5 RED DE ACCESO R6
R1 Sub red del Tunel: 2001:97ab:1::/64 con IPv4

Dual Dual
stack RED DE ACCESO stack
con IPv4
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

TUNEL MANUAL (2/4)


R3
Fa
a 0/0 0
.5 / 1 C 2001:1234:2::/64
F .2 10 ost
4 . 7. o 220.20.20.0/24
t o /30 7.4 3

200
s
C o . 7. 0 / 30
2001:1234:1::/64

1
.7 AREA 0

:97a
10 Fa R4
64

210.10.10.0/24 0/0 PC2


1::1/

0/ 1

b:1:
R2 Fa .6
.1 PROVEEDOR DE INTERNET .1
7ab:

:2/6
PC1 .18 30
. .2
Red con IPv4 Fa 3.

4
3.
.2
:9

Fa
0/
.9

0/
Propiedad intelectual de Daniel Daz @ 2013

1
/0

1
Co
2001

30
3
30
/0

/0
1 Fa0
0

o
1

6/
st

Co
0/ 3

0
10
Fa

st
.2

.1
o

Fa0/
Co
st .2
. 7.

.7
1 .
. 2.

o .1
7.

.7
.17
o

Costo 2 1
.2

10
8/

10
st

.13 .14

Fa
AREA 2
20

30
Co
Fa0/

0/
Fa

1
/0

1
/1

Fa1/1
Fa1/1
1

/0
10.7.7.12/30
.1
0

Fa

.1
Fa

R7

ddiaz@inictel-uni.edu.pe
AREA 1
R1(config)#interface tunnelR5
0 R6
R7(config)#interface
RED DE tunnel 0
ACCESO
R1 R1(config-if)#tunnel mode ipv6ip R7(config-if)#tunnel mode ipv6ip
con IPv4
R1(config-if)#tunnel source 20.2.2.1 R7(config-if)#tunnel source 30.3.3.2
Dual R1(config-if)#tunnel destination 30.3.3.2 Dual
R7(config-if)#tunnel destination 20.2.2.1
stack RED DE ACCESO stack
R1(config-if)#ipv6 address 2001:97ab:1::1/64 R7(config-if)#ipv6 address 2001:97ab:1::2/64
con IPv4 enable
R1(config-if)#ipv6 R7(config-if)#ipv6 enable
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

TUNEL MANUAL (3/4)


captura de trama entre R5 y R6
Desde R1 R3
ping 2001:97ab:1::2 a 0/0
Fa
0
.5 / 1 C 2001:1234:2::/64
F .2 10 ost
4 . 7. o 220.20.20.0/24
t o /30 7.4 3

200
s
C o . 7. 0 / 30
2001:1234:1::/64

1
.7 AREA 0

:97a
10 Fa R4
64

210.10.10.0/24 0/0 PC2


1::1/

0/ 1

b:1:
R2 Fa .6
.1 PROVEEDOR DE INTERNET .1
7ab:

:2/6
PC1 .18 30
. .2
Red con IPv4 Fa 3.

4
3.
.2
:9

Fa
0/
.9

0/
Propiedad intelectual de Daniel Daz @ 2013

1
/0

1
Co
2001

30
3
30
/0

/0
1 Fa0
0

o
1

6/
st

Co
0/ 3

0
10
Fa

st
.2

.1
o

Fa0/
Co
st .2
. 7.

.7
1 .
. 2.

o .1
7.

.7
.17
o

Costo 2 1
.2

10
8/

10
st

.13 .14

Fa
AREA 2
20

30
Co
Fa0/

0/
Fa

1
/0

1
/1

Fa1/1
Fa1/1
1

/0
10.7.7.12/30
.1
0

Fa

.1
Fa

R7

ddiaz@inictel-uni.edu.pe
AREA 1 R5 R6 RED DE ACCESO
R1 con IPv4
Dual Dual
stack RED DE ACCESO stack
con IPv4
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

TUNEL MANUAL (4/4)


Acceder LAN en IPv6 R3 LAN y Tnel en AREA 0
Fa
Co a 0/0 0
2001:1234:2::/64
.5 / 1
1 s F .2
R1(config)#ipv6 unicast-routing 4 0.7 to
R7(config)#ipv6 unicast-routing 220.20.20.0/24
t o 0 . 7 3

200
s 0/3 . 4/
R1(config)#interface CofastEthernet
. 7 . 0/0 R7(config-if)#interface
30 fastEthernet 0/0
2001:1234:1::/64

1
. 7 AREA 0

:97a
10 2001:1234:1::1/64 R7(config-if)#ipv6 Fa address
0/0 R4
2001:1234:2::1/64
64

R1(config-if)#ipv6 address PC2


210.10.10.0/24
1::1/

/ 1 R7(config-if)#ipv6 enable

b:1:
0 enable
R1(config-if)#ipv6 .6
R2 Fa R7(config-if)#ipv6 ospf 1 .area 0
1
. PROVEEDOR
R1(config-if)# ipv6 ospf 1 area 0 DE INTERNET 1
7ab:

:2
PC1 R7(config-if)#exit .18 30.
R1(config-if)#exit

/64
.2
Red con IPv4 R7(config)#interfacea0tunnel 0 3.3.
F
.2
:9

Fa
R1(config)#interface tunnel 0
.9

/1 0/
Propiedad intelectual de Daniel Daz @ 2013

/0

1/
Co
2001

30
3
R7(config-if)# ipv6 ospf 1 area 0 30
/0
1 Fa0

0
R1(config-if)# ipv6 ospf 1 area 0
0

o
1

6/
st

C
0/ 3

0
10
Fa

st
.2 os

.1
o

Fa0/
Co
.2
. 7.

.7
1 .
. 2.

to .1
7.

.7
.17
o

Costo 2 1
.2

10
8/

10
st

.13 .14

Fa
AREA 2
20

30
Co
Fa0/

0
Fa

/1
/0

1
/1

Fa1/1
Fa1/1
1

/0
10.7.7.12/30
.1
0

Fa

.1
Fa

R7

ddiaz@inictel-uni.edu.pe
AREA 1 R5 R6 RED DE ACCESO
R1 con IPv4
Dual Ping desde PC1 a PC 2 y Dual
stack RED DE ACCESO viceversa stack
con IPv4
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

LABORATORIOS
Propiedad intelectual de Daniel Daz @ 2013

ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

LABORATORIO 01: TNEL MANUAL


Propiedad intelectual de Daniel Daz @ 2013

ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI
PROTOCOLO IPv6

MUCHAS
GRACIAS
Propiedad intelectual de Daniel Daz @ 2013

ddiaz@inictel-uni.edu.pe
INSTITUTO NACIONAL DE INVESTIGACION Y CAPACITACION DE TELECOMUNICACIONES, INICTEL-UNI

Você também pode gostar