ISATAP Tunel IPv6 Tunel (III)

Uno de los mecanismos de transición entre IPv4 e IPv6 es el tunel ISATAP , nos permite utilizar direccionamiento IPv6 sobre enlaces IPv4.

Estableceremos un tunel ISATAP entre dos sedes que solo se comunican por IPv4.
Usaremos el ejemplo:




El tunnel se establece entre direcciones IP que se generan de la siguiente manera


64 primeros bits Link local address (aunque funciona cualquiera)
32 siguientes bits 000:5EFE
32 ultimos bitsIPv4 en HEX

R1
19.19.12.1 podria ser

19 = 13 Hex
12 = 0C Hex
01 = 01 HEX
2002:1:2:3:0:5EFE:1313:0C1C/64


19 = 13 Hex
45 = 2D Hex
05 = 05 HEX
2002:1:2:3:0:5EFE:1313:0C1C/64


R1#sh run int tun 0
Building configuration...

Current configuration : 151 bytes
!
interface Tunnel0
 no ip address
 ipv6 address 2002:1:2:3:0:5EFE:1313:0C01/64
 tunnel source 19.19.12.1
 tunnel mode ipv6ip isatap
end

R5#sh run int tun 0
Building configuration...

Current configuration : 151 bytes
!
interface Tunnel0
 no ip address
 ipv6 address 2002:1:2:3:0:5EFE:1313:2D05/64
 tunnel source 19.19.45.5
 tunnel mode ipv6ip isatap
end

Verificamos
R5#sh int tun 0
Tunnel0 is up, line protocol is up
  Hardware is Tunnel
  MTU 1514 bytes, BW 9 Kbit/sec, DLY 500000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation TUNNEL, loopback not set
  Keepalive not set
  Tunnel source 19.19.45.5, destination UNKNOWN
  Tunnel protocol/transport IPv6 ISATAP


R5#
*Mar  1 02:20:07.515: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to up
R5#ping 2002:1:2:3:0:5EFE:1313:C01

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:1:2:3:0:5EFE:1313:C01, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 72/92/104 ms


R1#ping fec0:15::5

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:15::5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 80/84/92 ms

Aunque sea una interfaz point-to-point desconoce el vecino así que deberíamos utilizar enrutamiento estático

R1(config)#ipv6 route ::/0 2002:1:2:3:0:5EFE:1313:2D05 
R5(config)#ipv6 route ::/0 2002:1:2:3:0:5EFE:1313:0C01

R5#ping 2013::1 source lo0

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2013::1, timeout is 2 seconds:
Packet sent with a source address of 2013::5
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 80/92/104 ms