Enrutamiento con IPv6
En esta entrada voy a configurar el enrutamiento en 2 redes de forma sencilla
Primero tenemos que habilitar el enrutamiento de IPv6 en R1, que es el router común
R1(config)#ipv6 unicast-routing
Si no se ejecuta este comando, recibiremos el siguiente error:
% IPv6 routing not enabled
Configuramos las redes conectadas al Router 1
R1(config-rtr)#area 1 range 2001:A:A:A::0/64 R1(config-rtr)#area 1 range 2001:A:A:D::0/64
Configuramos el router-id. Si no lo hacemos podemos recibir el siguiente error:
*Aug 15 14:01:49.171: %OSPFv3-4-NORTRID: Process OSPFv3-1-IPv6 could not pick a router-id, please configure manually R1(config-rtr)#router-id 1.1.1.1
Asignamos OSPF a los interfaces:
R1(config-if)#ipv6 ospf 1 area 1 *Aug 15 14:18:35.963: %OSPFv3-5-ADJCHG: Process 1, Nbr 3.3.3.3 on FastEthernet1/0 from LOADING to FULL, Loading Done R1(config-if)#exit R1(config)#int F0/0 R1(config-if)#ipv6 ospf 1 area 1 R1(config-if)#ex *Aug 15 14:18:44.783: %OSPFv3-5-ADJCHG: Process 1, Nbr 2.2.2.2 on FastEthernet0/0 from LOADING to FULL, Loading Done R1(config-if)#exit
La configuración de R2 y R3 son identicas a R1, salvo la red que definimos.
En este comando asigno cualquier red, es como crear un default-gateway
R2(config-rtr)#area 1 range 2001:A:A::0/64 R2(config)#interface FastEthernet 0/0 R2(config-if)#ipv6 ospf 1 area 1
============================== Prueba de ping R3#ping ipv6 2001:A:A:A:C802:4FF:FEE8:0 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2001:A:A:A:C802:4FF:FEE8:0, timeout is 2 seconds: !!!!! ============================== R2#ping ipv6 2001:A:A:D::2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2001:A:A:D::2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 32/43/56 ms ============================== R2#traceroute ipv6 2001:A:A:D::2 Type escape sequence to abort. Tracing the route to 2001:A:A:D::2 1 2001:A:A:A:C801:1BFF:FE64:0 36 msec 24 msec 36 msec 2 2001:A:A:B:C803:FFF:FE10:1C 48 msec 52 msec 52 msec
Finalizando, para poner mas claridad en cuanto aldefault gateway, creo un nodo mas, R4 que le asignaré una ruta por defecto. (No me ha funcionado)
Agrego la nueva red y configuro el interface:
R1(config-if)#ipv6 address 2001:A:A:E::1/64 R1(config)#ipv6 router ospf 1 R1(config-rtr)#area 1 range 2001:A:A:E::0/64
y ahora en R4, configuro OSPF, agrego interface y configuro default gateway
R4(config)#ipv6 router ospf 1 R4(config-rtr)# *Aug 15 14:51:58.383: %OSPFv3-4-NORTRID: Process OSPFv3-1-IPv6 could not pick a router-id, please configure manually R4(config-rtr)#area 1 range 2001:A:A:E::0/64 R4(config-rtr)#rou R4(config-rtr)#router-id 4.4.4.4
R4(config-if)#ipv6 address 2001:A:A:E::2/64 R4(config-if)#no shutdown R4(config-if)#exit *Aug 15 14:34:39.583: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up *Aug 15 14:34:40.583: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up R4(config)#ipv6 route ::/0 FastEthernet 0/0
R4#traceroute ipv6 2001:A:A:A:C802:4FF:FEE8:0 Type escape sequence to abort. Tracing the route to 2001:A:A:A:C802:4FF:FEE8:0 1 * * * 2 * * * 3 * * * 4 *
Fuente configurar IPv6: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/release/12-2_55_se/configuration/guide/scg3750/swipv6.pdf
Fuente solución error IPv6:
AUTOR: David Perez Martorell davidperezmartorell@gmail.com
—
Nota: Si te sirvió lo que postié, te pido 2 segundos para contestar las encuestas que figuran abajo.
Gracias!